on 09-17-2008 7:40 PM
I am trying to process each entry in NAST individualy by using RSNAST00 in a select-loop and giving a different Suffix to each one (In order to have a better connection between NAST and TSP01).
When I run RSNAST00 through se38 with the parameters that I need, I have no porblem.
But when I run the following through my program, with the same parameters, ZSSA0001 (the print program) gets terminated because it can't find function CUD0_GET_CONFIGURATION.
Here's the RSNAST00 related portion of my code:
SELECT OBJKY
MANUE
FROM NAST
INTO CORRESPONDING FIELDS OF WA_SPOOL
WHERE KSCHL = 'BA00'
AND KAPPL = 'V1'
AND ERDAT = SY-DATUM
AND VSTAT = '0'.
SUBMIT RSNAST00
WITH S_OBJKY-LOW = WA_SPOOL-OBJKY
WITH P_SUFF2 = WA_SPOOL-OBJKY
WITH S_NACHA-LOW = '1'
AND RETURN.
SELECT SINGLE RQIDENT
FROM TSP01
INTO WA_SPOOL-RQIDENT
WHERE RQ2NAME = WA_SPOOL-OBJKY.
APPEND WA_SPOOL TO GT_SPOOL.
ENDSELECT.
You should not submit in the SELECT ... ENDSELECT
Fill the Select-options from the SELECT and than use in submitting the report.
Regards,
Naimesh Patel
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
could't just input a value into a select option. needed sign and option. Also needed to loop instead of select loop
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.