02-08-2008 3:10 AM
Hi,
I just want to know what the FM NAST_PROTOCOL_UPDATE does and when should I use it.
Points will be rewarded.
Thanks.
02-08-2008 3:45 AM
Hi
Hope this will help you.
Pls reward if help.
This Function modules are generally used in the Print programs(or the driver programs) that are attached to a Output type in a transaction.
So, in that Print program, If you have written it,use this FM by passing the values of the messages (Msd id's etc) to this FM. This will update the log for that Output.
But I don't know if you can chage it from outside that driver program.
This is a sample usage of the FM
CALL FUNCTION 'NAST_PROTOCOL_UPDATE'
EXPORTING
MSG_ARBGB = SY-MSGID
MSG_NR = SY-MSGNO
MSG_TY = SY-MSGTY
MSG_V1 = SY-MSGV1
MSG_V2 = SY-MSGV2
MSG_V3 = SY-MSGV3
MSG_V4 = SY-MSGV4
EXCEPTIONS
OTHERS = 1.
One thing you can do, is create a new driver program and output type for the IDoc and pass the forced messages to the FM.
02-08-2008 3:45 AM
Hi
Hope this will help you.
Pls reward if help.
This Function modules are generally used in the Print programs(or the driver programs) that are attached to a Output type in a transaction.
So, in that Print program, If you have written it,use this FM by passing the values of the messages (Msd id's etc) to this FM. This will update the log for that Output.
But I don't know if you can chage it from outside that driver program.
This is a sample usage of the FM
CALL FUNCTION 'NAST_PROTOCOL_UPDATE'
EXPORTING
MSG_ARBGB = SY-MSGID
MSG_NR = SY-MSGNO
MSG_TY = SY-MSGTY
MSG_V1 = SY-MSGV1
MSG_V2 = SY-MSGV2
MSG_V3 = SY-MSGV3
MSG_V4 = SY-MSGV4
EXCEPTIONS
OTHERS = 1.
One thing you can do, is create a new driver program and output type for the IDoc and pass the forced messages to the FM.
02-08-2008 5:07 AM
Hi,
Thanks.
Additional question. Can't I use the ordinary 'MESSAGE e000 WITH TEXT' statement in a print program? Points will be awarded after this.