Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Exits for modifying inbound shipment idocs

Former Member
0 Kudos

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

6 REPLIES 6

Former Member
0 Kudos

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

0 Kudos

Find exit of the FG program shows:

Neal

0 Kudos

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

0 Kudos

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

0 Kudos

Hi Neal,

Could you please show me the way to get the above list of exits and business ADD-ins??

Former Member
0 Kudos

Hi,

Before actual shipment process, FM will have the exit   CALL CUSTOMER-FUNCTION '021'.

you can check this also.