Function module for submitting order in CRM B2B
Hi Experts,
we are customizing the CRM B2B functionality. as per our reqruirement, we have 3 types of orders (docuemnts) to submit. for each order we have differnt extra fields data need to be sent to the back end system in the Header level and item level.
In this case still we can not use the standard function module to submit the document.
need to use the same standard functiona module or need to create the z function module for submitting all three orders.
Please advice.
I have another question. What the standard functiona module name for submitting the order?
Adavance Thanks
HI
We need not create any custom FM to send in extension data. Just extend the class which is called on save and overirde the
customer exits available there.
From the sales document object get header and itemlist.
ItemList itemsData = salesDocument.getItems();
HeaderData header = salesDocument.getHeaderData();
header.addExtensionData();
ItemSalesDoc[] items = itemsData.toArray();
for (int k = 0; k < items.length; k++) {
ItemSalesDoc item = new ItemSalesDoc();
item = items[k];
item.addExtensionData();
The header and item extension datas will be available in the respective place holders in the methods in BADI
CRM_ISA_BASKET_ITEMS CHANGEITEMS_BEFORE_ORDER IT_EXTENSION
CRM_ISA_BASKET_HEAD CHANGEHEAD_BEFORE_IL IT_EXTENSION
The method name and place holder in backend also given above.
Hope this helps
Regards
Antony
Similar Messages
-
Function Module for creating order in CRM
Hi ,
I want to create order in crm. i have tried the function module given in SDN but all are for R/3. I have tried BAPI_SALESORDER_CREATEFROMDAT and CRM_SERVICE_ORDER_CREATE , L_TO_CREATE_MOVE_SU but all are for R/3. So please tell me function module which create order in CRM.
Thanks
AbhiieshSales Order
BAPI_BUSPROCESSND_CREATEMULTI->BAPI_BUSPROCESSND_SAVE and BAPI_TRANSACTION_COMMIT must be used.
CRM_ORDER_MAINTAIN-> CRM_ORDER_SAVE and COMMIT WORK must be used.
check this report program in se38
CRM_TEST_ORDER_MAINTAIN
Regards,
Keshav -
Is there any function module for purchase order change
Hi Experts,
Is there any function module for purchase order change or i need to do new recording in me22n.
Thanks,
SenthilHi
Function module <b>BAPI_PO_CHANGE</b> enables you to change purchase orders. The Change method uses the technology behind transaction ME22N.
Regards,
Viven -
Function module for Process order status
Hi techies,
I want to know the function module for process order status , idoc type is liopro01 and message type is liopro, my requirement is that based on the different status received in IDoc SAP should update the process order status, separate user status will be defined as "MO START" and "MO end" using status profile.also it has change the process order status to "TECO" also it should check the user status for "MO Abort".
Thanks in AdvanceHi ross,
Try this function module.
STATUS_CHECK_MULTI
May be helpful.
Lincon -
Function Module for PM Order Change?
Hello Everyone,
I want to change a plant maintenance Order's Header Data, operations list and object list.
Is there any existing function module for this.
R/3 version which I am using is 4.6c.
I have found a function module 'ALM_ME_ORDER_CHANGE' but unable to change any of the order's data using this.
Thanks & Regards,
SwatiHi,
Here is the Function Module : BAPI_ALM_ORDER_MAINTAIN
Reward Points if it is usefull..
Girish -
Function module for sales order VC characteristics
Hi All,
Is there any function module for fetching sales oder VC characteristics.
RegardsPlease use FM: VC_I_GET_CONFIGURATION.
Please pass "VBAP-CUOBJ" in the exporting parameter INSTANCE and it should return you configuration in the Table parameter 'CONFIGURATION'.
Let me know if this works.
Thanks,
Neeraj -
Need functional module for service order
hello,
while creating service notification i want to create service order automatically.for that i need a functional module which is the key funtion to process creation of transaction in the background. i want the name of that functional module to create iw31 service order automatically and that of functional group so that i can assign in the action box.
Regards,
Rajesh Kumar Raju
9900311069Hi,
unfortunately there is no such "official" BAPI available - not even in ERP2005! There is a BAPI called BAPI_ALM_ORDER_MAINTAIN but this is for changing an already existing service order.
But, you can use what the "SAP CRM group" developed for their integration to the backend R/3 system. This FM is called CRM_CS_API_ORDER_CREATE and is part of FUGR CRM_CS_API_ORDER. This FM is acting in the same way as a "normal" BAPI although you can not find this FM in transaction BAPI.
Hope this can help!
Best regards, Johan -
BAPI / Function Module for Sale order updation
Hi,
I need to update sale order details(Reason for rejection)..Can you please tell me any of the existing BAPI's / Function modules to do the same.hi,
try bapi_salesorder_change
<b>allocate points if useful</b>
regards,
pavan -
Function Module for Production order configuration
Hi,
I have variant configuration scenario.
I have to run the transaction CO01 in the background.
Is there any Function module, by which i can configure the production order in the back ground.
As of now, when i am doing it manually but not able to find any BAPI for that.
any help will be highly appreciated !!
Thnx in Advance
AshishHi,
try BDC
Pls refer below link
http://www.sap-img.com/bdc.htm
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/309cb157-738d-2910-7691-b74c4ddba3c7
Regards,
Sankaran -
Need function module for Sales order overall status
Dear Team,
Our requriement is we need to capture sales orders overall status 'compleated' in header and item datat details.
Could you please let me know what are function modules available for to get the over all status for sales orders, (header and item)
Thanks & Regards,
MK.Hi MK,
Use any of this FMs.
C1CE_VBUK_READ
SD_VBUP_READ_WITH_VBELN
WCB_VBUK_READ
Note that the values are in table VBUK and you can do a select statement from that table to get what you need.
Regards,
Peter -
Functional module for production order operation standard values
Hi,
Is there any functional module/BAPI available where I can get the 'Standard Valuse' (Setup/Machine/Labor) from production order operations directly?
Regards,Hi Caetano,
Thank you for your reply.
I checked suggested BAPI BAPI_PRODORD_GET_DETAIL, it gives me the operation details like control key, Activity name (like KMCH, KMOD) but not its standard values (values for: Setup/Machine/Labor).
Could you please check and confirm?
The FM: PM_ORDER_DATA_READ gives me all details but as name start with PM, I am not sure if its only related to 'Plant maintenance' orders and if its ok to use this FM for PP production orders.
Please suggest.
Regards, -
Function Module for Sale order BOM
Hi
What is the function module to retrieve sale order BOM ?
thanks in advance
krishnaHi, Your thread has been moved to SD Forum.
-
Function module for Production order update (Table AFKO)
Hello All,
I know similar subject has been posted but please read the following.
SAP 4.6c doesn't provide BAPI for production order update.
We did develop an ABAP program that update production order and schedule it in a job.
We are looking of avoiding direct update in table AFKO which our program do right now.
We looked (with SE37) at either BAPI or FM to pass parameters to a functioin that would perform that update and ensure data integrity.
CO_ZV_ORDER_POST seems interesting but is also using a lot of parameters and we have diffiulties to test it and understand it our dev team being fairly new.
Can somebody tell us how to use this function or tell us another FM that could be used. (ie passing internal table content (New fields values) and a key value (AUFNR)) to update table AFKO and related objects/tables
Regards
Marchi,
TABLE IS AFKO
rgds
anver
if hlped mark points -
Functional module for PM order Status
Hi All,
Could any body suggest me the functional module to get PM order status as on particular date or can any body explain me how can I get the status on the particular date.
Thanks and regards,
Basavaraj.Check below links. There are lot available in this forum.
Purpose of STATUS_READ function module
FM to get Production Order user status (CO03) and system status
How to find work order system status & user status -
Functional module for automatic creation of pur requisition & pur order
hello,
what is the functional module for automatic creation of puchase requisition and automatic creation of purchase order which we will assign in action box in service order processing management.
please let me know as early as possible
regards,
rajesh kumar rajuHi,
Please check with following.
IDOC_INPUT_ACC_PURCHASE_REQUI
IDOC_INPUT_ACC_PURCHASE_ORDER
/ISDFPS/OR_PURCHASE_ORDER_CR
BS01_PURCHASE_DOCUMENT_CREATE
CO_MP_CREATE_PURCHASE_ORDER
Thanks & Regards
Sadhu Kishore
Maybe you are looking for
-
Guidance in the coding & solution
hi friends, jus came across this qst in web... kindly help with this Refer to the following code. What is required to successfully access the individual structure fields in the FORM Data: st_mytab like mytab. Perform write_lines using st_mytab. Form
-
Importing video to a folder or HD
Sorry if this is kinda simple. I've been trying to figure out how to download video to a file before I import in into IMovie. I would like to use the same clips in several projects. Currently I can only load the clips into IMovie from my camera and t
-
Service Desk: Message from Sat.- to SolMan with different users
Hello, I have a problem creating tickets in my satellite systems. The user in the sat. system is not the same than the user in the solman. Our systems run for educational purposes and the users in the satellite systems can be created by the lectures.
-
"Copying Music failed. The filename was too long or invalid."
I've been trying to 'consolidate library' inorder to get all my music held and managed under Itunes so I can delete it from other places on my computer & avoid holding multiple copies (in line with Chris CA's guidance in this thread https://discussio
-
Error "Service EMPLOYEE_ORGCHART_SERVICE does not exist." in ESS.
We are on mySAP ERP 2004, and using ESS 60.2 version. In the "Employee search" workset when I search for an employee it displays his last name, first name, positon, org unit, job, and some other stuff....Every thing is working great except for.......