Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

BAPI_GOODSMVT_CREATE: printing GR/GI slip

Hi everyone,

I need to print the GR/GI slip using BAPI_GOODSMVT_CREATE.

There are two fields in header structure (GOODSMVT_HEADER) to fill:

VER_GR_GI_SLIP

VER_GR_GI_SLIPX

I have filled the first one for example. with ‚1’ (for ‚individual slip’) and set ‚X’ on the second one but it doesn’t work.

Using the parameter NDR like

     (DATA l_ndr TYPE c VALUE ’X’.)
     SET PARAMETER ID 'NDR' FIELD l_ndr.

before calling BAPI doesn’t work either.

When I set the parameter-id using transaction ‚su01’ (user maintenance) the BAPI prints permanently regardless of wihich fields are filled or not filled. I need the printing only if it is required.

Any ideas? Thank you.

Regards,

Kai

P.S.: If it is necessary to know: The print flag by transaction 'mb01' works correct.

Tags:
Former Member
Not what you were looking for? View more on this topic or Ask a question