Help Rgd. BAPI for Creation of Inbound delivery Document
Hi all,
I need a Bapi to create inbound delivery document without using PO reference. I have seen the below BAPIs. i) BAPI_IBDLV_CREATE_FROM_OBDLV,
ii) BAPI_GOODSMVT_CREATE. I am not sure whether they are for creating inbound delivery document without using PO reference.
It will be of great use if anyone can give me the BAPI for the purpose and the mandatory parameters or sample test data for the BAPI.
Thanks in Advance,
Rakesh.
If you create the inbound delivery->check the purchase order in the tabstrip "Confirmations" on item level. There are three fields: "Confirmation control key", "Order acknowl." and "acknowl. required".
Ckeck if there is a value in "confirmation control key".
You should get the same error if you try to create VL31N in dialog mode, not only by using the bapi.
Rgds,
JP
Similar Messages
-
BAPI for Creation of Inbound delivery Document
Hi
I have found a BAPI for Creating Inbound delivery Document, BBP_INB_DELIVERY_CREATE. I filled the below parameters and executed it.
IS_INB_DELIVERY_HEADER
DELIV_DATE 11.04.2007
IT_INB_DELIVERY_DETAIL
MATERIAL 1096
VEND_MAT
MATL_DESC SHARP CAMERA111
DELIV_QTY 795,000
UNIT KG
PO_NUMBER 4500000011
PO_ITEM 00010
I recieve a error 'This function is only possible for items with confirmation key'.
I dont know whether the error is with the data. Is there any other fields to be filled.
It will be of great help if anyone provide me with any input. ;>)
Thanks in Advance
RakeshIf you create the inbound delivery->check the purchase order in the tabstrip "Confirmations" on item level. There are three fields: "Confirmation control key", "Order acknowl." and "acknowl. required".
Ckeck if there is a value in "confirmation control key".
You should get the same error if you try to create VL31N in dialog mode, not only by using the bapi.
Rgds,
JP -
List PO pending for creation of Inbound delivery
Dear All,
Please guide is there any standard transaction against which we get a list of Purchase orders which are pending for creation of Inbound delivery.
Though we do monitor the Inbound delivery vide Transaction code VL06I, this transaction is useful only for the Inbounds already created.
S. KumarDear Bijay and Mahesh,
Both the transaction code ME80FN and ME2N gives the list of PO with the relevant confirmation Tab against each item line. It was an useful information. Though the question is still unanswered as my requirement is list of PO's where the confirmation control key maintained but the Inbound delivery yet to be created (i.e. Data with Table EKES - Field VBELN is still blank)
S. Kumar -
What is the BAPI for creating an inbound delivery without reference.
Hi Experts,
What is the BAPI for creating an inbound delivery without reference.
Points will be rewardedBAPI_DELIVERYPROCESSING_EXEC
cheers
Aveek -
FM/BAPI for Packing in Inbound Delivery
Hi,
I can´t find a FM/BAPI for packing of handling units in the inbound delivery.
Is there any information that you can help me with?
BR,
ChristianCheck if this works for u.
BAPI_HU_PACK -
BAPI for VL31N:Create Inbound Delivery
Hi all,
Please give the BAPI for VL 31N: Create Inbound delivery transaction
thanksNo bapi but you can use this function module GN_DELIVERY_CREATE
Select the data required - see below
select ebeln ebelp menge meins matnr werks lgort bstae loekz elikz
lmein umrez umren insmk pstyp sobkz knttp kzfme kzvbr
ematn mfrnr mfrpn emnfr cuobj uebto untto uebtk bwtar idnlf
txz01 mfrgr gewei voleh ntgew brgew volum ean11 aktnr abeln
abelp aurel matkl upvor uptyp uebpo wepos
into corresponding fields of table xekpo_short
from ekpo
where ebeln = i_ebeln
and ebelp = i_ebelp.
if sy-subrc ne 0.
e_rc = 4.
else.
read table xekpo_short index 1.
call function 'ME_EKKO_SINGLE_READ'
exporting
pi_ebeln = xekpo_short-ebeln
importing
po_ekko = ekko
exceptions
no_records_found = 1
others = 2.
if sy-subrc ne 0.
e_rc = 4.
elseif ekko-bstyp ne 'F' and ekko-bstyp ne 'L'.
e_rc = 4.
endif.
endif.
clear xvbsk.
xvbsk-mandt = sy-mandt.
xvbsk-ernam = sy-uname.
xvbsk-erdat = sy-datum.
xvbsk-uzeit = sy-uzeit.
xvbsk-smart = 'L'.
*- Nummer VBSK vergeben -
select single * from tvsa where smart = xvbsk-smart.
if sy-subrc = 0.
call function 'NUMBER_GET_NEXT'
exporting
nr_range_nr = tvsa-numki
object = 'RV_SAMMG'
importing
number = xvbsk-sammg
exceptions
others = 01.
if sy-subrc ne 0.
message e700(me) with tvsa-numki text-007.
endif.
else.
message e700(me) with space text-007.
endif.
data: h_grkor like lips-grkor, "Liefergruppe "386409
h_bsmng like ekpo-menge. "Bestellmenge übergeordnete Pos.
if not ekko-lifnr is initial.
call function 'VENDOR_MASTER_DATA_SELECT_12'
exporting
pi_lifnr = ekko-lifnr
pi_ekorg = ekko-ekorg
importing
pe_lfm1 = lfm1
exceptions
no_entry_found = 1
others = 2.
xkomdlgn-vsbed = lfm1-vsbed.
else.
clear xkomdlgn-vsbed.
endif.
xkomdlgn-lifnr = ekko-lifnr.
xkomdlgn-inco1 = ekko-inco1. "363954
xkomdlgn-inco2 = ekko-inco2. "363954
xkomdlgn-exnum = ekko-exnum. "363954
xkomdlgn-bukrs_best = ekko-bukrs. "363954
xkomdlgn-matnr = xekpo_short-matnr.
xkomdlgn-werks = xekpo_short-werks.
xkomdlgn-lgort = xekpo_short-lgort.
xkomdlgn-charg = ?
xkomdlgn-vrkme = xekpo_short-meins.
xkomdlgn-meins = xekpo_short-lmein.
xkomdlgn-umvkz = xekpo_short-umrez.
xkomdlgn-umvkn = xekpo_short-umren.
if xekpo_short-matnr eq space. "386409
xkomdlgn-meins = xekpo_short-meins.
xkomdlgn-umvkz = 1.
xkomdlgn-umvkn = 1.
endif.
xkomdlgn-insmk = xekpo_short-insmk.
xkomdlgn-kzfme = xekpo_short-kzfme.
xkomdlgn-kzvbr = xekpo_short-kzvbr. "note 384051
xkomdlgn-lfimg = p_lfimg.
xkomdlgn-lfdat = p_eindt.
xkomdlgn-vgbel = xekpo_short-ebeln.
xkomdlgn-vgpos = xekpo_short-ebelp.
xkomdlgn-lfart = gf_dlv_type.
xkomdlgn-vgtyp = 'V'.
xkomdlgn-kzazu = 'X'. "??? what's that for ????
xkomdlgn-knttp = xekpo_short-knttp.
xkomdlgn-sobkz = xekpo_short-sobkz.
if xekpo_short-matnr is initial or xekpo_short-pstyp = '6'.
xkomdlgn-posar = 'B'.
endif.
xkomdlgn-ematn = xekpo_short-ematn.
xkomdlgn-mfrnr = xekpo_short-mfrnr.
xkomdlgn-mfrpn = xekpo_short-mfrpn.
xkomdlgn-emnfr = xekpo_short-emnfr.
xkomdlgn-cuobj = xekpo_short-cuobj.
xkomdlgn-uebto = xekpo_short-uebto.
xkomdlgn-untto = xekpo_short-untto.
xkomdlgn-uebtk = xekpo_short-uebtk.
xkomdlgn-bwtar = xekpo_short-bwtar.
xkomdlgn-kdmat = xekpo_short-idnlf.
xkomdlgn-arktx = xekpo_short-txz01.
xkomdlgn-mfrgr = xekpo_short-mfrgr.
xkomdlgn-gewei = xekpo_short-gewei.
xkomdlgn-voleh = xekpo_short-voleh.
xkomdlgn-ntgew = xekpo_short-ntgew * xkomdlgn-lfimg.
xkomdlgn-brgew = xekpo_short-brgew * xkomdlgn-lfimg.
xkomdlgn-volum = xekpo_short-volum * xkomdlgn-lfimg.
xkomdlgn-ean11 = xekpo_short-ean11.
xkomdlgn-aktnr = xekpo_short-aktnr.
xkomdlgn-abeln = xekpo_short-abeln.
xkomdlgn-abelp = xekpo_short-abelp.
xkomdlgn-aurel = xekpo_short-aurel.
xkomdlgn-idnlf = xekpo_short-idnlf.
xkomdlgn-matkl = xekpo_short-matkl.
Leergut-Stückliste übernehmen
clear xkomdlgn-grkor.
clear xkomdlgn-kmpmg.
clear xkomdlgn-uepos.
if xekpo_short-upvor ca '3X'.
h_grkor = h_grkor + 1.
xkomdlgn-grkor = h_grkor.
h_bsmng = xekpo_short-menge.
endif.
if not xekpo_short-uebpo is initial and
xekpo_short-uptyp ca '3X'.
xkomdlgn-uepos = xekpo_short-uebpo.
xkomdlgn-grkor = h_grkor.
if h_bsmng ne 0.
xkomdlgn-kmpmg = xekpo_short-menge / h_bsmng.
endif.
endif.
*- Konsignation - SOBKZ 'K' hart reinsetzen, da von Pstyp abhäng......
if xekpo_short-pstyp eq '2'.
xkomdlgn-sobkz = 'K'.
endif.
Kontierungsfelder
if xekpo_short-sobkz eq 'E' or xekpo_short-sobkz eq 'Q'.
call function 'MMPUR_EKKN_READ_EBELN_EBELP'
exporting
pi_ebeln = xekpo_short-ebeln
pi_ebelp = xekpo_short-ebelp
PI_BYPASSING_BUFFER =
PI_REFRESH_BUFFER =
tables
pto_ekkn_po = xekkn
exceptions
no_records_requested = 1
others = 2.
if sy-subrc eq 0.
read table xekkn index 1.
xkomdlgn-ps_psp_pnr = xekkn-ps_psp_pnr.
xkomdlgn-vbelv = xekkn-vbeln.
xkomdlgn-posnv = xekkn-vbelp.
endif.
endif.
append xkomdlgn. -
BAPI for creation Partial Outbound delivery
Hi Guru
Please suggest me any BAPI's for creating Partial Outbound Delivery
I am working on BAPI_OUTB_DELIVERY_CREATE_SLS but its creating full delivery
Pls suggest me anythg..
Best Regards
Subham AryaHi
For finding the right BAPI, have a look at the following blog:
/people/g.koopmann/blog/2010/03/07/using-bapis
Best regards,
Guido Koopmann -
BAPI for creation of CO-allocation document
Hello,
I want to allocate costs from cost centeres to CO-PA using an own program.
Is there a BAPI creating the allocation document(s) on the cost Center as well as on the CO-PA side?
I looked into an allocation cycle (KEU1) executed it (KEU5) but the coding was too complicated for me to see anything.
do not want to use activity types.
Thanks a lot for any help.
ThomasHi Bulut,
I know that one. It requires a primary cost element.
Do you know a BAPI which
a) offers the CO-PA Segment and
b) can be used with a secondary cost element?
Thanks a lot in advance.
Thomas -
Creation of Inbound Delivery with reference from PO
Hi,
I use this FM-BBP_INB_DELIVERY_CREATE for creation of inbound delivery. Delivery date is same Actual GR date means it's working fine. But i give less than or greater than Actual GR date means it shows following error,
'Acknowledgment for PO item 10028 00010 contains date variance'
Please tell me how to correct this error.Otherwise tell me correct FM/BAPI to create inbound delivery with reference from POHi Anjaneya,
My business process is,(In MM side)
I create one purchase order(me21n) mention Delivery Date is 24.08.2011 and Delivery Qty is 20 etc......And raise the po to vendor.
In vendor side, check the po details and perform confirmation process i.e creation of inbound delivery using FM BBP_INB_DELIVERY_CREATE. I give the following inputs,
Import
IS_INB_DELIVERY_HEADER -DELIV_DATE = 26.08.2011
Tables
IT_INB_DELIVERY_DETAIL -MATERIAL = M1
IT_INB_DELIVERY_DETAIL -DELIV_QTY = 20
IT_INB_DELIVERY_DETAIL-UNIT = EA
IT_INB_DELIVERY_DETAIL-PO_NUMBER = 0000010028
IT_INB_DELIVERY_DETAIL -PO_ITEM = 00010
If run this FM shows the following error
' Acknowledgment for PO item 0000010028 00010 contains date variance'
Please tell me how to correct this error. -
Please Help me How write the BDC program for the MIGO inbound Delivery
Please help me how to write bdc program for the MIGO Inbound Delivery in 4.7EE Version. Please help me.
Not in LSMW. Required call transaction or Session Method. Please help me.
MohanRun transaction BAPI . Select Logistics Execution/Shipping/InboundDelivery/SaveReplica.. You can use function module BAPI_INB_DELIVERY_SAVEREPLICA in your ABAP program.
-
Creation of Inbound delivery mandatory for ASN process in classic scenario?
Dear Experts,
We are going for classic scenario for our green field SRM implementation process. Our client is not using ASN process in their existing MM process. However, they are now looking for an oppurtunity to enable Suppliers to trigger ASN using SUS. In such case, is creation of inbound delivery from Buyer side a mandatory process?
Is the below the process correct?
PO -> ASN (Supplier using SUS) -> Inbound delivery (Optional) -> Goods Receipt (Mandatory) -> Invoicing.
Here, I understand that Goods receipt can be verified against the PO or via Inbound delivery to PO. ASN will inform the store keeper in advance about impending goods receipt and smoothen the confirmation process.
Could you please comment on the above process? Could you please suggest the best practices followed here?
Thanks and regards,
Ranjan
Ranjan SutradharHey Ranjan!,
You are on track.
The process flow you have shown is true. ASN is available as a standard as part of the MM-SUS process. It makes the buyer aware of any delays in delivery or to make arrangements on shipping docks to receive goods on a said date etc.
Regards,
Nikhil -
Bapi for vl01no create outbound delivery without order reference
Hi Guru's, i need help, I'm looking for BAPI VL01NO
Any suggestions?
Thanks for everything
Edited by: GaBo_s Gabo on Sep 22, 2009 8:48 PMHi,
Following is the sample code for creation of outbound delivery Using BAPI 'BAPI_DELIVERYPROCESSING_EXEC'
Which may be helpful.
PARAMETERS: p_vbeln LIKE vbak-vbeln.
DATA: BEGIN OF t_vbap OCCURS 0,
vbeln LIKE vbap-vbeln,
posnr LIKE vbap-posnr,
kwmeng LIKE vbap-kwmeng,
matnr LIKE vbap-matnr,
werks LIKE vbap-werks,
END OF t_vbap.
DATA: t_request TYPE STANDARD TABLE OF bapideliciousrequest
WITH HEADER LINE.
DATA: t_created TYPE STANDARD TABLE OF bapideliciouscreateditems
WITH HEADER LINE.
DATA: t_return TYPE STANDARD TABLE OF bapiret2 WITH HEADER LINE.
SELECT vbeln posnr kwmeng matnr werks
INTO TABLE t_vbap
FROM vbap
WHERE vbeln = p_vbeln.
LOOP AT t_vbap.
t_request-document_numb = t_vbap-vbeln.
t_request-document_item = t_vbap-posnr.
t_request-quantity_sales_uom = t_vbap-kwmeng.
t_request-id = 1.
t_request-document_type = 'A'.
t_request-delivery_date = sy-datum.
t_request-material = t_vbap-matnr.
t_request-plant = t_vbap-werks.
t_request-date = sy-datum.
t_request-goods_issue_date = sy-datum.
t_request-goods_issue_time = sy-uzeit.
APPEND t_request.
ENDLOOP.
CALL FUNCTION 'BAPI_DELIVERYPROCESSING_EXEC'
TABLES
request = t_request
createditems = t_created
return = t_return
READ TABLE t_return WITH KEY type = 'E'.
IF sy-subrc = 0.
MESSAGE e208(00) WITH 'Delivery creation error'.
ENDIF.
COMMIT WORK.
READ TABLE t_created INDEX 1.
WRITE: / 'Delivery ', t_created-document_numb, ' created'.
Let me know if any issues.
Thanks & Regards,
Naveen -
Creation of Inbound delivery without Order acknowledgment
Hi,
We have a scenario where we raise Purchase order to Vendor. The Vendor sent the confirmation (Delivery date, qty, etc) via IDOC. This updates the Order acknowledgement and also the confirmation information in PO.
When the Vendo creates a Outbound delivery in this system, it sends another IDOC which creates a Inbound delivery automatically in my system.
In some cases the confirmation IDoc fails. We want that in such case the Inbound delivery should be created unless we get the correct confirmation.
In other words, system should not create Inbound delivery if order acknowledgement fails.
Is this possible in standard SAPHi,
What is the reason for not generating inbound delivery without a confirmation? Wouldn't the business on receiving plant be interested in getting inbound delivery asap, so that they can plan their operations based on the incoming goods details?
I don't think you can control that simply from confirmation control key. There is the 'expected sequence' but it does not stop the process if you proceed without confirmation.
Note that there are lots of other complications if there was such a requirement. What if first item is fully confirmed, but another is not. Would you like to create inbound delivery only for the confirmed item?
And what for Scheduling Agreements? The confirmations/inbound deliveries are at item level only (and not at delivery schedule line). So you don't fully control what quantities were confirmed and which are still 'open' for confirmation.
If you want to apply such a logic, then most probably custom solution at inb. delivery creation would be required.
Regards,
Dominik Modrzejewski -
BAPI for Creation of inspection lot
I have two scenario:-
1.Can any body help to find BAPI for creation of Inspection lot for the material under PO envisaged for PDI.
2. Can any body find me a BAPI or FM which can creates inspection lot in QALS table without inspection lot origin under 01 i.e. 0101 or Z01SI01.
My objective is to creation inspection lot without assigning Inspection type of Z01SI01 or Z01SI02 and so on in the material code under a respective Plant 1004 or 1005 0r 1006 so on.
In my Z Development for creation of inspection lot BDC is run for QA01 as this code created inspection lot on when material code has inspection type Z01SI01 i.e. location of source inspection and vendr code particular classification under 010 vendor class inspection type Z01SI01. System search both the inspection type for both material and vendor then create inspection lot in QALS table by assiging inspection matching inspection on the lot.
I want to get rid of assignment of inspection on the materilal. If any BAPI or FM is avalable for creation of inspection without assigning inspection type on material code. I want to create inspection lot in which Inpsection type assignment can be done based on vendor class only.
YPB2. Can any body find me a BAPI or FM which can creates inspection lot in QALS table without inspection lot origin under 01 i.e. 0101 or Z01SI01.
I am very sure that this is not possible.You can not create inspection lot without inspection lot origin or inspection type.
Regards
Sujit -
BAPI for Creation of Maintenance Plan (TCode - IP01)
Hello
Kindly help me with the BAPI for Creation of Maintenance Plan (TCode - IP01)
Thanks and Regards
AvishekHi
Check Tcode: IBIP. and LSMW method and below link it may be helpful.
[link|Re: LSMW for uploading equipment.]
Thanks,
Asit Purbey.
Maybe you are looking for
-
Migration questions from Exchange 2007 to Exchange 2013
Dear Forum Members, I'd ask just two short questions, regarding a migration from Small Business Server 2008 (Exchange 2007) to 2013. We installed the two Exchange 2013 servers, configured a DAG and updated every single URL (OWA, ECP, AnyWhere, Autodi
-
I clicked on "Sync Apps" in iTunes inadvertently. Now when I try to reset it, I get the message "Are you sure you don't want to sync apps? All existing apps and their data on the iPad (my iPadname) will be removed."
-
Getting full ZFS support under Solaris 10 3/05
Hello, I have Solaris 10 3/05, and would like to get full ZFS support as easy as possible (ie, without installing all the patches I can get through smpatch). Is it sufficient to add the 122640-05 patch (which is in the recommended cluster) and follow
-
Hi all, I'm just written a mini-program to read the title of a URL, and it works. Problem comes when it accesses a site that is not of English-language. I get garbage characters showing up if I use System.out.println on the title I've just read. It w
-
Unable to modify album art.
I am in the middle of getting album art for all of my music and haven't had any problems until now. I download the images and drag the file onto the music files to apply the art and it worked perfectly until recently. For some inexplicable reason I c