2005 Jan 26 1:25 PM
Hi everyone,
I'm using the BAPI_GOODSMVT_CREATE, but I need to print the document that is generated after an entry is done. In the mb01 transaction there is a flag (in the GR/GI Slip Window) that I can check to print the document with different options Individual Slip, Indiv.Slip w.Inspect.Text and Collective Slip.
How can I print the document using the BAPI_GOODSMVT_CREATE?? What fields should I use?? Many Thanks!
Message was edited by: Felipe Contreras
2005 Jan 26 2:10 PM
If you look at the help for the Print checkbox in MB01, you will see the following sentence:
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.
Maybe you need to set the parameter ID before you call the BAPI.
SET PARAMETER ID 'NDR' FIELD checked.
Where checked ='X'.
Brian
If you look at the help for the Print checkbox in MB01, you will see the following sentence:
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.
Maybe you need to set the parameter ID before you call the BAPI.
SET PARAMETER ID 'NDR' FIELD checked.
Where checked ='X'.
Brian
2005 Jan 26 1:56 PM
You need to have output determination configured for the movement types. Does the document print if you manually run MB01 with the same values?
Brian
2005 Jan 26 1:57 PM
Yes Brian, it prints when I run manually MB01 with the same values.
Felipe
2005 Jan 26 2:10 PM
If you look at the help for the Print checkbox in MB01, you will see the following sentence:
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.
Maybe you need to set the parameter ID before you call the BAPI.
SET PARAMETER ID 'NDR' FIELD checked.
Where checked ='X'.
Brian
2005 Jan 26 2:31 PM
2005 Jan 26 4:55 PM
Hi Felipe,
If you look at the header structure of the BAPI BAPI2017_GM_HEAD_01, there is a field VER_GR_GI_SLIP. This field will take the values as follows
1 Individual Slip
2 Indiv.slip w.inspect.text
3 Collective Slip
Do the following.
1. Fill in this field with the appropriate value.
2. Fill in the VER_GR_GI_SLIPX with a 'X' value.
3. Then you will need to set the user parameter as
mentioned by Brian.
Please let me know if it works. If it helps, please reward and close the issue.
Regards,
Srinivas
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |