Inbound Delivery Using ASN in SRM
Dear All,
We are implementing SRM to our Business,our SAP is running on 4.7C. We have done the BBP in which we got the following queries regarding Inbound delivery generation in SAP for PO.
-->>> We have activated the confirmation Key in Po, so with this we can able to send the Po's to Vendor portal.
--->>> Now after receiving all vendor has created ASN(Advance shipping Notification), once he created ASN in SAP automatically an inbound delivery should need to create.
Is there any BAPI/Function Module available in SAP 4.7C, in which system will Pull the required field of ASN to create GR.
I heard this can be done by using IDOC, but we want only through BAPI/FM.
Please let me know is there any way we can have BAPI/FM available in SAP or should we require to customize??
Regards,
Nagaraj S
Dear Nagaraj
Standard Process flow :
1. PO created with confirmations and sent to Vendor
2. Vendor sends ASN.
3. Inbound dlivery will be created wrt ASN in SAP
4. Goods receipt wrt inbound delivery in SAP
For creating the inbound delivery wrt ASN, you can use BBP_INB_DELIVERY_CREATE .
For creating the Goods recept , you can use BAPI_GOODSMVT_CREATE
More info please refer :
http://www.sap-img.com/abap/bapi-goodsmvt-create-to-post-goods-movement.htm
warm regards
Ramakrishna
Similar Messages
-
Change inbound delivery using /SPE/IDOC_INPUT_DESADV1
Hello -
We are creating an inbound delivery using the idoc function module /SPE/IDOC_INPUT_DESADV1. I have need to be able to change an existing delivery via idoc processing, so we are populating and mapping an E1EDL18 segment with the qualifier 'CHG'. However, in /SPE/IDOC_INPUT_DESADV1, it does not appear to handle CHG. I have debugged down into the code and in method PARSE_AND_HANDLE_IDOC_DELVRY03, when the segment is E1EDL18, there is a case statement that looks at the qualifier, and CHG is not dealt with.
Any ideas how to handle this? Or is this a legitimate bug I should report to SAP?
Thanks for any help!
Sharon McClureSharon McClure wrote:
Or is this a legitimate bug I should report to SAP?
Hard to say. Why not just report it? The worst they can do is say it's a consulting issue.
Rob -
While doing inbound delivery using VL31N
While doing inbound delivery using the T-code VL31N , am getting the error message " Factory calendar is not recognised "
Guys Please help me outHello ,
while doing the PO in the item detail confirmations tab i have selected the inbound delivery ECC and saved .After that i tried to create the inbound delivery for the PO at that time am getting the message 'factory calender is not recognised " .
I have checked in the factory calender which is assigned to controlling area is" K4 "
Please help me out -
Bapi for inbound delivery using PO
Hi experts,
I want to create a bapi for inbound delivery using PO.
which bapi or FM should i use and can you send me the code for that.
Thanks,
RajivHi Rajiv,
Please check this FM --> BAPI_DELIVERYPROCESSING_EXEC
Please check these threads
Bapi to create inbound delivery
BAPI to create inbound delivery
Hope this would help you.
Good luck
Narin -
How to create an inbound delivery using BAPI/FM?
Hello,
I am looking for a BAPI/FM to create only Inbound delivery. Pleace help me on this.
Thanks and appreciate your help
Thanks,
Amrutha.Hi,
We succeeded to do something similar.
We needed to create an inbound based on invoice data, with refference to items from multiple PO.
We used FM BBP_INB_DELIVERY_CREATE, combined with enhancement of ME_CONFIRMATION_VIA_EDI for using MARA- MATNR instead of
mara-ematn (standard logic of SAP for vendor ASN).
In this enhancement we filled also fields:
t_kom-vornu = t_data-belnr. "invoice number as precendent document
t_kom-bolnr = t_data-bolnr. "bill of ladding
t_kom-traty = t_data-trans_cat. "transport type.
Also we had to use customizing to not display warning related to different delivery date.
Kind regards,
Valentina -
Problem with HU during creation of Inbound Delivery using IDoc
Hi,
When I am creating Delivery manually and perform Packing, Handling Unit information is stored in VEKP and VEPO tables.
But when I am processing through IDoc, after passing data to Handling Unit Segments E1EDL37 (Handling unit header), E1EDL39 (Control Segment for Handling Units), E1EDL44 (IDoc: Handling Unit Item - Delivery), It is creating delivery successfully but Handling Unit information is not getting stored in VEKP, VEPO tables.
Tried most of the notes 912470, 678464, 682506 and all of them say "<i>You use the Idoc DESADV to create inbound delivery with packing data. The delivery is created, Idoc gets status 52 but the Handling Units (HUs) are missing. This is due to a program error. In case the IDoc contains segments to create HUs (E1EDL37), the IDoc processing should end in error status (51) as long as no packing data could be created</i>.".
Need your advice whether we have to maintain any customizing for this or how to proceed with it.
Thanks in advance,
Murali.IDocs and BAPIs sometimes behave differently than transactions. You might need to add a user exit specifically for IDoc processing. Otherwise send a message to SAP and have them look at it.
-
Update Delivery Qty of Inbound Delivery using BAPI_INB_DELIVERY_CHANGE
Hi Experts,
I'm trying to use BAPI_INB_DELIVERY_CHANGE to update the delivery quantity of a line item in an Inbound Delivery. However, I keep on getting this error:
Type: E
ID: VLBAPI
Number: 004
Text: Error in document &1 item &2 (quantity consistency check)
Below is my test program. Any input will be much appreciated.
REPORT ztest.
DATA: deadlines LIKE bapidlvdeadln OCCURS 0.
DATA: wa_deadlines LIKE bapidlvdeadln.
DATA: header_data_t LIKE bapiibdlvhdrchg OCCURS 0.
DATA: wa_header_data LIKE bapiibdlvhdrchg.
DATA: header_control_t LIKE bapiibdlvhdrctrlchg OCCURS 0.
DATA: wa_header_control LIKE bapiibdlvhdrctrlchg.
DATA: item_data LIKE bapiibdlvitemchg OCCURS 0.
DATA: wa_item_data LIKE bapiibdlvitemchg.
DATA: item_control LIKE bapiibdlvitemctrlchg OCCURS 0.
DATA: wa_item_control LIKE bapiibdlvitemctrlchg.
DATA: header_data_t_con LIKE bapiibdlvhdrcon OCCURS 0.
DATA: wa_header_data_con LIKE bapiibdlvhdrcon.
DATA: header_control_t_con LIKE bapiibdlvhdrctrlcon OCCURS 0.
DATA: wa_header_control_con LIKE bapiibdlvhdrctrlcon.
DATA: item_data_con LIKE bapiibdlvitemcon OCCURS 0.
DATA: wa_item_data_con LIKE bapiibdlvitemcon.
DATA: item_control_con LIKE bapiibdlvitemctrlcon OCCURS 0.
DATA: wa_item_control_con LIKE bapiibdlvitemctrlcon.
DATA: return TYPE STANDARD TABLE OF bapiret2.
CLEAR: wa_header_data, wa_header_control.
wa_header_data-deliv_numb = '0180000545'.
wa_header_data-gross_wt = '3001.000'.
*wa_header_data-NET_WEIGHT = '3001.000'.
wa_header_data-unit_of_wt = 'KG'.
wa_header_data-volume = '1500.5'.
wa_header_data-volumeunit = 'M3'.
APPEND wa_header_data TO header_data_t.
wa_header_control-deliv_numb = '0180000545'.
wa_header_control-NET_WT_FLG = 'X'.
wa_header_control-volume_flg = 'X'.
wa_header_control-gross_wt_flg = 'X'.
*wa_HEADER_CONTROL-DELIV_DATE_FLG = 'X'.
APPEND wa_header_control TO header_control_t.
CLEAR: wa_item_data.
wa_item_data-deliv_numb = '0180000545'.
wa_item_data-deliv_item = '000020'.
wa_item_data-dlv_qty = '3000'.
wa_item_data-dlv_qty_imunit = '3000'.
wa_item_data-sales_unit = 'KG'.
wa_item_data-sales_unit_iso = 'KG'.
wa_item_data-base_uom = 'KG'.
wa_item_data-base_uom_iso = 'KG'.
wa_item_data-gross_wt = '3000'.
wa_item_data-unit_of_wt = 'KG'.
wa_item_data-volume = '1500'.
wa_item_data-volumeunit = 'M3'.
APPEND wa_item_data TO item_data.
CLEAR: wa_item_control.
wa_item_control-deliv_numb = '0180000545'.
wa_item_control-deliv_item = '000020'.
wa_item_control-chg_delqty = 'X'.
wa_item_control-VOLUME_FLG = 'X'.
wa_item_control-NET_WT_FLG = 'X'.
wa_item_control-GROSS_WT_FLG = 'X'.
APPEND wa_item_control TO item_control.
CALL FUNCTION 'BAPI_INB_DELIVERY_CHANGE'
EXPORTING
header_data = wa_header_data
header_control = wa_header_control
delivery = '0180000545'
* TECHN_CONTROL =
TABLES
* HEADER_PARTNER =
* HEADER_PARTNER_ADDR =
* HEADER_DEADLINES = deadlines
item_data = item_data
item_control = item_control
* ITEM_SERIAL_NO =
* EXTENSION1 =
* EXTENSION2 =
return = return
* TOKENREFERENCE =
* HANDLING_UNIT_HEADER =
* HANDLING_UNIT_ITEM =
* PARTIAL_GR_OBJECTS =
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.Hi,
Pls try to use the other structure
ORDER_SCHEDULES_INX type BAPISCHDLX bcoz it is used to update the required field.
Now for the date field add the required days to set it as future date.
ex:
l_date = l_date + 12. // it will be set to future or requred date.
Reward if helpful.
Regards
Chandralekha -
Inbound delivery Creation(ASN) Process
Hi All,
Plz give end to end Process for creation Inbound delivery(ASN) No.
why should we take conformation control key in PO and not shipment notification tab there
thanks,
sunil sahooConfig:
go to SPRO-MM-purchasing-Confirmation-setup confirmation control
here select the 10 and check the check box Create inb delivery
then select the line and click on the confirmation seq and make GR relevant, MRP relevant and GR assign (all three box checked)
Process Flow: -
1. ME21N - In PO, Confirmation Tab, select the confirmation control key as "Shipping Notification" or "Inbound Delivery"
2. VL31N - Create Inbound Delivery w.r.t. PO
3. MIGO - Goods Receipt > Inbound Delivery
If you dont select the conformation control key in the PO than system wont allow you to create the Inbound delivery agianst thePO. -
Trigger internal serial nos creation for inbound delivery using DELVRY03
Hi all,
I am working in ECC 6.0 I need to update serial nos in the inbound delivery. The internal serial nos. that will be generated by the system, I have to trap them for a given delivery and map it to a set of external serial nos.(length is 40 chars) and update in a Z table.
For changing the delivery, I am using idoc DELVRY03 (message SHPCON). Within the idoc I am not able to find any such field which will trigger the automatic creation of internal serial nos. In case of idoc MBGMCR03 (goods movement), there is a field E1BP2017_GM_ITEM_CREATE-SERIALNO_AUTO_NUMBERASSIGNMENT which when set to 'X', the internal serial nos are automatically generated and can be found in table SER03.
I want a similar thing for the DELVRY03 idoc. Can anyone help me on this?
If not possible through Idoc, then whats the other option?
My aim is to just get the internal serial nos created through delivery change activity.
Note - The serial no. profile cannot have the option of serial no. usage set to '04 - automatic' in SPRO as per the client's business process.
Thanks,
ShomaHi Shoma,
copy the FM which is assigned to your processcode and copy to ZFM and write your modifications on that ZFM.
It will resolves your problem.
Regards,
Venkat. -
Post Goods Receipt for Inbound Delivery using WHSCON IDoc
Dear All
Currently I am working on a big project dealing with EDI connections to our logistics partner for the Export business. The entire message flow between Lindt and our partner should be via EDI. Our SAP release is (still) 4.6c.
We will create two kinds of despatch advice messages, one for inbound deliveries and one for outbound deliveries for customers.
I would appreciate your support in the following problem that I am facing with the inbound delivery scenario:
We create stock transport orders (purchase orders, POs) for the goods intended to be delivered into the plant at our partner
We create a delivery (type NL = replenishment delivery) for this POs
As soon as we post the goods issue we send the despatch advice (as EANCOM D96A DESADV message) to our partner.
At this point the delivery is basically completed, i.e. packing status (PS) and goods movement status (GM / GS) are equal to 'C' (= completed).
Our logistics partner uses the same EDI message to send us the goods receipts data, e.g.:
We dispatched 50 units of a product => QTY:50:12
The partner received indeed 50 units => QVR:50:66
Please note that we do not use the QVR segment for the quantity difference (between despatched and received quantity) but it contains the received units. This way we avoid negative values in the QVR segment.
When the logistics partner sends back the DESADV message containing the received quantities (QVR segment) we want to make
the goods receipts for the products in the original stock transport order and
upate the message flow in the delivery
My idea was to transform the incoming DESADV message into a WHSCON.DELVRY03 IDoc based on the documentation in: [Delivery Interface|http://help.sap.com/saphelp_crm40/helpdata/en/e2/654b15a9f411d184ec0000e81ddea0/content.htm]
In the delivery header control E1EDL18 I used QUALF = 'PGI' (Post goods issue).
I prepared an inbound WHSCON IDoc according to the documentation mentioned below. I managed to get some feedback from the Idoc processing implying that the system tried to do the goods receipt in the PO but failed.
To make a long story short here are my questions:
Can an inbound WHSCON IDoc used for doing both the goods receipt in the PO and the update of the message flow in the delivery?
Does anybody have an example on how to fill the WHSCON IDoc?
Or is my approach a cul-de-sac ?
Kind Regards
Uwe
PS: A related question can be found here: Goods Receipt in PO AND Message Flow Update in Inb. Delivery using WMMBXYHi Uwe,
Can an inbound WHSCON IDoc used for doing both the goods receipt in the PO and the update of the message flow in the delivery?
The binary answer would be no. You should use WMMBXY or MBGMCR instead.
But if we are doing goods receipt against Inbound delivery then answer is YES with additionally E1EDL18-QUALF = 'PIC' populated. But please remember no partial receipt is possible against Inbound Delivery.
We should populate E1EDL20-VBELN with our Inbound delivery number and line item info should go to E1EDL24.
I have done a similar interface recently where we are doing receipt against Inbound delivery. But our case was a bit complex because we had to support against Inbound delivery. So we had to go for a custom solution on top of IDOC_INPUT_DELVRY.
Hope this helps. Let me know if you have more questions.
Regards,
Rudra -
Goods receipt inbound delivery using old goods movement transactions
Hi! I have a client who is still using the old goods movement transactions in the new ECC system. I would like to confirm whether it is possible at all to receipt inbound delivery (from shipping notification) using any of the old goods movement transactions? I don't seem to be able to find one that work.
Cheers!
SFYes, does anyone have any idea re this?
Cheers!
SF -
How to create Inbound Delivery using SHPMNT03 Idoc details...
Hi,
I need to create <b><b>Inbound delivery</b> using idoc SHPMNT03</b> details. I am getting all the data required to create Inbound delivery is from this idoc. for that I need to create a custom function module.
I tried with FM IDOC_INPUT_DESADV1. But it is for only if you use DELVRY03.
I haven't (yet) found a way to create automatically an inbound delivery when you post the goods issue from the outbound delivery.
Does anyone experienced the use of inbound deliveries with STO and what are your recommendation?
Thanks a lot,
Ranjith.Hi there,
Please have a look at the following link.
http://help.sap.com/erp2005_ehp_04/helpdata/EN/dc/6b828943d711d1893e0000e8323c4f/frameset.htm
Hope this helps,
Kind Regards,
Matthew -
Create a Batch split for inbound delivery using IDOC
Hi,
I have an requirement to create Batch splits in the Inbound delivery.
These Inbound deliveries are created using IDOC.
So when the inbound deliveries are created through IDOC the Batch split is not happening.
How can i achieve this through Coding?
Any pointers on this will be highly appreciated.Hi ,
Try this link.
http://wiki.sdn.sap.com/wiki/display/ABAP/Toapplybatchsplitinanoutbound+delivery
Regards
HM -
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. -
Inbound delivery for ASN Delivery
Hi,
I have created an outbound ASN IDOC for intercompany transfer. But this ASN is not creating the Inbound delivery IDOC. I have configured the partner profile for both outbound and Inbound. Please let me know what I am missing.
Thanks
RamHi Ram,
WIll you be more clear? on which systems you are trying to create/send Inbound & outbound?
Can you tell me what is ASN? and what is the configuration that you did in partner profiles?
Maybe you are looking for
-
I am going to acquire up to 5 samples per second of 50 channels over 30 minutes then average ten of the channels and generate a report. There are other bits of information needed to complete my task and graphs. Would it be "faster" for the PC to ha
-
What is the fastest CPU I could put in Satellite Pro L20
This is a desperate request for help!! The Football Manager 2010 is coming out soon and my laptop needs to be up to scratch. I know I need to upgrade it because Football Manager 2009 nearly killed it! At the moment I have 1.4ghz Intel Celeron M chip
-
Convert LaserJet 5200 220v to 110v power
Is it possible to purchase the proper parts to convert a LaserJet 5200 from 220v to 110v? I know about power converters, but just thought it would be better to convert the thing if possible. thanks.
-
The Weblogic server can not start because the post is in use
Hi I am trying to run weblogic server on my account, and it says : <i> Unable to create a server socket on Channel Default for: 127.0.0.1, port: 7002. java.net.BindException: Address already in use Perhaps the address 127.0.0.1 is incorrect or anothe
-
Authorization Relevant Infoobject restriction for particular value
Hi All, We have infoobject - 0COMPCODE which is authorization relevant. In query designer authorization variable - ZAUTH1 has been created. Now users want to restrict one particular Company Code (Ex- RU10) globally, so that none of the users will vie