on 07-13-2006 4:24 AM
Hi,
Commonly I check "Inbound Delivery" via T-code: VL33N, and follow the menu "Goto --> header --> administration", then check its corresponding "Outbound Delivery" number in the field "External ID". but I found sometimes the content in the field "External ID" is Not "Outbond Delivery" number, then, what's it?
another question is, what's the correct way to find corresponding "outbound delivery" number in an "Inbound Delivery" via T-code: vl33n?
Best Regards.
Hi Ren,
External ID is an ID that the vendor uses to track a delivery.
In my company, we populate this field with an outbound delivery number during the creation of an inbound delivery for all inter-plant stock transfers, covering all deliveries from DC to the branch (stock orders, IB orders and emergency orders) and also returns/RMA from branch to DC.
We use message type DESADV and IDoc type DELVRY03 to create inbound delivery. Then in user exits EXIT_SAPLV55K_011, we populate the external ID field with outbound delivery number.
TABLES: EKKO,
EKPO.
DATA: L_PARTNER LIKE EDIDC-RCVPRN,
L_E1EDL41 LIKE E1EDL41,
L_KOMDLGN LIKE KOMDLGN,
L_TABIX LIKE SY-TABIX.
CLEAR L_PARTNER.
CONCATENATE SY-SYSID 'CLNT' SY-MANDT INTO L_PARTNER.
IF IDOC_CONTROL-MESTYP = 'DESADV'
AND IDOC_CONTROL-RCVPRN = L_PARTNER
AND IDOC_CONTROL-SNDPRN = L_PARTNER
AND IDOC_CONTROL-MESCOD = 'ASN'.
IF IDOC_SEGMENT-SEGNAM = 'E1EDL41'.
CLEAR L_E1EDL41.
MOVE IDOC_SEGMENT-SDATA TO L_E1EDL41.
CLEAR L_KOMDLGN.
READ TABLE DELIVERY_COM INTO L_KOMDLGN
WITH KEY RFPOS = L_E1EDL41-POSEX.
IF SY-SUBRC = 0.
L_TABIX = SY-TABIX.
CLEAR EKPO.
SELECT SINGLE BEDNR
INTO EKPO-BEDNR
FROM EKPO
WHERE EBELN = L_E1EDL41-BSTNR
AND EBELP = L_E1EDL41-POSEX.
IF SY-SUBRC = 0.
L_KOMDLGN-VERUR = EKPO-BEDNR.
ELSE.
L_KOMDLGN-VERUR = SPACE.
ENDIF.
MODIFY DELIVERY_COM INDEX L_TABIX FROM L_KOMDLGN.
ENDIF.
ENDIF.
ENDIF.
Hope this will help.
Regards,
Ferry Lianto
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi, Ferry Lianto,
Thank you very much for your advice. My SAP situations: the purchase order was issued from one plant to another internal plant, the inbound delivery was triggered and created by outbound delivery via ALE, do you have any advice to check how the "external ID" is created?
Best Regards.
Hi ren,
You should choose the tab "External delivery number of Vendor" .
If u find it ok. Reward and close.
Thanks,
Shiva
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
91 | |
8 | |
7 | |
4 | |
4 | |
3 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.