2006 Apr 25 6:26 PM
Hi, i'm working with tx vl02n, and it uses YDELV_NOTE program to print delivery notes (the smartform is YDEL_NOTE), it works perfect and it updates NAST table, now, when I try to print the same delivery note, with an Y (Y_REPRINT_DNOTE) program calling YDELV_NOTE to print the samrtform, delivery note is printed perfect but it does not update NAST table.
What am I doing wrong?
Hi, i'm working with tx vl02n, and it uses YDELV_NOTE program to print delivery notes (the smartform is YDEL_NOTE), it works perfect and it updates NAST table, now, when I try to print the same delivery note, with an Y (Y_REPRINT_DNOTE) program calling YDELV_NOTE to print the samrtform, delivery note is printed perfect but it does not update NAST table.
What am I doing wrong?
2006 Apr 25 6:30 PM
Hi,
You need to update the program to update this in the NAST.Just debug & find out where the program is updating the NAST table & make the changes.
2006 Apr 25 6:32 PM
I use call function 'NAST_PROTOCOL_UPDATE', but it does not work. Maybe am I using it wrong?
2006 Apr 25 6:34 PM
I would expect NAST_PROTOCOL_UPDATE to work, can you post the code / error that you are getting.
Regards,
Ravi
2006 Apr 25 6:39 PM
I se the code:
call function 'NAST_PROTOCOL_UPDATE'
EXPORTING
msg_arbgb = syst-msgid
msg_nr = syst-msgno
msg_ty = syst-msgty
msg_v1 = syst-msgv1
msg_v2 = syst-msgv2
msg_v3 = syst-msgv3
msg_v4 = syst-msgv4
EXCEPTIONS
others = 1.
when the function finished I get SY-SUBRC = 0, so, I have no errors and no NAST update....
2006 Apr 25 6:44 PM
I guess this is a part of the standard message processing code.
Regards,
Ravi
2006 Apr 25 6:48 PM
Nast_protocol_update would log the messages that are encountered in the flow of the print program and it will not update the nast table.
If you use the nast_protocol_update fm anywhere, you can find the log of messages as we see them when we press the error log button in the output type screen application toolbar.
Regards,
Ravi
2006 Apr 25 6:48 PM
Hi Silvia,
Please use this FM to update NAST.
<b>RV_MESSAGE_UPDATE_SINGLE</b>
FM NAST_PROTOCOL_UPDATE is used to store processing log.
Hope this will help.
Regards,
Ferry Lianto
2006 Apr 26 2:42 PM
I used the functions, but they don't insert a record on NAST table....I need more help with this problem.
Any ideas?
Thanks!
2006 Apr 26 9:01 PM
2006 Apr 26 10:06 PM
Hi Silvia,
Did you populate the parameter correctly for FM RV_MESSAGE_UPDATE_SINGLE?
This should work.
Regards,
Ferry Lianto
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |