2008 Jun 19 9:17 AM
Hi all,
Does anyone knows how to call / make a NACE-Message from an ABAP Program?
Is there a possibility to call a functionmodul with the needed basic informations (doc. number, sales-org etc.) which will start the NACE Message Procedure?
Reason:
We have make IDOCs for order confirmation, delivery and billing - and make the NACE ALE/EDI Messages.
But we have the problem that we are using Z-Reports for Mass-Printing the documents. So we have no active NACE Messages for printing and we want to send the IDOCs at the moment when we print out the docs.
It's not possible, to change the business procedures and/or using SAP standard mass print prg. because this is too complicated (we think at the moment).
Regards,
Daniel
2008 Jun 19 9:19 AM
Hi,
Use this function module.
CHECK xscreen = space.
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.
Regards,
Nisrin.
2008 Jun 19 9:39 AM
Hi Nisrin,
Very helpfull - Many Thanks - the fb looks great.
Regards.