UserExit for Inbound Delivery Confirmation
Hi All,
We are getting inbound IDOC GSVERF02 (Message Type: DELCON) to post DeliveryConfirmations.
I need to add update 2 fields to this IDOC before posting DeliveryConfirmations. Can any one tell which user exit should I use???
Thanks
Hi Pavan,
I am sorry, but I don't have access to a ECC5 version system. Also, looks like your is a industry specific(Automotive industry) solution(based on the link you posted).
But here is what I can guess. In the versions I know of, SAP almost always has user exits in these processing function modules. Look at the code of this function module IDOC_INPUT_DELCON and somewhere within there, may be a user exit that you can use.
Best of luck,
Srinivas
Similar Messages
-
IDoc type "DELVRY03" for INBOUND delivery confirmation and Outbound Deliver
Hi ,
We have a requirement where we have to send Inbound delivery confirmation as well as outbound delivery notification to our same customer. (3PL case)
We have a EDI partner who is receiving our messages and transforming them before sending it to customer.
Now my problem is , since I am using same idoc type (DELVRY03) for both cases therefore wondering how my EDI partner will differentiate whether received message is a INBOUND delivery confirmation or OUTBound delivery notification.
regards
ShreyThx for your reply ...
Wondering about the impacts , if I create a new message type like ZDESADV and attach it to DELVRY03.
In this i could have two message types DESADV and ZDESADV.
Will it impact anywhere ?
Regards
Shrey -
Transfer Order for Inbound delivery with multiple line items...
Hi All,
<The flow of my report pgm is >
PO creation using Transaction - me21n
My report pick the PO created as per date given in selection screen-
Creates outbound Deliveries using BAPI_OUTB_DELIVERY_CREATE_STO
Create Transfer order FM L_TO_CREATE_DN
Confirm Transfer order FM L_TO_CONFIRM
GI is done - Inbound delivery is created
Create Transfer order FM L_TO_CREATE_DN for Inbound delivery
Confirm Transfer order FM L_TO_CONFIRM
Goods receipt.
If PO is having one item - the entire flow is working perfectly.
if my PO is having multiple items,
While creating TO for inbound deliveeies - i am facing the error.
Before calling FM,
I am assigining these values like
wa_delit-nlpla = wa_ltap_vb-vlpla. "Source Storage Bin To Destination Bin
wa_delit-nltyp = wa_ltap_vb-vltyp. "Source Storage Type To Destination Storage type
wa_delit-anfme = wa_ltap_vb-nsolm. "Actual destination quantity
wa_delit-letyp = wa_ltap_vb-letyp. "Storage Unit Type
wa_delit-altme = wa_ltap_vb-meins. "Unit of measure
LOOP AT i_lips INTO wa_lips WHERE vbeln = WA_VBFA-IN_DELIV.
wa_delit-posnr = wa_lips-posnr.
APPEND wa_delit TO it_delit.
ENDLOOP.
As i am appending i am getting 2 line items in the tabke it_delit.
Function module :
CALL FUNCTION 'L_TO_CREATE_DN'
EXPORTING
i_lgnum = l_lgnum
i_vbeln = wa_vbfa-in_deliv
i_commit_work = 'X'
i_bname = sy-uname
it_delit = it_delit
IMPORTING
e_tanum = gv_tonum_1
TABLES
t_ltap_vb = i_ltap_vb_1
EXCEPTIONS
foreign_lock = 1
dn_completed = 2
partial_delivery_forbidden = 3
xfeld_wrong = 4
ldest_wrong = 5
drukz_wrong = 6
dn_wrong = 7
squit_forbidden = 8
no_to_created = 9
teilk_wrong = 10
update_without_commit = 11
no_authority = 12
no_picking_allowed = 13
dn_hu_not_choosable = 14
input_error = 15
error_message = 16
OTHERS = 32.
Here i am getting as input error, i need to create only one TO for multplie items
If i pass this i a loop - then it will create 2 Transfer order which is WRONG ...so please help me to over come this error.
Thanks
Senthil
Edited by: Senthil Kumar on Dec 7, 2009 3:29 PMHi,
Please check FM L_TO_CREATE_MULTIPLE.
Regards,
Ferry Lianto -
Confirmation control key check for inbound delivery creation
Hi,
Currently, in the Client's company, the process of receiving goods from purchase orders looks like that (SAP-wise):
- create a purchase order,
- receive goods using MIGO and automatically create an inbound delivery,
- pack the delivery and post goods receipt.
Recently, some patches have been installed, including one described by note 1602047 (which basically enforces checking confirmation control keys if goods receipt assignment and goods receipt relevance are activated for inbound deliveries). Note says that it only affects two-step stock transfer and creation of automatic inbound deliveries using SPED output but it seems it also affects other basic processes like PO receipt in MIGO.
Now, when using the old control key (that had MRP-Relevant and GR-Relevant fields checked), the system is unable to automatically create an inbound delivery after the goods receipt is posted with MIGO (with message VL148 - Not possible to create an inbound delivery). I learned that this is because the "GR Assignment" field must be checked in the confirmation control key so it's possible to automatically create aninbound delivery after receiving a purchase order in MIGO.
After changing the confirmation control key to have the missing field checked it's not possible anymore to receive goods from PO in MIGO as the PO requires shipping notification in order to be processed in MIGO thus requiring of manual creation of an inbound delivery.
Is there any way to skip this check so the process would remain the same (this model has been working fine for few years in the Client's system) and the inbound delievery would be created automatically after posting the receipt in MIGO?
Thanks in advance,
PiotrHi,
don't know if you found a solution, but we received the following message from SAP:
The advent of the new version requires some attention to the users. It
was necessary to avoid inconsistencies which in the past version the
system was susceptible.
Main Program SAPMM07M
Source code of MM07MLVS
sy-msgid VL sy-msgty E sy-msgno 148
I have checked the process and through debugged I could confirm the
following information SAP is providing to all similar incidents reportedfor us:
Error message VL 148 is issued if in the confirmation control key used
in the purchase order, the fields for MRP-relevance (T163G-KZDIS),
GR relevance (T163G-WEREL) and GR assignment indicator (T163G-WEZUO)
are not set.
The correction of note 1602047 was necessary to avoid inconsistencies
(table EKES) in the purchase order. Without having the GR assignment
(T163G-WEZUO) set, there is no unique reference created between the
purchase order history (table EKBE) and the inbound delivery
confirmation (table EKES) at goods receipt which leads to a problem if
several inbound deliveries exist for the same purchase order.
If you set T163G-WEZUO to 'X', this assures that, for an inbound
delivery, the confirmation record (EKES) belonging to this inbound
delivery (EKES-VBELN) is also accurately updated at goods receipt.
How to solve the issue?
Use a confirmation control key with the GR assignment indicator set
and then create the inbound delivery with VL31N. If you want to be able
to create the inbound delivery with reference to a certain line item in
the PO, use transaction VL34.
If you still want to use transaction MIGO, there is the following
workaround:
- Create a purchase order without any confirmation control key
- Create a goods receipt (GR) in transaction MIGO with reference to this PO and post the GR to a non-HU-managed storage location
- Create a transfer posting with MIGO using movement type 311 to
transfer the goods from the non-HU-managed storage location to the
HU-managed storage location.
As the transfer posting is an additional step for the user, the whole
process could be automated using a partner storage location
(T001l-PARLG) for the GR which then triggers (through a modification)
the BAPI 'BAPI_GOODSMVT_CREATE' to create the transfer posting without
user interaction.
I hope to have satisfied you on the reason why it is now happening and
also I believe you can explain to business that it is a new behavior
necessary done from SAP side to avoid worse situations, we are aware of
potential dissatisfaction it might cause. SAP Support is always
available to clarify any issue.
Sorry for not having a more positive answer.
I hope it helps!
Leentje -
Goods Receipt for Inbound Delivery before Transfer Order
Hello Experts,
Below is the normal process in case of GR via inbound delivery.
PO -> Inbound Delivery -> TO -> Confirm TO -> Post Goods Receipt in Delivery.
My client wants as per the normal Purchase Order cycle as below.
PO -> Inbound Delivery -> Post goods receipt in Delivery -> TO - > Confirm TO.
I have found some config for this as per below path.
Logistics - General -> Handling Unit Management -> Basics -> Delivery -> Define Sequence of Transfer Order - Goods Receipt.
I have done these settings but still it is not working.
I have couple of questions here.
1. Are there some more settings required?
2. Why SAP has designed this process in such a way for inbound delivery.
Thanks in advance for your help.
NavinHi,
I am working with non HU managed storage location. Can I still use this settings & process for inbound delivery?
I am stuck with one more question. SAP is not allowing me to create Inbound delivery for QM active materials.
The message it is saying is ....
Material CH-1440 1000 cannot be used in inbound delivery because QM is active
Message no. L9528
Diagnosis
QM is active for material CH-1440 in plant 1000. As a result, the material cannot be used in an inbound delivery item because the item is relevant for picking and because WM is active for the item.
This process is not supported in the current release.
Procedure
Execute the putaway using a goods receipt posting with subsequent
putaway in the Warehouse Management system.
Can you please help me with this one also? -
How can delayed delivery update be configured for Inbound delivery ?
Hi All,
How can delayed delivery update be configured for Inbound delivery ?
There is setting for Outbound delivery delayed delivery update but how the same functionality be used for Inbound delivery?
Regards
JimmiHello Jimmi,
Unfortunately I must confirm that the Delayed delivery update is only available for outbound deliveries. Please see below note for further details
664316 Tips for the delayed delivery update for TO
I hope this information helps!
Martin -
SAP System inconsistency for Inbound delivery / MIGO and a "sap note"
Hello Friends ,
After following SAP instruction on how to remove the inconsistency between posting GR through MIGO (Inv. mang.) and the reflection of the goods movement status in the inbound delivery document - done that using sap note 570991
the problem is that the system start behaving in a weird way throwing unjustified Error messages for any suggested goods receipt using MIGO with reference to inbound
for example after creating an inbound delivery document and trying to post it via migo , an error will pop up
- Inbound delivery storage location cannot be changed to here Message no. VLA316
the thing is i didn't even maintain any storage location entry up to that point and yet i cannot post any stock !!
also another error like
- Inbound delivery batch cannot be changed to *** here
which doesn't make any sense because there is not batches in the inbound document !!
i think this behavior is coming from the "Document Flow Update for Stock Postings" inbound indicator at the shipping parameter at client level customization
i need help on how to overcome this annoying SAP Bug/Problem specially i am in a post go live critical situationHi,
The messages you mentioned were introduced to avoid inconsistency between inbound delivery and IM, through the note: 1050944 - GR for inbound delivery using inventory mgmt as of ECC 6.00
If the messages are issued incorrectly, then you may check for SAP notes (I couldnt find anything relevant) or raise an OSS ticket to SAP.
Regards,
AKPT -
New Condition TAble for Inbound Delivery
Hello
i want to maintain a new Condition table for the Inbound delivery picking with the combination of _Delivery type/Plant
so that the Inbound created for the particular plant alone uses the particular output type.
Where in IMG can i configure the new Condition table for this combination for the Inbound delivery ?Hi,
Go to SPRO > Logistics Execution > Shipping > Basic Shipping Functions > Output Control > Output Determination > Maintain Output Determination for Inbound Deliveries > Here perform following;
- Define Condition Table for Inbound Delivery
- Define Output Types for Inbound Delivery
- Define Access Sequence for Inbound Delivery
- Maintain Output Determination Procedure
- Assign Output Determination Procedures -
Issue at the time of creation of transfer order for inbound delivery
Hello,
I am facing one issue at the time of creation of transfer order for inbound delivery.
If I create inbound delivery for purchase order with account assignment as 'M' (Ind. cust. w/o KD-CO), inbound delivery is not updated. Also document flow for inbounde delivery s not updated. I can create N number of transfer orders for on inbound delivery. Need help to resolve issue.
If I create inbound delivery for purchase order with account assignment other than 'M' (Ind. cust. w/o KD-CO), inbound delivery and document flow is updated.
Thanks and Regards,
NikhilHi
In OMS2 t-code
for your material type and plant ,you have to mark value based and qunaity based updation mark
Regards
kailas Ugale -
Creation of Transfer Order for Inbound Delivery
Hi,
I am using L_TO_CREATE_DN for creation of a TO for Inbound Delivery.
I am getting this message."""Item 180000166 000010 does not exist or is not relevant for picking"""
The delivery is having Ware House number so i think it is relevent for picking... It is having an item 10 also. I dont know why this message is coming.
Can anyone please let me know how to get rid of this error and create a TO for the inbound delivery.
Regards
RakeshHi Rakesh,
Pad the delivery number with a 0 in front and check.
like, instead of 180000166, pass 0180000166.
Regards,
Ravi -
Goods Receipt for Inbound Delivery through MIGO
Hi All,
Can anyone pl. explain me in steps the process of GR for Inbound Delivery from MIGO transaction.
Also I need the process of reversing this goods receipt done.
For certain inbound deliveries a dump occurs in the program SAPLIE01 in 'EQUIPMENT_ADAPT_BUSVIEWS' fn module.
I need to analyse the reason for the dump. Here is the extract from the dump
<b>IF WA_EQUI IS INITIAL
keine Equidaten vorhanden => EXCEPTION
---> RAISE ERR_ADAPT_BUSVIEWS . ENDIF. </b>
Advance ThanksHi Sanjay and Srikanth,
Thank you for the correction. I was just wondering over this number.
Sanjay, regd the release level, it is 0017 for SAP_APPL.
In brief, when GR is done for an inbound delivery, a fn moudle equipment_adapt_busviews is called, in which if the equipment data of the material (wa_equi) is initial, it gives dump.
1. This fn module is called 3 or 4 times while the posting is done through MIGO
2. In the 4th call, the parameter wa_equi is initial - which gives the dump.
3. While debugging, when I reach this point,if I restart the debugging, I find that the posting is completed !!!! (so something happening after posting of GR gives the dump)
4. I have to reverse this GR for replicating the same again.
Any further clues !!
Regards
Aadarsh -
Function Module / BAPI for Inbound Delivery from Purchase Order
Hi,
I need to create an inbound delivery from Purchase Order items and am looking out for some Function Module or BAPI for the same.
The requirement is that i should be able to specify selected line items from PO for delivery.
I tried the BDC method for VL31N , but the particular item selection is problem, since by default it shows all the items of PO and i want only selected items.
Do reply.
Thanks in advance.check these and their documentations.
BAPI_INB_DELIVERY_CHANGE Change inbound delivery
BAPI_INB_DELIVERY_CONFIRM_DEC BAPI for inbound delivery verification from a decentralized system
BAPI_INB_DELIVERY_SAVEREPLICA BAPI Function Module for Replication of Inbound Deliveries
Regards
Prabhu -
Use WS_DELIVERY_UPDATE_2 for Inbound Delivery HU Update?
Hello all,
I have used WS_DELIVERY_UPDATE_2 to successfully update Handling units to Outbound delivery and also perform batch split.
Can the same FM be used to update Inbound delivery with Handling units. I will be uploading the HU's through excel file.
Please advice.
Thanks,
SubbaHi,
Below is code for Inbound Delivery With HU, it worked for me.
gs_head-DELIV_DATE = sy-datum.
gs_head-DELIV_TIME = sy-uzeit.
gs_item-DELIV_ITEM = p_item1.
gs_item-MATERIAL = p_matnr1.
gs_item-DELIV_QTY = p_quan.
gs_item-UNIT = 'EA'.
gs_item-PO_NUMBER = p_po.
gs_item-PO_ITEM = 10.
APPEND gs_item TO gt_item.
CLEAR:gs_item.
CALL FUNCTION 'BBP_INB_DELIVERY_CREATE'
EXPORTING
IS_INB_DELIVERY_HEADER = gs_head
IMPORTING
EF_DELIVERY = gv_vbeln
TABLES
IT_INB_DELIVERY_DETAIL = gt_item
RETURN = gt_ret1.
gs_refobj-OBJECT = 03.
gs_refobj-OBJKEY = gv_vbeln.
gs_humain-vhilm = p_matnr2.
GS_HUMAIN-HU_STATUS_INIT = 'A'.
gs_humain-STATUS = '0010'.
gs_itempr1-VELIN = 1.
gs_itempr1-QUANTITY = p_quan.
gs_itempr1-meins = 'EA'.
gs_itempr1-matnr = p_matnr1.
gs_itempr1-werks = p_plant.
CALL FUNCTION 'PROCESS_HU_INBOUND_DLVRY'
EXPORTING
I_HU_ID = gv_huid (Blank)
I_NEW_HU = 'X'
I_UPDATE_DB = 'X'
I_CREATE_HU = 'X'
I_REFERENCE_OBJECT = gs_refobj
I_HU_HEADER_MAIN = gs_humain
I_SAVE_STEP = 'ITEM'
I_PACK_ACTIVITY = 'MAT'
I_DELIVERY_TYPE = '7'
I_PACKING_ACTIVITY = 'PACK'
I_PACK_TYPE = 'MAT'
IS_ITEM_PROPOSAL = gs_itempr1
IMPORTING
O_HU_REF_ID = gs_erefid
O_HU_HEADER = gt_eheader
O_HU_ITEMS = gt_eitem
O_HU_MESSAGES = gt_emsg[]
TABLES
ET_CREATED_HUS = gt_ehus[]
EXCEPTIONS
INPUT_MISSING = 1
NOT_POSSIBLE = 2
HEADER_ERROR = 3
ITEM_ERROR = 4
SERIAL_NR_ERROR = 5
FATAL_ERROR = 6
OPERATION_FAILED = 7
DELIVERY_UPDATE_ERROR = 8
OTHERS = 9.
IF SY-SUBRC EQ 0.
CLEAR:gs_vekp.
SELECT SINGLE * FROM vekp INTO gs_vekp WHERE VPOBJKEY = GV_VBELN.
ls_vbkok_wa-vbeln_vl = gv_vbeln.
ls_vbkok_wa-vbeln = gv_vbeln.
ls_vbkok_wa-VBTYP_VL = 7.
ls_vbkok_wa-wabuc = 'X'.
ls_vbkok_wa-spe_auto_gr = 'X'.
ls_vbkok_wa-kzebu = 'X'.
lt_verko-exidv = gs_vekp-exidv.
lt_verko-exida = 'E'.
lt_verko-magrv = 'YB01'.
lt_verko-werks = p_plant.
lt_verko-STATUS = '0010'.
APPEND lt_verko.
lt_verpo-venum = gs_vekp-venum.
lt_verpo-exidv_ob = gs_vekp-exidv.
lt_verpo-exidv = gs_vekp-exidv.
lt_verpo-velin = '1'.
lt_verpo-vbeln = gv_vbeln.
lt_verpo-POSNR = p_item1 .
lt_verpo-TMENG = p_quan.
lt_verpo-VRKME = 'EA'.
lt_verpo-MATNR = p_matnr1.
lt_verpo-werks = p_plant.
APPEND lt_verpo.
lt_vbpok-vbeln_vl = gv_vbeln.
lt_vbpok-posnr_vl = p_item1.
lt_vbpok-vbeln = gv_vbeln.
lt_vbpok-posnn = p_item1.
lt_vbpok-pikmg = p_quan.
lt_vbpok-matnr = p_matnr1.
lt_vbpok-werks = p_plant.
lt_vbpok-pstyv = 'ELP'.
APPEND lt_vbpok.
lt_repack-SOURCEHU = gs_vekp-exidv.
lt_repack-DESTHU = gs_vekp-exidv.
lt_repack-PACK_QTY = p_quan.
lt_repack-BASE_UOM = 'EA'.
lt_repack-MATERIAL = p_matnr1.
lt_repack-PLANT = p_plant.
lt_repack-DELIV_NUMB = gv_vbeln.
lt_repack-DELIV_ITEM = p_item1.
APPEND lt_repack.
CALL FUNCTION 'WS_DELIVERY_UPDATE_2'
EXPORTING
VBKOK_WA = ls_vbkok_wa
DELIVERY = gv_vbeln
update_picking = 'X'
no_messages_update_1 = 'X'
synchron = 'X'
commit = ' '
NICHT_SPERREN_1 = 'Y'
if_database_update_1 = '1'
if_error_messages_send = 'X'
TABLES
PROT = lt_prot
VERKO_TAB = lt_verko
VERPO_TAB = lt_verpo
IT_REPACK = lt_repack.
COMMIT WORK and WAIT.
Thanks,
Shankar Darbha -
BAPI For Inbound Delivery using Purchase Order Number
Hi All,
Is there any BAPI for posting Inbound Delivery (VL31N) using Purchase Order as reference.
thanks
bobbyNot sure what it has to do with enhancements and modifications, but there is no such BAPI:
http://tech.groups.yahoo.com/group/ABAP/message/38307
http://sap.ittoolbox.com/groups/technical-functional/sap-log-mm/bapi-for-inbound-delivery-creation-and-update-vl31n-1201265
FYI all BAPIs may be viewed in BAPI transaction. -
VL09 Authorization issue for Inbound Delivery
Dear Experts,,
When we reverse the goods movement in VL09, authorization check is made for Goods receiving/Shipping Point.
This is fine for outbound delivery because we always have a shipping point defined.
However, most of the Inbound Deliveries have no Goods Receiving/Shipping Point.
So, if we give the authorization for u201CBlanku201D receiving point = " ", the user can reverse goods movement for any inbound delivery.
How can we restrict this?
Please suggest your valuable inputs
Regards,
ShahsidharHi,
most of the Inbound Deliveries have no Goods Receiving/Shipping Point.
If you doing inbound delivery by VL10B, then you should specify shipping point.
Define shipping point for inbound delivery and maintain authorization
kapil
Maybe you are looking for
-
Can you facetime from imac i5 to an ipad2 using the same apple id on both devices?
i'm pretty sure you can't but before i set up another email address just so i can facetime the ipad2 i thought i'd ask. thank you in advance for any answers!
-
Elements 9 not uploading from SD card
Why is Elements 9 not uploading photos from my SD Card all of a sudden. Opening screen indicates Elements PS no longer available. I do not use this. For years I have always used "Organize" from the opening screen, not "Edit". Then when I go to F
-
How to trovi from safari on iMac?
In trying to download Skype I have somehow managed to download and install trove. When i open safari it opens with trovi as a default screen instead of google.
-
Business Objects XI 3.1 Connection to Oracle 10
I am new to the world of Business Objects and In Universe Designer, when I try to create an Oracle OCI connection, I get the following error: CS:DBDriver failed to load : C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\dat
-
Programs don't respond with ipod plugged in
This is really a pain. Whenever I plug my 30gb 5G ipod into my computer my programs don't respond. This makes it impossible to put songs onto my ipod. I have tried reinstalling itunes and the ipod updater and restoring my ipod, but it only makes it s