"RAW text is a machine readable form of characters or string of characters that is before being process by any analytical software, in this case our very own SAP"
SPRO->IMG->TO CONFIG TEXT ID
"RAW text is a machine readable form of characters or string of characters that is before being process by any analytical software, in this case our very own SAP"
SPRO->IMG->TO CONFIG TEXT ID
MANDT (this is to tell which data belongingto which client)KEY FIELD 1 - CHECK TABLE (it can be your required field)KEY FIELD 2 - CHECK TABLE (it can be your required field)...KEY FIELD nnon key field 1 - CHECK TABLE (it can be your required field)non key field 2 - CHECK TABLE (it can be your required field)...non key field nCHECKBOX 1 (optional)...CHECKBOX nCREATED ONCREATED ATCREATED BYCHANGED ONCHANGED ATCHANGED BY
Program : SAPLKKBL
Status : STANDARD*
"When user create an invoice via VF01 or from a customized IDOC that creates invoice, several output types are created and one of them is an outbound IDOC that will send back to the sender to let them know invoice has been created. Now, after the invoice and IDOC has been sent out, there should be a mechanism to check whether the outbound IDOC is successfully send out. If it is successfully sent out, the mechanism will grab that invoice, convert it to PDF, attach it to an email and send it to responsible recipients..."
I went ahead to ST05 to get down all the USER EXITS and BADI from VF01 so I see which of them are more suitable to initiate this process. Doing so, I'd found one, it was XXXX. At this point, my imagination went beyond. Somehow, it is sometimes bad to venture too far from my own imagination. Because the next step I wanted to know how do I check the outbound IDOC's status from this USER EXIT XXX. It was simple, I used transparent table NAST and EDIDC to check the outbound IDOC's status. If its status are 03, 30 and XX, then it should go ahead to process the invoice convertion and IDOC send out. For the time being I'd solved 2 major problems.Next, I need to get the latest invoice to do conversion. Unfortunately, with the current USER EXIT, I might not be able to get that SPOOL ID because it has not been created yet. VF01 has to be finished first. This pose another problem, how do I let VF01 finish off so I can get the SPOOL ID? After an overnight sleep, I decided that creating another RFC function module in the USER EXIT will do the trick. An RFC that executes with a new process created in the background. Thus, with this RFC initated as a new process run and letting the VF01 to finish processing, I can get the SPOOL ID.
is sky the limit.... print, converting and sending...
Note : RPCTEAL0 is the original version given by SAP. RPCTEAL0_01 in this context is the new version given to the customer by SAP after a report was make to correct a certain mistake in the past.
IMPORTANT: You will need to open up your SAPScript EC Form to see what fields are displaying your value as you do your enhancement.
Step 2: Click create to get into the schema attributes. (Note : Choose country grouping accordingly to which payroll is being used. E.g. 14 is for Malaysia because this example is using Malaysian payroll).
Step 3: Choose program class either payroll or time management.
Figure 1.3 : Program class selection
Step 4 : Save and exit. (Note : For the time being we go to PE04 to create functions before we come back to link both of them up)
- PE04 - Maintain Functions and Directories
PE04 allows you to create functions/operations for either payroll or time management. This functions will be saved and enabled in the following program and link to the schema directory above. Thus completing your setting up of additional schemas to your payroll program.
Steps to create function(s) in schema functions
Step 1: create a new name e.g. zsub1.
Figure 2.0 : Create a function
Step 2: Click create to go into characteristics of function payroll. Provide description and country assignment should be according to which country payroll are being run by the client.
Figure 2.1 : Choosing country assignment and description.
Step 3 : Click Save. (Note : Ensure your country assignment is selected correctly.)
- PCBURZMY0
After performing the above steps, you can start to insert functions into include program (PCBURZMY0) of main program (RPCALCL0). Additional functions of payroll schema/driver are added to PCBURZMY0. RPCALCL0 will go through each of the functions in PCBURZMY0 when payroll administrator runs payroll.
is sky the limit... payroll driver... how-to