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,
Christian
Check if this works for u.
BAPI_HU_PACK
Similar Messages
-
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 -
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 -
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 -
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 Packing HU in delivery
Hi Friends,
I am trying to built interface where in the BAPI should change the delivery VL02N and PACK with input HU data
Does anybody know how technically this can be achieved? Which BAPI and FM i can use ?
Thanks
DiwakarHi Keshav,
Thanks for your reply, but i would have HU already created in SAP system i will just pass on HU number to pack transaction
In that case do i need to use HU_Create?
Can i pass HU (Pallet id) for HU_Pack FM?
Thanks
Diwakar -
HU : external HU to be packed in inbound delivery
hi experts,
scenario : process order goods receipt will be done to HU managed sloc. no WM inegration .
inbound delivery will be created at the time of proces order GR.
we will get HU number from legacy , we need to pack that HU in the inbound delivery . there is no manual intervation .
request you to please how can have the HU in the inbound delivery which FM or Badi can help me . also need to pack it .
Regards,
satishUse BAPI To crete external handling iunits in SAP.Get the Idoc from legasy system pass the HU information .
Use BAPI HU Create it should work to update the handling units in delivery.
HU_BASIC_BAPIS Basic BAPIs for HUs
BAPI_HU_CHANGE_HEADER Change Handling Unit Header Data
BAPI_HU_CREATE Create Handling Unit with Items
BAPI_HU_DELETE BAPI for Deleting Handling Units
BAPI_HU_DISPLAY_HISTORY Displays HU History
BAPI_HU_GETLIST Read Handling Units from the Database
BAPI_HU_GET_LIST_MSG Select Handling Unit Output
BAPI_HU_PACK BAPI for Packing an Item into an HU
BAPI_HU_PROCESS_MSG HU Output Processing
BAPI_HU_PROCESS_MSG_DIRECT Select and Process Handling-Unit Outputs
BAPI_HU_REPACK Repack HUs and HU Items
BAPI_HU_UNPACK BAPI for Unpacking an Item from an HU
BOR_HU_DISPLAY Display an HU in Dialog Mode -
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.
-
BAPI for Packing proposal in Sale order
Hi,
I am currently using BAPI_HU_CREATE, BAPI_HU_PACK and WS_DELIVERY_UPDATE_2 to update packing in delivery.
Is there any BAPI to do packing proposal in sale order ? BAPI_SALESORDER_CHANGE does not have any tables for packing
ThanksHi,
I have already used the same BAPIs for packing and i am able to update packing in delivery using WS_DELIVERY_UPDATE.
But in case of sale orders, i can use BAPI_HU_CREATE and BAPI_HU_PACK....to pack
But what BAPI i should use to update the sale order ??? BAPI_SALESORDER_CHANGE does not have any tables to pass packing proposal data !!
Thanks -
Hi all
I am following a template which mentions
1)perform a goods recpt.(MIGO/ 'other'), with some system relevant data
2)pack the inbound delivery (vl32n)
afaik , by executing step 1, we get a Material document #, but step 2 needs an inbound delivery. so where did this happen between point 1 & 2 ?
or is the inbound delivery mentioned somewhere in the mat. doc ?
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? -
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 -
Automatic packing in inbound delivery
Hello,
I am working on a business process wherein the requirement is to create and pack handling units programatically during creation of inbound delivery.
The creation of handling units has to be as per packing instructions.The determination of packing instructions should also be automatic.
Kindly let me know which BAPI/FM can be used for this.
Thanks,
PankajHi,
You can use OFP4 to define automatic paking during inbound delivery!
Good luck
Tao -
Automatic creation of TO's for Handling Unit Inbound Delivery -del type HID
Hi Guru's,
I would like to create the putaway TO's for a Handling Unit inbound delivery automatically (delivery type HID). This means at the moment of the creation of the Inbound Delivery. The packing is also automatically done by the customizing of the delivery type. Did somebody faced this requirement before?
Thx,
CarlI found the solution:
Choose Customizing activity Define Output Types for Inbound Delivery, and define output type WMTA. Enter the following values in the detail view of output type WMTA under General Data:
Enter an existing Access sequence. Access sequence 0001 is predefined in the standard system.
Set the indicator Access to conditions.
Set the indicator Partner-indep. output.
Save your entries.
In the menu tree, choose the entry Processing Routines in the Customizing activity Define Output Types, and enter the following values:
Choose entry 8 (special function) for the indicator Transmission Medium.
Enter RLAUTA20 in the field Program.
Enter ENTRY in the field Form Routine.
Save your entries.
Choose the Customizing activity Maintain Output Determination Procedure.
Define a procedure and enter the output type WMTA in the control view of the procedure. The procedure E10001 is predefined in the standard system.
To define a suitable condition record for inbound deliveries,
choose Logistics -> Materials Management -> Purchasing -> Master Data ->
Messages -> Inbound Delivery -> Create from the SAP menu.
Enter the output type WMTA.
Enter output medium 8 (special function) for delivery type Inbound Delivery.
Select the desired Date/Time.
Select the desired Language.
Cheers,
Carl -
Hi all,
i have created inbound delivery, then i m trying to pack the items the system propose the packaging item but it does not pack,
and no error message comes, is this any configure is missing.my problem is that i m trying to pack inbound delivery items, system determine the packing material but it doesn't generate any HU No. in addtion infomation message comes says
No handling units were found for this document
Message no. HUDIALOG017 -
Bapi for Goods Receipt - Outbound Delivery
Hello all,
I am looking for a Bapi for <b>Goods Receipt for Outbound Delivery</b>.
I have searched the forum but found BAPIs only for GR for Inbound Delivery, GR for purchase order etc. But not for GR for Outbound Delivery.
Can someone guide?
Thanks and Regards,
ReenaHi Reena,
use this code....
*& Report ZSAN_BAPI_GOODSMVT_CREATE *
REPORT ZSAN_BAPI_GOODSMVT_CREATE .
DATA: GOODSMVT_HEADER LIKE BAPI2017_GM_HEAD_01,
" Material Document Header Data
GOODSMVT_CODE LIKE BAPI2017_GM_CODE,
" Assign code to transaction for BAPI goods movement
MATERIALDOCUMENT LIKE BAPI2017_GM_HEAD_RET-MAT_DOC,
" Number of Material Document
GOODSMVT_ITEM LIKE BAPI2017_GM_ITEM_CREATE OCCURS 0 WITH HEADER LINE,
" Create Material Document Item
RETURN LIKE BAPIRET2 OCCURS 0 WITH HEADER LINE
" Return table for messages
*Fill values in header
GOODSMVT_HEADER-PSTNG_DATE = '20030825'.
GOODSMVT_HEADER-DOC_DATE = '20030802'.
*Fill GOODSMVT_CODE
GOODSMVT_CODE-GM_CODE = '05' .
*Fill Item Table
GOODSMVT_ITEM-MATERIAL = '100-100'.
GOODSMVT_ITEM-PLANT = '1000'.
GOODSMVT_ITEM-STGE_LOC = '0001'.
GOODSMVT_ITEM-MOVE_TYPE = '501'.
GOODSMVT_ITEM-ENTRY_QNT = '50'.
GOODSMVT_ITEM-ITEM_TEXT = 'Test Sanket'.
*GOODSMVT_ITEM-COSTCENTER = '1000'.
APPEND GOODSMVT_ITEM.
*Create Good's movement
CALL FUNCTION 'BAPI_GOODSMVT_CREATE'
EXPORTING
GOODSMVT_HEADER = GOODSMVT_HEADER
GOODSMVT_CODE = GOODSMVT_CODE
IMPORTING
MATERIALDOCUMENT = MATERIALDOCUMENT
TABLES
GOODSMVT_ITEM = GOODSMVT_ITEM
RETURN = RETURN.
*Commit BAPI
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
EXPORTING
WAIT = 'X'.
*Display Goods movement number
FORMAT COLOR 6 INVERSE ON.
READ TABLE RETURN WITH KEY TYPE = 'E'.
IF SY-SUBRC = 0.
WRITE: /,'ERROR! Goods movement not created'.
ELSE.
WRITE: /,'Goods movent number',MATERIALDOCUMENT COLOR 5,
'posted for material',GOODSMVT_ITEM-MATERIAL.
ENDIF.
FORMAT COLOR OFF INVERSE OFF.
If useful reward me with points.
Thanks
Sanket.
Maybe you are looking for
-
Error in scenario for client Java Proxy
2006-04-28 15:30:49 Success Java proxy runtime (JPR) is transferring the request message to the messaging System 2006-04-28 15:30:49 Success Application attempting to send an XI message synchronously using connection JPR. 2006-04-28 15:30:49 Success
-
I can't use the main menu, the menu button is not responding, as if it is blocked, the backlight sometimes turns on suddenly and then turn off by itself. I been having a lot of problems with the battery, but now that i've solved that the menu is not
-
Coming up in pivot but not in chart
hi everyone , i am having one view selctr as taking two cols which is number and the other is %.... when am selecting number it reflects to both pivot and chart below in the report but when i am selecting %(second col) in view selectr, reflects only
-
Nokia N8 - Renault Radiosat Bluetooth
I have my Nokia N8 paired with my Renault Radiosat Bluetooth Handsfree Kit, built into my car. The problem is that the phone is randomly disconnecting and reconnecting again. Could someone please tell me why this is happening and how I can solve this
-
How to 'uninstall' themes from 5800. Need memory..
I have like 20 themes installed but this is slowing down my phone and i want to get rid of them, i cant work it out. thanks for any help.