on 06-14-2010 1:00 PM
Hi experts
in a Smartform-printreport (like RLE_DELNOTE) I have to check if any KSCHL (ex. ZLMA or ZLMW) is also in the NAST.
this is no problem using:
DATA: lt_nast TYPE TABLE OF nast.
DATA: ls_nast LIKE LINE OF lt_nast.
IF nast-kschl EQ 'ZLAK'.
SELECT *
FROM nast
INTO CORRESPONDING FIELDS OF TABLE lt_nast
WHERE kappl EQ nast-kappl
AND objky EQ nast-objky
AND ( kschl EQ 'ZLMA' OR kschl EQ 'ZLMW' ).
ENDIF.
BUT
on creaton of the delivery-note a output type (ZLAK) is generated with NAST-VSZTP 4 (Send immediately).
on this time the NAST isn't already committed and the abap-coding fails
where can I get the NAST ?
regards
Mark
Edited by: Mark Krähenbühl on Jun 14, 2010 2:20 PM
Hello Mark,
Is there any reason why the timing in NAST-VSZTP has to be sent immediately (4 ) ? Is it possible to change the condition records for the output type so that the timing is changed to be processed by background job ( RSNAST00 for V2 and the o/p type(s) ) . I had a similar situation and as the data is not committed in NAST , I tested with changed timings and advised the functional team to change timing for the o/p type config.
Thanks
Vikas
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.