on 04-15-2008 2:45 PM
I have a requirement like .. when the post goods issued is cancelled (VL09) AN idoc will be generated
What are the Standard application ,output type, process code
to be provided in WE20 ?
Also please mention the basic type and extension ?
Thanks
Joy
Hi,
There is nothing standard IDOC functionality available for PGI Cancellation (VL09). You can do following steps.
1. Whenerver you do a PGI cancellation it hit user exit MV50AFZ1 (USEREXIT_SAVE_DOCUMENT).
PGI reversal status is as follows.
yvbup-wbsta = C AND xvbup-wbsta = A.
When the condition is satisfied call function module IDOC_OUTPUT_DELVRY.
OBJECT-OBJKY = Delivery No. (e.g. 0080013018).
CONTROL_RECORD_IN-MESTYP = DESADV
CONTROL_RECORD_IN-IDOCTP = DELVRY03
It will return all the segments populated in table INT_EDIDD.
Call the function module MASTER_IDOC_DISTRIBUTE and pass the control data and the INT_EDIDD. It will create a IDOC with this.
Thanks,
Mandar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
89 | |
8 | |
7 | |
4 | |
4 | |
3 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.