2011 Mar 21 8:00 AM
Hi,
I want to call the standard SAP program from Zprogram to create invoice using Submit. here the code
SUBMIT RV60SBT1 TO SAP-SPOOL
SPOOL PARAMETERS print_parameters
WITHOUT SPOOL DYNPRO
VIA JOB name NUMBER number
WITH VKOR1 eq TVKO-VKORG
with X_VBELN eq gv_vbeln_so
with ALLEA eq 'X'
with ALLEL eq ''
AND RETURN.the standard SAP program creates invoice (billing document number). I want to get the billing document number which created using the above statement into the calling program. ......could anyone pls tell me how to do this? ie how to read the billing document number in the calling program.
Regrds
shan
Edited by: Shankar Raju Devadoss on Mar 21, 2011 9:00 AM
2011 Mar 21 8:18 AM
Do some research on FMs LIST_FROM_MEMORY and LIST_TO_ASCI.
2011 Mar 21 8:18 AM
2011 Mar 21 9:15 AM
>
> Do some research on FMs LIST_FROM_MEMORY and LIST_TO_ASCI.
I would suggest you better do the research ...
2011 Mar 21 8:19 AM
Try "GET PARAMETER" with the parameter of invoice
Regards
Andrea
2011 Mar 21 8:59 AM
Hi Shankar,
You can try it in both ways.
1. By using the parameter ID VF. (GET PARAMETE ID)
2. Select the invoice numbers from the table VBRK for the current date (SY-DATUM) and
sort it by time and get the latest invoice.
Regards
Hareesh Menon
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |