Idoc DELVRY03/DESADV for Inbound delivery with serial number
Hi,
We have set up am EDI process between our vendors ERP system and our SAP. We will send purchase order Idocs to our vendor, once our vendor has shipped the goods (to our customer) he send an DESADV/DELVRY03 Idoc back to our system. This Idoc will create a statistical inbound delivery and a statistical goods receipt will be automatically created in our SAP system.
This process runs fine as long as we use materials without serial numbers. Unfortunately we have some materials which need to have a serial number assigned by our vendor and we want to keep track of this information in our SAP system.
The only place where I found a serial number field in the Idoc is in the 'E1EDL46 : Serial Numbers HU' segment in the DELVRY03 Idoc, but unfortunately we don't have handling units activated in our SAP system. So if we fill this information the Idoc processing fails.
Is there any other way to create an inbound delivery containing serial number information without activating handling units?
Thanks for your help,
Frank
Hi,
is there anyone who has experience with EDI inbound delivery postings containing serial number information?
Thank you,
Frank
Similar Messages
-
Problem with an enter inventory count for a material with serial number
Hi all,
I must post an Enter inventory count with the transaction MI04 for a material with serial number that it has more 250,000 of serial number, but the system give an error message of dump.
Are there any alternatives to post the inventory document?
Thanks.
Best regards,
Gaetanoyou can't but uplaod using LSMW rather entering manually otherwise you need coremod
-
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 -
Error when doing GR for production order with serial number
I'm not familiar with serial number and equipment management but I'm trying to help my user resolve this issue.
This product is returned from customer site.
I saw that this material is being reset in IQ02 from status in warehouse to become Available when the material is consumed in the production order via 261 movement type. So now the status is available. Then the user went to change a new serial number. Later, GR for production order is done in MB31. Errors are encountered when prompted to enter the new serial number.
Configurations XX01 and XX02 are different
Message no. CX126
Configuration of serial number SN02 incompatible with document item
Message no. IO226Hi..
Can you please explain in detail, I facing same problem, while assigning unrestricted stock to sales order.
Regards,
Sumit Pukale -
IDoc or BAPI for inbound delivery creation with reference to PO.
Hi
I have requirement to create a inbound delivery, I will get a ASN from external system with PO, Vendor Material number & batch. I want to know is there any BAPI or IDoc that can be used to create inbound delivery in R/3. I used BBP_INB_DELIVERY_CREATE to create inbound delivery and I was successful but problem is that inbound delivery was not updated with Vendor Material number & Batch. Can some one suggest me any other BAPI or IDoc ?
Thanks in advance
Nagendra P Boggarapu
Edited by: Nagendra P Boggarapu on May 6, 2010 4:06 PMUse Delvry0* IDOC.
Reddy -
Post Goods Receipt for Inbound Delivery with BAPI_GOODSMVT_CREATE
Hello,
I try to post GR for an Inbound Delivey with BAPI_GOODSMVT_CREATE and it is not working.
I know delivery number and PO number and give both to the bapi.
I am not sure how to set the movement indicator in the item.
When I set it to B.
I do get a shortdump from MB_POST_GOODS_MOVEMENT numer 143, stating that this type of movement is not allowed with this transaction
when setting to L I do get an error stating
"Update control of movement type is incorrect (entry 101 X X _ L)" from message class M7.
Below is the coding for it.
Thank you very much for your help
Michael
* Füllen der Kopfdaten
ls_gm_header-pstng_date = sy-datum.
ls_gm_header-doc_date = sy-datum.
ls_gm_header-ref_doc_no = delivery_header-lifex.
ls_gm_header-bill_of_lading = delivery_header-bolnr.
ls_gm_header-gr_gi_slip_no = delivery_header-xabln.
ls_gm_header-pr_uname = sy-uname.
ls_gm_header-ref_doc_no_long = delivery_header-lifex.
ls_gm_header-bill_of_lading_long = delivery_header-bolnr.
lv_gm_code = '01'.
* Füllen der Positionsdaten
LOOP AT selected_delivery_items INTO ls_delivery_item.
ls_gm_items-material = ls_delivery_item-matnr.
ls_gm_items-plant = ls_delivery_item-werks. " 0001
ls_gm_items-stge_loc = ls_delivery_item-lgort.
ls_gm_items-move_type ='101'. "101
ls_gm_items-entry_qnt = ls_delivery_item-lfimg. " 10,000
ls_gm_items-entry_uom = ls_delivery_item-vrkme.
ls_gm_items-po_number = ls_delivery_item-vgbel. "55001582
ls_gm_items-po_item = ls_delivery_item-vgpos. "00010
ls_gm_items-mvt_ind = 'B'.
ls_gm_items-expirydate = sy-datum + 30 .
ls_gm_items-deliv_numb = ls_delivery_item-vbeln.
ls_gm_items-deliv_item = ls_delivery_item-posnr.
APPEND ls_gm_items TO lt_gm_items.
ENDLOOP.
CALL FUNCTION 'BAPI_GOODSMVT_CREATE'
EXPORTING
goodsmvt_header = ls_gm_header
goodsmvt_code = lv_gm_code
* testrun = 'X'
* GOODSMVT_REF_EWM =
IMPORTING
goodsmvt_headret = ls_gm_header_ret
materialdocument = lv_mat_docno
matdocumentyear = lv_mat_year
TABLES
goodsmvt_item = lt_gm_items
goodsmvt_serialnumber = lt_gm_serial_numbers
return = lt_return
if lt_return is INITIAL.
endif.Hello Pranav,
the input for the business data is correct.
When performing the goods receipt with Migo it works.
I think the B in the movement indicator is correct, but there might be something wrong with the other data.
Best regards
Michael -
BAPI/FM - Inbound Delivery - Delete Serial Number
Greetings!
I would like to ask if there's a BAPI that will change the Inbound Delivery wherein it will delete some serial numbers and can Post Goods Receipt. I found one BAPI which is BAPI_INB_DELIVERY_CHANGE and WS_DELIVERY_UPDATE but i cant delete the serial number.
Thank You!Hi,
check FMs:
SERNR_ADD_TO_LS - Serial Number Management in Documents
SERIAL_LISTE_POST_LS
BAPI: BAPI_INB_DELIVERY_CONFIRM_DEC -
Cancel insp.lot for batch material with serial number?
We have a problem with an inspection lot....
A few months ago we made a goods receipt for batch material... it ended up in Q- stock.
The weeks went by and the material was changed ito a serial number material... that process works fine...
But now we want to scrap the material that is batch-handeled ... the inspection dont want to let go.. it want serial numbers... even if I create serial numbers for this the inspection lot
dont let me register any numbers.. So I cant cancel/delete it... And after all I just want to scrap the batch...
Can someone help me?
// Andreasif stock of that material with serial numbers exist, then scrap that stock and disable the serial number for the material by deleting the serial number profile in the work scheduling view of the material master.
then try cancelling the inspection lot. After cancelling the inspection lot, activate the serial number for that material again and bring back the scrapped stock into the unrestricted use.
Note: please advice the users not to post any stock for that material till you complete this or else block the posting t.code for all the users. -
GR for BOM Material with Serial number
Hi all
I have 2 serialised materials A and B, A is the Parent Material and B the child material (BOM Scenario), both having serial numbers
I want to do GR without PO (501movement type) for the A material with the serial number, while doing GR i want BOM to be trigerred and at the same time i need to enter the serial number for the child material also.
This is not a subcontracting scenario, here i am not issuing any goods to vendor, i am getting some used parts which i want to track individual accessiroes wise with serial numbers.
Kindly suggest the backend settings
Regards
Amuthan MTry MASE. it hold the last serial number.
-
Exact Material document for particular material with serial number
Hi,
One serial number is assigned to material
and this matreial is having more than one material document numbers. How do i know exact material document assigned for material and serial number combination.Try MASE. it hold the last serial number.
-
How to post good receipt for an inbound delivery with HU in the stock?
Hello,
We have an inbound delivery of a purchase order with 10 Handling Units inside on.
The HU's has been put in a storage bin (by transport order + confirmation) before a good receipt has been posted for the whole delivery.
Due to this it's not possible to post good receipt for the inbound delivery, and the available stock quantity is in minus on zone: '902-GR Area External Rcpts' since the handling units are already in a storage bin.
Can anyone help me on this matter?
ThanksHi,
my situation is:
- a WM managed warehouse, society A;
- a HU managed warehouse (without WM), society B;
- a purchasing process of HU from society A towards society B.
Society B have a scheduling agreement; when a delivery schedule appears, in society A born a sales order and a delivery. After the registration of the delivery good issue, an idoc transfer information for inbound delivery creation.
This process is ok without WM, but with a WM managed warehouse the idoc has the following problem:
"V51VP - item was not found - process cancelled".
Can you help me to transfer these HU? -
Stock Transfer Inbound Delivery with HU Stuck - Unable to PGR
Hi Gurus,
Please help me with the situation.
For 7 HUs there was a Two-Step Sloc to Sloc to transfer that was attempted to be performed.
1. An Outbound Delivery is created from Plant 1000/0061 (313-)
2. Picked and PGI-ed
3. Inbound Delivery is created in the Receiving Plant 1000/0028
5. This was done through a two step Sloc to Sloc Transfer (313 and 315)
6. Since the receiving Sloc is WM Managed, a TOs were created and confirmed
7. This happened sometime in April 2008
8. THE PROBLEM NOW IS WE ARE UNABLE TO PGR THE INBOUND DELIVERY BECAUSE THE STOCK IN TRANSIT IS UNAVAILABLE
9. Checked for SIT Stock; Unavailable
10. Checked for any 315 movements after the TO Confirmation Date, but could not find any, until today's date
11. LT0G is not working citing the reasons that LT0G will not work for TOs with HUs
12. Cancellation of TO is not working under any Transaction
13. The Stock of the material is 0 in Plant 1000/All SLocs
THE HUs ARE SHOWING IN HUMO IN 1000/0028.
How can I PGR the stock, or even cancel the whole transaction and scrap the stock.
KINDLY HELP.
Thanks.
Ananth.
Edited by: Ananthram Sundarababu on Jul 2, 2010 5:31 PMHi,
my situation is:
- a WM managed warehouse, society A;
- a HU managed warehouse (without WM), society B;
- a purchasing process of HU from society A towards society B.
Society B have a scheduling agreement; when a delivery schedule appears, in society A born a sales order and a delivery. After the registration of the delivery good issue, an idoc transfer information for inbound delivery creation.
This process is ok without WM, but with a WM managed warehouse the idoc has the following problem:
"V51VP - item was not found - process cancelled".
Can you help me to transfer these HU? -
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 -
BDC program for inbound delivery VL31
Dear experts,
I have created BDC program for inbound delivery with old T_CODE VL31,but it's very inefficient.Now I must change the program for the efficiency improve.
Could you give any idea?
Thanks in advance,
collysun.I'm sorry, but it does not seem that there is a BAPI for this (looking at transaction BAPI and business object BUS2015).
Have you perhaps looked at the new transaction VL31N? Are there any differences that may improve the input (limit the number of BDC steps)?
Otherwise, take a look at the way you are entering data now. Make sure there are not too many dialog steps. i.e. Make sure you enter all the data you can on a single screen, only then process the next OKCODE. Also, look at the transaction again: Perhaps you can enter items in an overview screen instead of individual items. (I have no knowledge of your situation of course; these are just some general guidelines).
Cheers,
Martin -
MB26 ,CO27 - goods issue components with serial number?
Hi ,everyone!
I know CO27 and MB26 can do goods issue to production order very easily and quickly!
But It seems CO27 and MB26 can not work well with the component with serial number.
I aslo know MB1A and MB1B can post goods issue for component with serial number.But in MB1A and MB11 , it is very difficult to can material by material number quickly while doing more then 100 components issue to one production order.
And for authorization purpose we restrict MIGO not to use goods issue for production order.
So I want to ask how CO27 and MB26 do goods issue for the component with serial number?
Or there is another ways to goods issue component with serial number to production order easily,exclude MB1A,MB11 and MIGO?
Thanks for any reply!Hi Vivek
We use CO27 for goods issue to production order ,just like MB1A goods issue to production order.
But in the BOM components of the production orders ,some semi finished products are with with serial numbers ,so we can not use CO27 or MB26 to issue these components with serial numbers to production orders!
Maybe you are looking for
-
Building a new computer.. video card help?
im building a new system, planning to use after effects CS5 on it, and these are the specs. Intel Core i7 930 2.8 GHz w/ 8mb cache Asus P6T SE Motherboard 2 x 500GB Caviar Black 7200 RPM SATA HD (linked somehow.. raid, maybe? he said it's show up as
-
SQL Plus command to print a report in Landscape format
Hi, what is the SQL Plus command to print a report in Landscape format?
-
Unable to receive or send mail
Since the first of the year I have not been able to send mail or receive it. I have contracted my ISP (charter communications) and get no help. They say it's an Apple issue as all the setting are correct. Help!
-
Does OraOLEDB support passing a Ref Cursor as an IN parameter of a Stored Procedure?
We have a number of Stored Procedures that take a Cursor as an input parameter. Is it possible to call a Stored Procedure of this type with OraOLEDB? If so could you provide a quick sample using VC++/ATL? Thanks...
-
Error code: 150:30 Illustrator and Photoshop; how do I fix this?
All of the sudden when I was trying to open AI I got a screen with "Illustrator Licensing for this product has stopped working", and error code: 150:30 how do I fix this? I am on MAC OS X 10.9.4 and Illustrator and Photoshop CS4. Thank you for your