‎2006 Jan 20 8:47 AM
Hi All,
I have extended the batmas02 basic type. Does anyone know of an exit I can use to populate the extended segment?
Regards,
James.
‎2006 Jan 20 9:10 AM
Hi,
Why don't you copy fm IDOC_INPUT_BATMAS to Z*FM and adapt it to your needs ?
Then use the new FM to handle the idoc!
cheerz;
‎2006 Jan 20 9:10 AM
Hi,
Why don't you copy fm IDOC_INPUT_BATMAS to Z*FM and adapt it to your needs ?
Then use the new FM to handle the idoc!
cheerz;
‎2006 Jan 20 9:27 AM
Thanks Stephan, I should have specified that this is an outbound, created from change pointers. If I can avoid it, i don't want to have to copy and modify MASTERIDOC_CREATE_SMD_BATMAS.
‎2006 Jan 20 10:16 AM
James,
In all cases this has to be done on both sides doesn't it ?
cheerz
‎2006 Jan 20 10:18 AM
Thanks Stephan,
I am very surprised that there is no exit.
Rgds,
James.
‎2006 Jan 20 10:22 AM
James,
The place I work here does the same! They copy the standard and then they modify it according to their needs!
There is maybe an exit but I can't find it and nobody here have heard about exits!
I told you this has to be done on both sides because If you send data, the 'person' that receive it have to handle it...
thx for the reward!
cheerz
‎2006 Jan 20 10:58 AM
Thanks Stephan. I'll have a quick search for an exit in the BAPI BAPI_BATCH_SAVE_REPLICA which is used to generate the IDOC. I'll let you know what my outcome is.
‎2006 Jan 20 10:05 AM
I went through the program and there is no exit to populate the additinal segments. So I guess u will have to copy the FM and make changes in following perfom in the FM MASTERIDOC_CREATE_SMD_BATMAS, the path is as follows...
MASTERIDOC_CREATE_SMD_BATMAS->BAPI_BATCH_REPLICATE>ALE_BATCH_SAVE_REPLICA->IDOC_BATCH_SAVE_REPLICA
Hope this helps.
‎2006 Jan 20 11:00 AM