12-18-2013 1:30 PM
Hi All,
1 ) we have inbound shipment creation idocs coming into ECC from external system. We need to modify certain segment data in the inbound idoc before the idoc creates the shipment in ECC. message type= SHPMT, basic type=SHPMNT05 and inbound FM =IDOC_INPUT_SHPMNT
Which exits and BAD's can we consider.
2) similarly we have inbound shipment change idoc coming and we need to modify the segment data before idoc is posted and changes the shipment document. which exits etc to use ? same mesage type/FM/Basic type is used as in point 1
regards
Pamela
12-18-2013 2:29 PM
Near the top of IDOC_INPUT_SHPMNT I see the call for EXIT_SAPLV55K_020, but it seems in the wrong place in the code to me.
In IDOC_INPUT_SHPMNT, look for FIND->In main program "CALL CUSTOMER-FUNCTION". I see a lot of them.
Neal
12-18-2013 2:31 PM
12-18-2013 2:45 PM
Hi Neal
Why in the wrong place..? I think he can use EXIT_SAPLV55K_020 as its documentation clearly say"IDoc SHPMNT: Modification Control/Data Before Processing" or
can also use ENHANCEMENT-POINT IDOC_INPUT_SHPMNT_G1 SPOTS ES_SAPLV55K.
Nabheet
12-19-2013 3:47 AM
I guess I was thinking about the Idoc that I had to build. I structured it so that it started with data reads, then data validation, and finally data writes. If they had done it that way, I would have wanted the exit later.
I probably should have read their FM more thoroughly.
Neal
12-19-2013 6:15 AM
Hi Neal,
Could you please show me the way to get the above list of exits and business ADD-ins??
12-19-2013 5:59 AM
Hi,
Before actual shipment process, FM will have the exit CALL CUSTOMER-FUNCTION '021'.
you can check this also.