02-14-2007 12:49 PM
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 doesnt work.
Using the parameter NDR like
(DATA l_ndr TYPE c VALUE X.)
SET PARAMETER ID 'NDR' FIELD l_ndr.
before calling BAPI doesnt 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.
12-16-2011 3:24 AM
You may check SAP note 520813
12. Question:
What do I have to keep in mind if I want to trigger the print output of a goods receipt or goods issue document when I execute the BAPI?
Answer:
You must make sure that a user name is transferred in the PR_UNAME field in the header structure. This user is used for determining the print parameters. You must set the value 'X' for the 'NDR' parameter ID for this user. Make sure that all customizing-related settings have been made for this user.
The GOODSMVT_CODE import parameter is relevant for the print version. The transaction code is derived from this code (see table T158G, for example, code 04 stands for MB1B). The BAPI uses the print version that is assigned to this transaction for the goods receipt/goods issue document. This is customized in transaction OMBR. Check your Customizing and make sure that you have assigned a print version to this transaction and that a conditional output record exists.
05-22-2007 4:42 PM
Did you solved this?
I´m having the same problem...could you help me?
thanks
Seba
06-19-2007 3:01 AM
Dear all,
Anyone have solution for this?
Any help will rewarded
Thanks
06-20-2007 4:06 AM
07-31-2007 12:28 PM
I'm working on the same issue and thats what I see in the help :
<i>
You cannot set the indicator manually for movements that are posted from other applications. This means that in this case you have to set the indicator through the user parameter NDR.</i>
Any idea?
09-27-2011 10:36 AM
Hi, Cenk,
It's an older issue, still did not solve it. We are using summary slips. Setting parameter NDR in SU01 (user master record) helps and the message is created (when values VER_GR_GI_SLIP, VER_GR_GI_SLIPX are set), but we are not able to get immediate printing of documents.
The thing is that BAPI is called from an Portal (webdynpro) application and I believe that external applications can't provide immediate printing of those messages. Am I right?
Any help is appreciated
12-16-2011 3:24 AM
You may check SAP note 520813
12. Question:
What do I have to keep in mind if I want to trigger the print output of a goods receipt or goods issue document when I execute the BAPI?
Answer:
You must make sure that a user name is transferred in the PR_UNAME field in the header structure. This user is used for determining the print parameters. You must set the value 'X' for the 'NDR' parameter ID for this user. Make sure that all customizing-related settings have been made for this user.
The GOODSMVT_CODE import parameter is relevant for the print version. The transaction code is derived from this code (see table T158G, for example, code 04 stands for MB1B). The BAPI uses the print version that is assigned to this transaction for the goods receipt/goods issue document. This is customized in transaction OMBR. Check your Customizing and make sure that you have assigned a print version to this transaction and that a conditional output record exists.
03-31-2014 11:38 AM
My Requirement is that i do not want to Print the Slip
how do i disable it
I am Getting the print pop up to print the slip after the BAPI