BAPI for Service order creation
Hi ,
Please tell me if any Bapi for service order creation , T-code : IW31
regards,
Prakash
Hi Prakash,
Have a look on the following BAPIs:
BAPI_ISUSMORDER_CREATEMULTIPLE - Create Service Orders
BAPI_ALM_CONF_CREATE - Create confirmation for maintenance/service order
WTY04_CREATE_SERVICE_ORDER - Create Service order via function module.
Hope this will help.
Regards,
Nitin.
Similar Messages
-
IDOC/BAPI for Production order creation from Legacy system
Hi all
We are using an interface to create Production orders from legacy to SAP. Would you recommend an IDOC or a BAPI to create Production orders. If IDOC or BAPI then could you please mention which one?
thanks a bunchHi John,
For your purposes, please use BAPI for production order creation from legacy system. There is no standard inbound IDoc available to use. SAP has an IDoc for outbound interface only (message type LOIPRO).
If there is an inbound IDoc available, I would recommend to use an IDoc.
IDoc technology has excellent error handling and will allow you to reprocess an error (if any).
BAPI is also good approach to use and fast in term of processing.
For BAPI approach, you can use BAPI BAPI_PRODORD_CREATE.
Hope this will help.
Regards,
Ferry Lianto -
BAPI for Service Orders Confirmation
Can somebody please provide BAPIS for Service Orders Confirmation and other related BAPIS
Thank youTo create service confirm order use "BAPI_BUSPROCESSND_CREATEMULTI".
Regards,
Animesh -
Fm or bapi for service order confirmation (iw41)
hi,
Can you please tell me a fm or bapi for service order confirmation in iw41HI dido...
you can use CRM_ORDER_MAINTAIN.
you can process any document type you want
regards
Marco -
FM or BAPI for Transfer Order creation in eWM
Hello ALL,
Please provide any FM or BAPI for Transfer Order creation in eWM. i know how to create transfer order in ERP.I tried to find out a FM or BAPI in SCM eWM but failes to get one.
Kindly help.
BR,
Anil..Hi,
Try using FM WS_LM_TRANSFER_ORDER_CREATE.
I hope this is available in ur system
Thanks -
BAPI for Production order creation against wbs element
dear all,
I am using BAPI (BAPI_PRODORD_CREATE) for Production order creation against wbs element.I am putting following input paramters in this
material no,
order type
plant
qty
basic start dt & end dt
wbs
But during GRN it is not taking the account assignment as project stock i.e. its picking movement type 101 but it should be 101Q.
For this what changes are required.
regards
ravi aroraHi,
2 options i can think of:
1. Create a BDC program by recording co10
2. Create a planned order with order type PR using BAPI_PLANNEDORDER_CREATE, specify the WBS element & other details. Now use BAPI_PRODORD_CREATE_FROM_PLORD to create a production order with reference to the planned order created earlier.
I believe option 2 should meet your need. Check & revert.
Regards,
Vivek -
Regarding bapis for sales order creation and modification
Hi,
I am trying to create a syncbo for sales order creation, modification and display. The bapis that I am using are
1.BAPI_SALESORDER_GETLIST
2.BAPISDORDER_GETDETAILEDLIST
3.BAPI_SALESORDER_CREATEFROMDATA1
4. BAPI_SALESORDER_CHANGE
Am I using the correct bapis. When I tried to create a syncbo it gave the following errors
BAPISDORDER_GETDETAILEDLIST does not have RETURN parameter in export or tables parameter
RETURN parameter in Create BAPI Wrapper should refer to structure BAPIRET2
RETURN parameter in GetList BAPI Wrapper should refer to structure BAPIRET2
GetDetail BAPI Wrapper does not have RETURN parameter in export or tables parameter
No Export parameter referring to header structure exists in GetDetail BAPI Wrapper
No Import parameter referring to header structure exists in Create BAPI Wrapper
No Import parameter referring to header structure exists in Modify BAPI Wrapper
No Import parameter referring to a field of header structure exists in GetDetail BAPI Wrapper
No Export parameter referring to a field of header structure exists in Create BAPI Wrapper
No Tables parameter referring to item structure exists in Create BAPI Wrapper
No Tables parameter referring to item structure exists in Modify BAPI Wrapper
I am informed that the above bapis are standard bapis.
I am not sure as to why I am getting the errors.
Does the syncbo require the bapi's to be in a specific format.
What would be the header and item structures for sales order bapis
Regards
Raja SekharHi Raja,
ya , for creating Sync BOs ,our BAPI wrappers must satisfy certain conditions..
just go through this link.
u can use the standard BAPIs of SALES Order in ur Custom BAPI Wrapper
http://media.sdn.sap.com/public/html/submitted_docs/MI/MDK_2.5/content/appdev/smartsync/what_is_a_bapi_wrapper.html
the RETURN must be of type BAPIRET2..
Regards
Kishor Gopinathan -
Please Tell me the Standard Bapi for Purchase Order Creation
Hi,
Please tell me the standard BApi for the PO creation. How to excute the standard Bapi. Please help me.
Regrads
MohanHi Mohan,
Use this BAPI BAPI_PO_CREATE1.
Check this post, you have program aswell
https://forums.sdn.sap.com/click.jspa?searchID=7294168&messageID=1172796
Regards,
Satish -
BAPI for Sales Order Creation.
Hello gurus,
I want to create a sales order using BAPI.
I have tried some BAPI's like BAPI_SALESORDER_CREATEFROMDAT1, BAPI_SALESORDER_CREATEFROMDAT2, BAPI_SALESORDER_CREATEFROMDATA, BAPI_SALESDOCU_CREATEWITHDIA.
But I am not able to update the Miscellaneous Information like Mode of transport(VBAP-OIC_MOT), Forwarding Agent(VBAP-OIC_LIFNR), Base Location(VBAP-OIA_BASELO), Truck Number(VBAP-OIC_TRUCKN), Pipeline trip No.(VBAP-OIC_PTRIP), Pipeline operator´s external batch number(VBAP-OIC_PBATCH).
Is there any other BAPI thru which i can update these fields while creation of Sales Order.
The Fields which I can provide to BAPI as import parameter is:
Order Type(VBAK-AUART),
Contract(VBAK_VGBEL),
SALES Org (VBAK-VGORT),
Dist Channel(VBAK-VTWEG),
Division (VBAK-SPART),
Open Quantity (VBAK-KWMENG)
Plant(VBAP-WERKS)
Storage Location (VBAP-LGORT)
Mode of transport(VBAP-OIC_MOT), Forwarding Agent(VBAP-OIC_LIFNR), Base Location(VBAP-OIA_BASELO), Truck Number(VBAP-OIC_TRUCKN), Pipeline trip No.(VBAP-OIC_PTRIP), Pipeline operator´s external batch number(VBAP-OIC_PBATCH).
Thanks In Advance,
Points will be rewarded for Best Solution......
Yogesh Sharmahi,
I can give u a suggestion .. try it ..
its a quite a long process....
in BAPI_SALESORDER_CREATEFROMDAT2
there is a table EXTENSIONIN...
here u can add append structure and carry on ur sales order creation
Follow the process
Customer Enhancement for VBAK, VBAP, VBEP
Description
You can use this parameter to transfer user-specific enhancments to a BAPI. The customer has to complete the EXTENSION structure and the system automatically continues processing it. If you have not defined any user-specific fields, then you can transfer a blank EXTENSIONIN structure.
Technical information about Customer Enhancements
The following description uses an example to explain how to proceed with customer enhancements to the SD tables VBAK, VBKD, VBAP and VBEP.
The customer has added their own fields to table VBAP using the INCLUDE structure CUTEST. This structure contains 2 fields:
CFIELD1, CHAR 10
CFIELD2, CHAR 3.
The customer also requires that these two fields can be maintained with the BAPI.
1. Maintain structure CUTEST in table VBAP
2. Because the BAPIs work with checkboxes, you must also define a CUTESTX checkbox for the customer structure. It should be structured like this:
Field name Data element
CFIELD1 CHAR1
CFIELD2 CHAR1
3. Define these customer structures in the structures VBAPKOZ und VBAPKOZX using INCLUDE or APPEND.
4. Add the customer structures to the BAPE_VBAP and BAPE_VBAPX BAPI structures using the APPEND technique.
5. Adjust the following structures for customer enhancements to table VBAK:
a) VBAKKOZ
b) VBAKKOZX
c) BAPE_VBAK
d) BAPE_VBAKX
6. Adjust the following structures for customer enhancements to table VBEK:
a) VBEPKOZ
b) VBEPKOZX
c) BAPE_VBEP
d) BAPE_VBEPX
7. Generally, the data should be added to the BAPI interface in the internal communication structures (VBAKKOM, and so on). There, you can process the data in the SD tables (VBAK, and so on).
8. If the EXTENSIONIN parameter contains customer data, you must complete at least the key fields in the relevant standard parameters.
For example:
You want to change customer field VBAP-CFIELD2 for item 20 to "XYZ" in order 4711.
The following entries are expected:
Import: BAPIVBELN-VBELN = '0000004711' Document number
BAPISDHD1X-UPDATEFLAG = 'U' UPDKZ for doc header
Tables: BAPISDITM-ITM_NUMBER = '000020' Item number
BAPISDITMX-ITM_NUMBER = '000020' Item number
+ BAPISDITMX-UPDATEFLAG = 'U' UPDKZ for item
You must complete the EXTENSION table as follows:
STRUCTURE VALUEPART1 1234561234567890123
BAPE_VBAP 0000004711000020 XYZ
BAPE_VBAPX 0000004711000020 X
Further Information
You can find more information in the BAPI programming guide in the chapter for enhancements to BAPIs.
Notes
You must complete the STRUCTURE field with the name of the relevant enhancement structure (BAPE_VBAK, BAPE_VBAP, BAPE_VBEP). You can complete the remaining fields with the append structures from the enhancement structures.
At the moment, you can use the BAPI to store enhancements in the following structures:
VBAK : An enhancement to header data requires an append structure to BAPE_VBAK and an enhancement to structure VBAKKOZ.
VBAP : An enhancement to item data requires an append structure to BAPE_VBAP and an enhancment to structure VBAPKOZ.
VBEP : An enhancement to schedule line data requires an append structure to BAPE_VBEP and an enhancement to structure VBEPKOZ.
VBKD : If you are using an enhancement for header data, you must add an append structure to BAPE_VBAK. You also need to enhance structure VBAKKOZ. If it is for item data, you need to add an append structure to BAPE_VBAP. You must also enhance structure VBAPKOZ.
If you also want to work with checkboxes, each X-structure must also contain an append structure.
For example:
A customer has created an order and wants to include the material long text (50 digits long).
The EXTENSIONIN structure must be completed with BAPE_VBAP. Two fields have fixed definitions in this structure. These are in the VBAP host key (VBELN, POSNR). The customer sets up an append structure that contains field ZMAT50.
Because the VBELN is normally blank when you create an order, the data can look like this:
STRUCTURE |BAPE_VBAP
VALUEPART1 | 000010Customermateriallongtext50
VBELN POSNR ZMAT50 -
BAPI for Purchase Order Creation
Hi All,
Purchase Order creation through BAPI, Auto Po creation. Please advise program.
The requirement is: when we delivery the goods from one plant to another plant,PO should create in second plant with goods what delivered from first plant.
Pranitha
Moderator message : Spec/requirements dumping is not allowed. Thread locked.
Edited by: Vinod Kumar on Sep 30, 2011 3:37 PMHi,
As per u r requirement
you can use : BAPI => BAPI_PO_CREATE with suitable Document Type ( Stock trasnfert : STO )
IF u want to auto po must be created after each delivry in this case you need to use BADI
'MB_MIGO_BADI; In This BAPI There is method : POST_DOCUMENT
In this method u can write code for Auto PO Creation by using BAPI .
Hope This will Resolve u r query.
Thanks and Regads
Santosh -
BAPI for service order create/change
Hi,
I need to create and update service order on release 4.6C. I have searched for available BAPI but did not come up with anything. Searching the OSS and forums, I found that there are function modules BAPI_ALM_ORDER_CREATE and BAPI_ALM_ORDER_MAINTAIN available on release 4.7 . There are notes about downgrading these function modules to 4.6C (Note 655926 is one of them, search ALMBAPI).
My question is, has anybody done this ? What all is part of this downgrade ? There are numerous correction notes, and did you have to apply those ?
Any help will be greatly appreciated.
Regards,
Rajendra SalechaHi Rajendra,
The note 655926 you mentioned, clearly details all the steps involved in downgrading the BAPIs to 46C. You just have to follow the steps in that order and yes, you need to have all the notes that are mentioned in there, unless they are delivered as part of some support pack and you are on that support pack level already.
Srinivas -
BAPI for Production Order creation ?
Hi Experts,
I am new to PP module and as per my requirement I have to:
1. Create Production order in ECC 6.0
After searching BAPI explorer, SDN and other sites I could see that there is no BAPI for Create Production order.
In one of the link I could find FM CLOI_CHANGES_UPL_31 used to create Production order in SAP.
Is there any BAPI to create ??
Can anyone let mw know right FM or BAPI to create Production order with an example.
2. And I have to:
Delete Production order
which BAPI is used for deletion of Prd Ord
BAPI_PRODORD_SET_DEL_INDICATOR or BAPI_PRODORD_SET_DELETION_FLAG
For Confirm Production order - in ECC 6.0 Let mw know the BAPI for this ..
Really helpful if you answer my queries...
Thanks
UdayHi udaya,
use the BAPI 'BAPI_PRODORD_CREATE'
The following BAPIs are available confirmation of production orders:
Entry
Time ticket
ProdOrdConfirmation.CreateTimeTicketMultiple
BAPI_PRODORDCONF_CREATE_TT
Time event
ProdOrdConfirmation.CreateAtHeaderLevelMultiple
BAPI_PRODORDCONF_CREATE_HDR
Order confirmation
ProdOrdConfirmation.CreateAtHeaderLevelMultiple
BAPI_PRODORDCONF_CREATE_HDR
Activity confirmation
ProdOrdConfirmation.CreateActConfMultiple
BAPI_PRODORDCONF_CREATE_ACT
Defaults
Time ticket
ProdOrdConfirmation.GetTimeTicketProposal
BAPI_PRODORDCONF_GET_TT_PROP
Time event
ProdOrdConfirmation.GetTimeEventProposal
BAPI_PRODORDCONF_GET_TE_PROP
Order confirmation
ProdOrdConfirmation.GetAtHeaderLevelProposal
BAPI_PRODORDCONF_GET_HDR_PROP
Cancelling confirmations
ProdOrdConfirmation.Cancel
BAPI_PRODORDCONF_CANCEL
List of confirmations
ProdOrdConfirmation.GetList
BAPI_PRODORDCONF_GETLIST
Detail data for confirmations
ProdOrdConfirmation.GetDetail
BAPI_PRODORDCONF_GETDETAIL
Existence check
ProdOrdConfirmation.ExistenceCheck
BAPI_PRODORDCONF_EXIST_CHK
Regards,
Ravi -
Replacing the bapi with the new bapi for purchase order creation
Hi,
In the customised code call is there for the bapi function module 'BAPII_PO_CREATE'.
Iam trying to replace the call with the code that calls function module 'BAPI_PO_CREATE1'.
Please help me about what changes I needed to do in the code . As there is much mismatch in the import and export parameters
and tables in both the function modules.
Thanks in advance.
Edited by: anwar.indya on Mar 25, 2011 2:18 PM
Edited by: anwar.indya on Mar 25, 2011 2:19 PMHi,
As per u r requirement
you can use : BAPI => BAPI_PO_CREATE with suitable Document Type ( Stock trasnfert : STO )
IF u want to auto po must be created after each delivry in this case you need to use BADI
'MB_MIGO_BADI; In This BAPI There is method : POST_DOCUMENT
In this method u can write code for Auto PO Creation by using BAPI .
Hope This will Resolve u r query.
Thanks and Regads
Santosh -
BAPI for Process order creation (COR1)
Hi All,
Can any please help me to find a BAPI for creating a process order which is done normally by transaction code u201CCOR1u201D.
Thanks in advance.
Kind Regards,
Abhi.Try this BAPI - BAPI_PROCORD_CREATE.
there are many BAPIs in Fuinction group 0001_BAPI realted with Process Order
Thanks,
rajinikanth G -
BAPI for Service PR creation along with sub services (with parameters)
Hi Experts,
I am trying to post PR for services throgh BAPI : BAPI_REQUISITION_CREATE but after passing the parameters in following structures :
Values of these structures are reflecting in generated PR :
REQUISITION_ITEMS
REQUISITION_ACCOUNT_ASSIGNMENT
REQUISITION_ITEM_TEXT
But values are not reflecting for these below structures : ( sub services )
REQUISITION_SERVICES
REQUISITION_SRV_ACCASS_VALUES
Please help in this regard.
Thanks .Dear Keshu,
Thanks for the help first of all . This gave me some idea but still unable to post the service lines , I want to know whether it can work with internal number range of PRs because the document is for external number range , required some suggestion from your end ! Thanks
Maybe you are looking for
-
[SOLVED] Active application icon is missed in top panel. Gnome 3.4.
Since i've updated the system today, i see that the icon of the active application, which used to be shown in the top panel, has been disappeared. I use gnome 3.4 from Extra, zukitwo theme and Faenza icon theme from AUR. Here is an image: http://imag
-
Connecting to a database through Business View Manager
Hi, I am connecting to various application databases (Oracle) using the Business View Manager. When does the connection between my Business View Manager Data Connection and my application database gets "released"? If I have scheduled, say a report to
-
Problem viewing PDF File in JSP
Hi, I have the file location of a PDF saved in the database. If I modify the PDF file on my directory and then try to view it in my browser, it still shows the old file .. (I do not modify the pdf file name) However, when I close my browser and reope
-
Hello, I was looking for logs and the field "threadId". I've found that "JRPP-X" is for JRUN thread and the X is a number. My X increases, about +200 per day for 60k connections... So I'm wondering if it means that there are memory/thread leak or som
-
Maybe this question has already been posted but I could,t find it, so: You can place a pdf in keynote, but is possible to select another page than the first one from a multi-page pdf. That would really simplify the proces of putting together a presen