Skip to Content
author's profile photo Former Member
Former Member

Message Log for output type in Delivery header

Hi guys, it's my first time posting and I need your help.

I've configured an output type in Delivery Header with the processing program creating a Billing Document using BAPI BAPI_BILLINGDOC_CREATEMULTIPLE (with in background task addition). It's working fine during our tests. My analyst, however, wanted it to have some kind of message log so that the user can see if the Billing Documet is created successfully or not.

Can you guys give some suggestions on what kind of message log can be used in here? Any suggestions will be welcome! Thanks a lot!

Jenny

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Best Answer
    Posted on Aug 27, 2013 at 09:10 AM

    Hi Jenny,

    if you use the output type (menu extras --> Delivery Output --> header) you could use the log of this part. The informations are stored in the CMFP table.

    to update this log use the function module :

    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

    Fred

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.