Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

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:

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.

Former Member

Helpful Answer

by
Not what you were looking for? View more on this topic or Ask a question