on 02-01-2009 5:30 AM
Hi,
Am having 1 idoc in sender side SHPMNT05 and 2 idocs in receiver side DELVRY05 and VEHCLE01.
My requirement is to send data to DELVRY05 only when one field in SHPMNT05 is having space in it
and to VEHCLE01 only if having Vehicle no in that particular field.
And to populate DELVRY05,
Need to call a FM with Delivery no and del item details.
Function module has to determine based on the FS scenarios, whether to change the delivery, split the delivery (Create new delivery) based on the reason code.
Take the return values from RFC function module and populate DELVRY05 idoc.
Using conditional operator on that particular field we can map it to root nodes of the idocs and do mapping, i think.
But How can i call a func module for populatng del05.
Help me firends.
Thanks,
Ravi.
You may perform RFC lookup in your mapping to call the function module. Make sure that your function module is remote enabled.
Regards,
Prateek
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.