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 phalani
Could some one please suggest on this. ? thanks
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. -
Create Control Cycle(LPK1)
Hello Experts,
Can anybody let me know Is there an Standard SAP Program to load 'Control Cycles(LPK1) into SAP?
Thanks for the help.Hi Zaya,
If u check field 'Export Parameter' in search help, that is enough.
Basically the use of import parameter checking is that
whenever a field is selected through search help those values are copied from that screen to the search help which can be used inside search help exit.
'Export Parameter' will pass possible values from search help to the screen for selection.
So, if u do not use Search help exits inside search helps, it is enough to check only 'Export Parameter'.
Thanks.
Edited by: Sap Fan on Sep 23, 2009 4:55 PM -
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
-
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
HirenHi,
please check below
BAPI_HU_CREATE for creation and BAPI_HU_PACK to pack it
Hope it helps you.
Rgds,
Kris. -
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 -
BAPI -for Creating EXCISE INVOICE AT DEPOT tcode 'J1IG
Hi All,
Is there any BAPI for Excise Invoice Creation at depot Tcode is J1IG
Thanks,
SatishreddyHi,
Please try this Function Module
J_1I4A_CREATE_EXCISE_INVOICE
Hope it helps.
Regards
Hiren K.Chitalia -
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
-
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 Replacement for the BDC calling XK01, XK02 tcodes
Hi,
I am in an Upgrade project. I need to replace a BDC which is calling the transaction codes XK01 and XK02 with BAPI.
I found two BAPIs 'BAPI_VENDOR_CREATE' and 'BAPI_VENDOR_EDIT' but they are used to create and change Vendor master online.
Please let me know if you know any BAPI which I can use to replace my BDC.
Thanks & Regards,
Siva.Hi,
The function modules VENDOR_INSERT/ VENDOR_UPDATE are not robust; there is direct table update with no locking mechanism. Please let me know if there is any other solution for this.
Thanks & Regards,
Siva.
Maybe you are looking for
-
How do I save a Report to file using Report Generation vi's?(not HTML)
Hi, Sorry about re-stating the problem. I am using the Report Generation vi's to create a report. There is an option to save HTML reports to file, however I must use Standard Report because I need to print in Landscape mode. HTML reports will not p
-
Publishing and Subcribing in Appleworks 6
Appleworks 6 does not handle publishing and subcribing, and Appleworks 5 does. I require publishing and subcribing to help me use a database/wordprocesser to create a document. What can I do to replace / addto Appleworks 6 so that I han be capable to
-
EPM 11.1.2 hyperion integration services is not started
Hi People, I have an issue in my EPM 11.1.2, sometimes the service "Hyperion Integration Services" not start up. I dont know if I need this service running... all others services are running sucessfully. Does anyone know why would I need that service
-
I think there should be a feature on iTunes where you can put in the lyrics to a song, then sync them to your iPod. Once you sync them, you could then view the lyrics to the song you're listening to. Now you can sing along!
-
Problems with FPS on Macbook Pro Retina while playing WoW
Hi, So, just a few days ago, I could play World of Warcraft on a highly populated server with around 30 FPS at all times on ultra graphics. All of a sudden, when I logged in last night, I got between 5-8 FPS if I was lucky, and had to turn my graphic