Cannot submit RSNAST00
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:
INTO CORRESPONDING FIELDS OF WA_SPOOL
WHERE KSCHL = 'BA00'
AND KAPPL = 'V1'
AND ERDAT = SY-DATUM
AND VSTAT = '0'.
WITH S_OBJKY-LOW = WA_SPOOL-OBJKY
WITH P_SUFF2 = WA_SPOOL-OBJKY
WITH S_NACHA-LOW = '1'
SELECT SINGLE RQIDENT
WHERE RQ2NAME = WA_SPOOL-OBJKY.
APPEND WA_SPOOL TO GT_SPOOL.