Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

call / make a NACE-Message from an ABAP Program

Former Member
0 Kudos
451

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

2 REPLIES 2

Former Member
0 Kudos
168

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.

0 Kudos
168

Hi Nisrin,

Very helpfull - Many Thanks - the fb looks great.

Regards.