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

Using BAPI_LIKP_PROCESS_MSG_DIRECT

Dear All,

I am trying to use BAPI_LIKP_PROCESS_MSG_DIRECT to print a delivery order immediately.

I have set the following fields:

. output device to my printer CNP1

. delivery number to the DO to be printed 1014000433

. Trans_medium set to 1 and output type set to ZLF6

. Sortmessage is set to 1

. Processing is set to 1

I tested the above parameters using test run in SE37 but got no print out. The field of concern is the 'Processing' field - what value must I set to get the DO to print immediately?

Or did I miss out some other fields?

Best Regards,

Junwen

Message was edited by: Junwen Huang

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Nov 22, 2004 at 01:58 PM

    The message you want to print must be generated and mustn't be printed before.

    Check in transaction VL03N if there exists a message of output type ZLF6 that has not been processed before.

    Menu: Extras - Delivery Output - Header

    Another possible reason for your problem:

    call BAPI_TRANSACTION_COMMIT after calling BAPI_LIKP_PROCESS_MSG_DIRECT

    Regards

    Volker

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      I think BAPI will not generate a printout. The generation of a printout must be customized (Sales and Distribution

      - Basic Functions - Output Control) and Output Condition Record must be created (Transaction VV21).

      If you have done this, an output record will be generated if a delivery order is generated.

      BAPI_LIKP_PROCESS_MSG_DIRECT can process this output record that means it starts the printout. Printout can also be started by Transaction VL71.

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.