BAPI (S) for Create HU & Perform Packing
Hi All,
Can anyone please let me know what is the BAPI for creating HU. I need to create Handling unit in Warehouse Management also immediately as soon as HU is created I need to perform packing.
Are there different BAPI for both the functions or any Function Module that can help it.
Thanks in Advance
Hiren
Hi,
please check below
BAPI_HU_CREATE for creation and BAPI_HU_PACK to pack it
Hope it helps you.
Rgds,
Kris.
Similar Messages
-
Bapi's for creating Maintenance order in IW31 with notification
Hi All,
Is there any bapi's for creating Maintenance order with Notification number in the transaction iw31.
Also is there any bapi's for creating measurement document.
Points will be awarded.
Regards,
vinothRFC MeasDocument: Individual Processing, Create
MEASUREM_DOCUM_RFC_SINGLE_001
RFC MeasDocument: Individual Processing, Change/Display or Read
MEASUREM_DOCUM_RFC_SINGLE_002 -
Finding FM/BAPI/RFC for Create Inbound Delivery(vl31n).
Hi all,
i need for a FM/BAPI/RFC for Create Inbound Delivery(vl31n) or ASN
where in import Parameter i have to pass -
*vendor no*
*PO no*
*External ID no*
*Delivery date*
*TransPlanngDate*
*BillOfLad*
*GR/GI Slip*
in Export i need ASN no and in tables we can use ITEM details.
Regards,
Sunil sahoo.Hi,
Check the below link
[https://forums.sdn.sap.com/click.jspa?searchID=16938983&messageID=5780492]
Regards,
Surinder -
Remote-Enabled BAPI/RFC for creating "Request Special Payment (SPSP)"
Is there any Remote-Enabled BAPI/RFC for creating "Request Special Payment (SPSP)" which is one of the Personnel Change Requests under MSS ?
Thanks.closing to post another question.
-
Sample Bapi code for creating orders
HI all,
ive been working on creating an order using idoc_input_orders and couldnt do it because of 2 fields. now changed my decission and thinking of writing a bapi to do the same. has anybody got the sample code for mapping and filling in the bapis before calling bapi for creating an order. Could somebody help me with a sample code and i could use it as a reference before starting coding.
thanks,
KiranSee if this helps.
one order with total sum of effort
clear: l_order_header,
l_salesdocument,
l_order_partners,
l_order_items,
l_order_schdl.
refresh: it_order_items,
it_order_partners,
it_order_schdl,
it_return.
???????? get from material ...
Order header
l_order_header-doc_type = 'ZQBV'.
l_order_header-distr_chan = '10'.
l_order_header-division = '00'.
if g_qals-werk eq '1100'.
l_order_header-sales_org = '1000'.
else.
if g_qals-werk eq '3100'.
l_order_header-sales_org = '3000'.
else.
message i001(00) with text-005.
endif.
endif.
l_order_header-purch_no_c = g_qals-prueflos. " <= lot
Partner data
l_order_partners-partn_role = 'AG'.
l_order_partners-partn_numb = g_qals-kunnr.
append l_order_partners to it_order_partners.
Order items => only one
l_order_items-itm_number = 10.
l_order_items-material = g_qals-matnr.
l_order_items-target_qty = 1.
append l_order_items to it_order_items.
Schedules for quantity
l_order_schdl-itm_number = 10.
l_order_schdl-req_qty = 1. " <= only 1 !
append l_order_schdl to it_order_schdl.
Conditions for value
l_order_conditions-itm_number = 10.
l_order_conditions-cond_type = 'PR00'.
l_order_conditions-cond_value = g_effort_sum.
l_order_conditions-currency = g_effort_unit.
append l_order_conditions to it_order_conditions.
BAPI to create sales order
CALL FUNCTION 'BAPI_SALESORDER_CREATEFROMDAT2'
EXPORTING
SALESDOCUMENTIN =
ORDER_HEADER_IN = l_order_header
ORDER_HEADER_INX =
SENDER =
BINARY_RELATIONSHIPTYPE =
INT_NUMBER_ASSIGNMENT =
BEHAVE_WHEN_ERROR =
LOGIC_SWITCH =
TESTRUN =
CONVERT = ' '
IMPORTING
SALESDOCUMENT = l_salesdocument
TABLES
RETURN = it_return
ORDER_ITEMS_IN = it_order_items
ORDER_ITEMS_INX =
ORDER_PARTNERS = it_order_partners
ORDER_SCHEDULES_IN = it_order_schdl
ORDER_SCHEDULES_INX =
ORDER_CONDITIONS_IN = it_order_conditions
ORDER_CONDITIONS_INX =
ORDER_CFGS_REF =
ORDER_CFGS_INST =
ORDER_CFGS_PART_OF =
ORDER_CFGS_VALUE =
ORDER_CFGS_BLOB =
ORDER_CFGS_VK =
ORDER_CFGS_REFINST =
ORDER_CCARD =
ORDER_TEXT =
ORDER_KEYS =
EXTENSIONIN =
PARTNERADDRESSES =
if not l_salesdocument is initial.
order successfully created
message i001(00) with text-001 l_salesdocument.
endif.
endif. -
BAPI's for creating of Project and WBS elements in SAP system.
Hi Guys,
I was able to use a Wrapper FM for creating the
We have a FM which combines 5 different BAPIs
FM/Wrapper: "Z_LEED_PROJ_WBSELEMT_CREATE"
1) BAPI_PS_INITIALIZATION
2) BAPI_BUS2001_CREATE
3) BAPI_BUS2054_CREATE_MULTI
4) BAPI_PS_PRECOMMIT
5) BAPI_TRANSACTION_COMMIT
Requirement: To automate the process of creation of Project and WBSE(Tasks) and create an entries in the PS tables based on the user inputs from the user interface in Visual Composer.
Basically user should be able to create the Projects and WBSE.
Issue: We were able to create the Project with the FM (BAPI_BUS2001_CREATE) but having the issue with the creation of WBSE(Tasks), the user will be entering the inputs for Project Definition, Project Profile and WBSE which are to be created in the UI.
The problem is we are not able to create the WBS elements using BAPI BAPI_BUS2054_CREATE_MULTI .i will send u the code below .Can anybody correct
CLEAR it_return.
CALL FUNCTION 'BAPI_BUS2054_CREATE_MULTI'
EXPORTING
I_PROJECT_DEFINITION = i_project_definition-project_definition
TABLES
IT_WBS_ELEMENT = it_wbs_element
ET_RETURN = it_return.
APPEND LINES OF it_return[] TO et_return[].
Thanks,
Gopi.Hi Ramiro,
This is the entire FM code which is below.
""Local Interface:
*" IMPORTING
*" VALUE(I_PROJECT_DEFINITION) LIKE BAPI_BUS2001_NEW STRUCTURE
*" BAPI_BUS2001_NEW
*" TABLES
*" IT_WBS_ELEMENT STRUCTURE BAPI_BUS2054_NEW
*" ET_RETURN STRUCTURE BAPIRET2 OPTIONAL
*" EXTENSIONIN STRUCTURE BAPIPAREX OPTIONAL
*" EXTENSIONOUT STRUCTURE BAPIPAREX OPTIONAL
DATA: it_return LIKE STANDARD TABLE OF BAPIRET2 WITH HEADER LINE,
v_error TYPE boolean VALUE IS INITIAL.
CLEAR: et_return, it_return.
CALL FUNCTION 'BAPI_PS_INITIALIZATION'.
Do checks for creating project definition
CALL FUNCTION 'BAPI_BUS2001_CREATE'
EXPORTING
I_PROJECT_DEFINITION = i_project_definition
TABLES
ET_RETURN = it_return.
APPEND LINES OF it_return[] TO et_return[].
LOOP AT it_return.
IF it_return-type CA 'EAX'.
CALL FUNCTION 'BAPI_TRANSACTION_ROLLBACK'.
v_error = 'X'.
EXIT.
ENDIF.
ENDLOOP.
IF v_error = 'X'.
EXIT.
ENDIF.
Do checks for creating WBS elements
CLEAR it_return.
CALL FUNCTION 'BAPI_BUS2054_CREATE_MULTI'
EXPORTING
I_PROJECT_DEFINITION = i_project_definition-project_definition
TABLES
IT_WBS_ELEMENT = it_wbs_element
ET_RETURN = it_return.
APPEND LINES OF it_return[] TO et_return[].
LOOP AT it_return.
IF it_return-type CA 'EAX'.
CALL FUNCTION 'BAPI_TRANSACTION_ROLLBACK'.
v_error = 'X'.
EXIT.
ENDIF.
ENDLOOP.
IF v_error = 'X'.
EXIT.
ENDIF.
CALL FUNCTION 'BAPI_PS_PRECOMMIT'
TABLES
ET_RETURN = it_return.
APPEND LINES OF it_return[] TO et_return[].
LOOP AT it_return.
IF it_return-type CA 'EAX'.
CALL FUNCTION 'BAPI_TRANSACTION_ROLLBACK'.
v_error = 'X'.
EXIT.
ENDIF.
ENDLOOP.
IF v_error = 'X'.
EXIT.
ENDIF.
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
EXPORTING
WAIT = 'X'.
ENDFUNCTION.
can u please look at the code and let me know the changes?
Thanks,
Gopi. -
Required BAPI's for creating travel request
Hi ,
Can you please help on below issue.
I need to know what are the BAPI'S are supporting for creating travel request.
Thanks,
Kumar.Vhttp://scn.sap.com/thread/1738366
-
Any bapi available for Create Employee Trip
hi ,
please tell me for Create Employee Trip any bapi is available.
if it is there means please tell me.Check this one -
BAPI_TRIP_CREATE_FROM_DATA
Regards,
Amit -
Standard BAPI/RFC for create and create material
Hi All,
Can you please let me know what standard RFC/BAPIs can be used to create and change Material Master from Portal/ WebDynrpo for Java.
Thanks,
VamshiBAPI_MATERIAL_SAVEDATA
-
BAPI / FM for creating control cycles in WM(Tcode LPK1)
Hi Experts, As per my requirement i need to develop a conversion object to create control cycles in WM either with BAPI or any std. FM . can you please do help me out this is urgent for me.
TQ phalaniCould some one please suggest on this. ? thanks
-
Reg. Bapi FM for creating invoice
Hi Friends
If any body tell me how to create an invoice with reference number and maintain our external invoice number.
Advance Thanks
KrishnaHi,
use this BAPI
BAPI_INCOMINGINVOICE_CREATE
or
BAPI_ACC_INVOICE_RECEIPT_POST
hope helpful
Raghunath.S -
BAPI/Idoc for creating Business event
Hi,
Can we create a business event using any BAPI/Idoc without using the transaction PV10?
ThanksHi Ravish,
BAPI_BUPA_CREATE_FROM_DATA which generates a general Business Partner. BAPI_BUPA_ROLE_ADD. to add a different role
Regards
Narayana -
BAPI for create/change Routing
Hi ,
Are there any BAPI's for creating/ changing routings.
Regards,
Divyanshuhi,
<b>BAPI_ROUTING_CREATE</b>"used for creation.
Regards
vijay -
Standard BAPI for creating groups in SAP using JAVA and JCO
Hi,
I have a requirement for creating user groups in SAP from java using JCO but i am unable to find the standard BAPI name to creating user groups.
Can anyone let me know whats the bapi name for creating user groups in SAP?
Thanks in advance,
AniHi,
I think you can search for it or you can create a thread at ABAP section. -
Which bapi for create activity type
i use ecc 4.6
i just find
BAPI_ACTIVITYTYPEGRP_CREATE
for create activity group
but i do not find the bapi for create the activiy type
which bapi is for create activiy type
if the sap does not supply this bapi
wich method to create the activity type (i know shdb can do it)BAPI_ACTTYPE_CREATEMULTIPLE
Maybe you are looking for
-
About every year of so the 'Brightness/Contrast' screen becomes unexplainably absent while using my PhotoShop 7.0 in XP. When I click on 'Brightness/Contrast' the eyedropper becomes active as usual but the dialog screen with the two 'sliders' for bri
-
HT1338 i want to change my Apple ID
i want to change my Apple ID because i left the job, but my id is official but the payment is made by me so i need the software so the id has to be changed from one to another please help me
-
Getting an error when trying to run iphone configuration utility
I reinstalled iphone config utility 2.2 since v3.7 does not work; now I am gettin an error that states "the ordinal 2760 could not be located in the dynamic link library LIBEAY32.dll.
-
Control Material Master Views with IDOC load
Hello all, I am wondering how best to control which views are available during IDoc processing for Material Master. For example I just want the Basic Data 1 and Basic Data 2 tabs, I am only populating the relevant data and placing a value of u201CKu
-
Deskjet 3050A/3056A "Please Upgrade Product"
There is currently an issue with the Deskjet 3050A or 3056A where it is asking you to upgrade the product when enabling web services. This issue has just recently started occuring, and happens to also be at the same time as the Black Friday sales. Cu