2006 Dec 12 11:29 PM
i have to do an inbound idoc. first i need to retrieve data from one function module and use the data of that FM into another function module.
so there is a Z function module which has information of both the function module.
i am using the following idoc type
MBGMCR02.
i need to add some more zsegment into it of the other function module the function moduke is WS_DELIVERY_UPDATE 2.
kindly guide please.
i have to do an inbound idoc. first i need to retrieve data from one function module and use the data of that FM into another function module.
so there is a Z function module which has information of both the function module.
i am using the following idoc type
MBGMCR02.
i need to add some more zsegment into it of the other function module the function moduke is WS_DELIVERY_UPDATE 2.
kindly guide please.
2006 Dec 13 7:29 AM
Hi Kamlesh,
In we30 you have to create a new Extension idoc type and add the segments. and then from the menu release the idoc type.
Create a new message type ZMBGMCR using we81 or we82.
Create a new Function module to cater to your requirement.
Create a new inbound Process code through WE42 or we41 and attach this function module to the process code.
Link the idoc type, message type and function module through WE57 or BD57
Set the partner profile We20 for the new message type and idoc type and also set the message control tab
Set the port through we20. and give this port in the we21 partner profile.
Create a Customer distribution model BD64 and give the sendor and receiver and from the menu distribute the partner profiles.
Use We19 tcode to test the inbound idoc.
Use we02 or we05 to view the status of the idoc.
The tables for idoc are
EDIDC - control record
EDID4 - Data record
EDIDS - Status record
Some transactions are
SCC4
We20
We21
BD64
we81
we82
bd87
we19
wedi
we02
Hope this helps
Regards
Arun
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |