CRM Sales Order Replication CRM to R3 (complaint) Pb
Hi Guys,
My problem is that when i create an CRM Complaint in CRM 4, and i change the plant on my delivery item, when the order is replicated in R3, the Shipping point doesn't get updated to use the new shipping point used for the new plant...
I tried to debug but cannot hit User Exit in R3, then i read in there that the R3 user Exits such as: MV45AFZZ is not called at all...
Can anyone could tell me how to find out how to get to the shipping point determination when the order is created from CRM...
I succeeded to be in R3 in my debug session by:
Stopping the BDOC with the following:
Set a breakpoint in the FM on the save of the document in CRM:
CRM_UPLOAD_BTMBDOC_START_FLOW then set ls_header-dbg_mode to X.
Then i reprocessed the BDOC with /h and then set breakpoint in FM:
SMOF_READ_SMOFERPSH to set my RFC-Dest to be valid for my debug session.
Then put a breakpoint CRM_R3_SALESDOCUMENT_UPLOAD and set gv_synchronous_call to X ... Now after F5 i am in R/3...
I tried to find out where my shipping point is set or determined but impossible (VBAK - VSTEL)?
Please help...
Thanks
Aurelien
Hi Aurelien,
I believe there is no problem in replication of CRM Sales Order to ECC. Shipping point determination settings are properly maintained in ECC.
In SD Sales Order (VA01 / 2) Shipping points get determined by 3 factors for each line item.
1. The shipping conditions from the customer master record (Shipping screen)
2.The loading group from the material master record (Sales/Plant Data screen)
3.The delivering plant
Now in your case you are creating order in CRM. So download the plants from ECC to CRM with Transaction code R3AS (Initial D/L) DNL_PLANT. This plant you can assign in a Sales Order as a Business Partner for each line item.
Plant is called as Vendor partner function in CRM.
When CRM sales order with plant will replicate to ECC then automatically the shipping point will be determined.
Regards,
Rajendra Sonawane
Similar Messages
-
CRM sales Order Replication to R/3
Hi ,
Can anyone tell me what are the configuration that we need to do CRM to R/3 replication for sales orders apart from site and subscription creation(SMOEAC) and CRMCONSUM maintenance.
I am mainly looking on what are middleware parameter that we need to set. How custom process type of CRM mapped with custom order type of R/3.
It will be appreciated if you give me documentation of middleware parameter and their tables.
Thanks in AdvanceHi Pradeep,
The Business transaction Replication from CRM to R3 is mainly based on the "Transaction Type" / "Process Type" (both are same) of the particular transaction - whether its a standard one or a custom one. It doesnt matter whether the mapping is Order to Order or Contract to Contract. Also, you need proper external-internal number ranges in order to make the mapping error free (even without the number ranges, the mapping will happen and the contract will flow).
For documentation on Middleware settiing, check the following document.
Best Practice C71 - connectivity.
http://help.sap.com/bp_crmv250/CRM_DE/BBLibrary/Documentation/C71_BB_ConfigGuide_EN_US.doc
For Business Transaction mapping Configuration, refer , "C03: CRM Master and Transaction Data Replication":
http://help.sap.com/bp_crmv250/CRM_DE/BBLibrary/Documentation/C03_BB_ConfigGuide_EN_US.doc
If you want full Middleware setup, in best practice, follow the documentation - B01, C71, B09, C03 in that order. You can get those from http://help.sap.com/bp_crmv250/CRM_DE .
Regards,
Alin -
Sales order replication - CRM to R3
Hi Experts,
I have an issue with my sales order. When I save it. It does not replicate into R3. SMW01 shows that the BDoc has processed successfully. When I try to block the outbound queue, I see the function module as CRM0_FUNCTIONALITY_CHECK . Earlier the function module used to be BAPI_SALESDOCU_PROXY_UPLOAD . Can anyone please suggest what am I doing wrong.
Warm Regards,
AbdullahHi,
I am facing the same problem. Could you please let us know whats the resolutoin for this.
Thanks,
Mahesh -
How can I create a CRM sales order in CRM 7.0?
I can't find an transaction.
Thank you in advance.Hi,
CRM dont have a different transaction for sales order.
With t. code CRMD_ORDER, you can create orders. To differentiate between order types, CRM has different business transaction types like sales, Quotation, complaints etc.
Depending on requirements, these Business transaction types can be defined in customization.
So, in your case, you can choose the correct business transaction types used for Sales order.
Please note: There are so many documentation available in help.sap or in SDN regarding initial learning of CRM. Please try to go through them to understand the system instead of putting basic queries here. Happy Learning.....
Regards,
Susanta -
Sales order replication with reference a quotation
Hi Experts,
Iu2019m having problem with sales order replication when it is a quotation subsequent document.
The quotation and sales order replication, CRM to R/3 and R/3 to CRM, its OK if I create the isolate document (without reference), if I create a sales order with reference a quotation, I have the problem:
I can se the error in SMW01:
Document <quotation number> doesn't have document category C but <blank>
The document is note replicate to R/3.
If I create the document in R/3 the replication to CRM it's OK.
I'm working withCRM 4.0
Thanks
AlexHI Ramesh,
Question:
Could you please tell me which segment do i need to use fill the reference document number (quotation) at header level.
Sol: use segment E1EDK02
Segment type E1EDK02 IDoc: Document header reference data
QUALF 011 : Referenced Document Number
BELNR XXXXX IDOC document number
DATUM 20100121 IDOC: Date'
what i've used in my program
I'm using the E1EDK02 segment as you mentioned above.
le1edk02-qualf = '011'.
e1edk02-belnr = Quotes-vbeln.
Question:
Here my problem is i'm able to create the sales order with the custom program, but if i made any changes to the quotation Header
(Ship-to party address) before creating the sales order, it is not reflecting into the sales order header level (ship-to party address).
Sol: Check you custom code .. whether you are bringing write address to segement or not
(if you change any address in Quotation then Address master is added with new entry with new address no )
In my program..
I'm passing the partner numbers and partner types (WE & AG) to the segment "E1EDKA1". (Ship-to & Sold-to).
What i was thinking is the above segment is causing the problems, because if we reference the Quotation, we should not pass the Ship-to and sold-to numbers, it should take all those from quotation.
I've tried to comment the code which we have written for that segment "E1EDKA1", it is giving me the error saying that
Customer numbers can't be determined for the document number..
Please guide me how to solve this problem..
Thanks,
Adi. -
Custom fields mapping issue of sales order replication from R/3 to CRM
Hello Experts,
I have to replicate sales orders from R/3 to CRM system (Initial and Delta)
The issue is I have custome fields in R/3 which are maintained in custom table(Z table) in R/3.
We added those custom fields in CRM customer_i table to synchronise with R/3 data.
To MAP R/3 custom fields to CRM custom fields, i have the following customization.
1. Added the custom function module in the event CRMO_200 and moved all the custom fields into interal table IT_OTHER_INFO.
2. The intrnal table IT_OTHER_INFO with data is passed into CRM standard function modules.
3. But in CRM the BADI 'CRM_DATAEXCHG_BADI' implementation does not have the input parameter of internal table TI_OTHER_INFO.
All my custom data is in internal table TI_OTHER_INFO.
Please suggest where can i map this data to CRM enhanced fields.
Regards,
Umashankar.Hello Vanessa,
Thank you so much for your reply.
I went through the Note (1053817). It is good. I understand that the custom fields should enhance in the BAPE_VBAP in R/3.
My Scenario:
Goal: Orders replication from R/3 to CRM along with Custom fields.
In R/3, all the custom fields are maintained in Z table (Not VBAK or VBAP).
All these custom fields are belongs to Item level.
In CRM, The custom fields are maintained in CRMD_CUSTOMER_I table though AET.
I need to MAP these custom fields to CRM while order replication from R/3 to CRM.
Regards,
Umashankar. -
Replication of BP and Sales order from CRM to R/3
Hello everyone,
I have a peculiar condition in my hands.The requirement is to replicate 10 business partners from crm to R/3 ,then the next 4 Business partners need not be replicated and then the next three replicated..How do we do this kind of replication....
One thing more regarding the replication of sales order.When we save a sales order in CRM,is it automatically replicated to R/3 or do we need to release it manually??
If yes,then if we do not want to replicate the sales order from crm to R/3,then what will we do?
Consider that all the middleware settings are configured and working fine..
PuneetHi Bokhal,
Please consider my answer from your recent thread dealing with apparently the same issue :
Hi Bhokal,
For filters in uploads please consider below:
For Filtering the BP-upload, use the Administration Console
(tx. SMOEAC) in the corresponding subscription of the "All Business
Partners (MESG)" publication assigned to the R/3 site.
Some publications (and the replication objects they are based on) are
delivered as type "Simple bulk" which does not give you the opportunity
to assign criteria values for filtering.
You might have to re-create the publication. To do that:
1) First delete the subscriptions "All Business Partners (MESG)" and its
publications & the replication object.
2) Recreate the replication object as type "Simple intelligent".
3) Afterwards you can create a new publication via wizard of type
"Simple intelligent (msg)" assigned to the BDOC-Type BUPA_MAIN. Then,
you will be able to select some "filter criteria".
The reason for deleting the "old" publication is, that you
are not allowed to assign a BDOC-Type to more than one publication.
4) But please keep in mind that there is no realignment supported. So
you should only use fields for filtering, which cannot be changed
afterwards.
This is the "simple" solution for filtering on fields. This
will not provide complex filter criteria.
If you need this, you shall create a filter function in R/3- and/or
CRM-Inbound and -outbound.
If you want to keep the control about the upload trigger, you can add an
additional module in transaction CRMC_BUT_CALL_FU, position > 200000.
BUPA_MWX_BDOC_BPS_FILL_CENTRAL. Within this new module, you can delete
all partners within the complex structure that you don't want to upload.
Hoping that above will be helpful.
Best regards
Christophe Sturzel -
Create complaint with reference to CRM sales order
Hi,
We have the requirement to create a complaint as a follow-up to a CRM sales order.
We don't want to reference the invoice, but only the sales order. The sales order is available in CRM,
so I would expect that we can reference the CRM sales order when creating a complaint.
However, what I find is that we need to implement BAdI "CRM_COPY_BADI_EXTERN". Is that true? Do we need
to implement this BAdI?
Is there a sample coding available?
regards,
Wim OliemanPerhaps I should create a new thread, appears the standard complaint return CRMR allows me to create the return mulitple times against the same sales order number in CRM 7.0.
Our pricing flunctuates a bit, so we don't want the same order to be used over and over again in creating the return.
Is this the same behaivor you see? -
Stop sales order replication from CRM to R/3
Hi friends,
How can we stop the sales order Replication from CRM to R/3? Pls Guide me.
Thanking u in advance.Hi Madhu,
You can do by making distribution lock set in further statuses of the CRM sales order.
It will stop replication of CRM sales order to ECC.
Regards,
Madhu -
Sales Order replication issue from SAP CRM (7.0) to ECC
Hi,
I have issue in replicating the sales order from CRM to ECC below are the issue details ...
Issue:
Sales Order is created in CRM and Mbdoc is generated with status:001 (Yellow state),Order is not replicated to ECC system.
I am trying to Replicate the sales Order1.Created Trnascation type: ZLS1 in CRM
2.Number range assigned as Internal in CRM and External number range in ECC
3.Item categories has been defined in Both the system.
4.SMOEAC settings are completed successfully.
5.Maintained table:SMOFPARSFAin both systems.
Checked Couple of things:
1.No items found in SMQ1 (Out bound queue ) in CRM
2.Checked in SMQS,none of the entries found.
Please let me know if i missed any of the settings to replicate the sales OrderPlease help us on this regards ASAP
Thnaks.
CRM Consultant.>
Robert Kunstelj wrote:
> Check in status shema of that order that it doesn't block distribution to R3.
>
> Also check that you don't have any fillters set in R3AC1.
>
> And also tell me, do you see in SMW01 CSA mbdoc for that orders? If yes, are they in red state and when you select one and click on button Show bdoc message extended data, do you get structure or not?
>
> Regards.
Hello Robert,
Here is the answers for the questions raised...
1. I checked status schema ,understand distribution status is " To be distributed " in the sales order in CRM
2.In R3ac1 ,standard document "SALESDOCUMENT " doesn't have the any filter setttings related to my transaction type.
3.Mbdoc (Notification ) is generated in SMW01 with status " 001 " (Yello state),failed to reprocess the Bdocs.I coudn't able to find the Outbound queue in CRM for the corresponding order in CRM.
4.I can see the Bdoc structure in the extended data in SMW01.
Thanks.
Sathya. -
Error in replication sales order from CRM 5 to ECC 6
Hi,
I am new to the middleware
When I am trying to replicate the sales order from CRM 5 to ECC 6, i found the following error in SMW01 R/3 adapter is called
Message no. CRM_ORDER_MISC024
I am unable to track what may be the problem and even I have checked the SMQ1 & SMQ2 in both CRM and ECC but nil.
Can anybody help me out?
Thanks in advanceHi Binu,
Try check also the SMQ1 & SMQ2 on R/3 when you start trigger the
document transfer from CRM to ECC. If you cannot see any similar document
appear here, seems like your Middleware filter has not properly set.
Check Middleware filter for document transfer, if I am not mistake, the object
is SALES_DOCUMENT.
Just check, if there filter which block the document to be sent to R/3.
Hope this helps.
Gun. -
How to create an ERP Sales Order in CRM by referring to CRM Quotation
Hello Experts:
My requirement is as follows:
I have done the replication of customers and materials between ECC and CRM.
I need to create a quotation in CRM and create a follow-up transaction as ERP Sales Order within CRM.
My question is: how do i link the CRM quotation and ERP Sales Order within CRM?
In other words, Once I save the CRM quotation, I need to be able to create an ERP Sales Order within CRM through a follow-up transaction...
Hope I made myself and the question very clear?
Kindly help.
Many thanks and regards,
VSK.
Edited by: venkatskumar on Feb 11, 2011 6:57 PMDear,
we faced same situation in ALmansour motors comp. , but we tried to create CRM/Qoutation and replicate it to ERP
and after that we created ERP Sales order () with refrence to our ERP/Qout., the sales order will be replicated automaically to CRM again with same no. () and linked with ERP qoutation which have the same CRM qoutation no(*).
(*) i think after qoutation replication you can use transc. launcher to create ERP sales order through CRM screen.
(**) you have to handle the no ranges for Q. and sales order on both servers to be matched
Note :
to replicate CRM qoutation, be care this configration point,
CRM qout. item category>> ... >> customizing at item level (Qout. Data .. Releveance for Qout.) = 3 initially a sales/service trans.
I hope to it would be useful
سبحان الذي علمنا هذا -
CRM Sales Order Item Status Does Not match R/3 Item Status
The status of the CRM sales order item is being set to 'In Process' when the related R/3 sales order line item status is set to 'Complete' - when, the delivery quantity is zero for the sales order item. This happens when the warehouse can't find the stock to pick - the delivery quantity is set to zero. Thus, the CRM order item status does not agree with the R/3 order item status. We need for the line item status to be set to 'Complete' in CRM. Anyone have an idea as to how to make this happen?
Thanks you.Hi Peter and Suresh,
From the information provided I understand that the sales order created in CRM after replication to R/3 has some status change.
1. What are the fields which are updated in R/3 for the sales order created in CRM ?
2. If sales order fields are updated in R/3 are these updates reflected back to CRM?
3. If they are reflected back in CRM? Is there still flexibility for sales order to be changed in CRM and replicated back to R/3?
Can you please share you experiences.. Any help is highly appreciated.
Thanks
Jothi -
CRM Sales Order to SAP ECC troubleshooting
Hi,
I'm trying to replicate SAP CRM Sales order to SAP ECC, I have matched (transaction and document type, item categories). But when I create sales order in CRM, the following error occurs in the Web UI:
Transmission log
SALES_HEADER_IN has been processed successfully (Notification S V4 233)
The sales document is not yet complete: Edit data (Notification W V1 555)
Unknown object type 'BUS2032' (Notification E RL 303)
SALES_ITEM_IN has been processed successfully (Notification S V4 233)
Please note that the BDOC messages state in the middleware is processed and everything looks fine in SMW01. The customer and product are already replicated from the ERP
Is there a more user friendly method to debug the error and to know the exact error.
Thanks In Advance,
AhmedHi Ahmed, ,
It seems that the CSA bdoc is green (the internal CRM one) but the second , the replication one, is not created
due to this error.
Here a few advises:
Fistly create the same document directly in ECC. You might already get the same incompletion log as well in ECC and the reason should be quite obvious then.
Check as well in ECC in t-code SE91 as in which program error RL 303 is used. You might have customized code in ECC.
If this is not helping please use as well report CRM_ODE_CHECK_CFG to fing out if there some missing settings in the
BTX interface. See as well note 490932 (it is an old note but the settings mentioned are still relevant for highr releases).
Good luck with it.
Best regards
Christophe -
Issue with creation of sales order in CRM system
Hi Experts,
Here are the details of the process we followed
1. We found a Function Module u201CBAPI_BUSPROCESSND_CREATEMULTIu201D which is used to create a sales order in CRM.
2. We have set a Break point in the FM u201CCRM_ORDER_MAINTAINu201D and tried to create a sales order using the transaction u201CCRMD_ORDERu201D. For this the parameters we have given are
a. sold-to-party
b. ship-to-party
c. quantity
d. product
And after this we have saved the order and the order is saved and in the debug mode we have the parameters in u201CCRM_ORDER_MAINTAINu201D and we found all these parameters in the FM.
3. After this we have given all the parameters mentioned above in the FM u201CBAPI_BUSPROCESSND_CREATEMULTIu201D and still the order is not created, gave an error message saying that CRM_ORDER: Incorrect values in the interface object.
4. We checked the CRM_ORDER badiu2019s interface and it is having only header guid to be given. We gave this header guid also in the FM u201CBAPI_BUSPROCESSND_CREATEMULTIu201D and then it gave a different error saying that : Document cannot be saved.
5. Finally we are not able to know the parameters to be passed to the FM to create an order.
Any inputs will be highly appreciated.
Thanks a lot in advance.
Lakshman.Hi Easwar,
Now i am able to create a sales order by passing the parameters to "BAPI_BUSPROCESSND_CREATEMULTI" and the parameters i am passing are Process_type in the ORDERADM_H, parner_fct (partner function), partner_no , Quantity and prod_ordered (product name) but after creation of sales order using my report program and if i see the sales order uisng transaction crmd_order (using transaction ID) or crmd_orderadm_h(using headerguid) or crm_order_index, only the PROCESS_TYPE is updated but the remaining parameters which i passed like QUANTITY,PRODUCT NAME,PARTNER NUMBER are not present in the sales order. I am providing the code which i have written for creation of the sales order. Can you please look into it and tell me where i might have went wrong??
*& Report ZCREATEORDER_TEST
REPORT ZCREATEORDER_TEST.
DATA : LV_HEADER_GUID TYPE GUID_32,
WA_HEADER TYPE BAPIBUS20001_HEADER_INS,
ITAB_HEADER TYPE STANDARD TABLE OF BAPIBUS20001_HEADER_INS,
ITAB_CREATED_PROCESS TYPE STANDARD TABLE OF BAPIBUS20001_HEADER_INS,
ITAB_OBJECTS_TO_SAVE TYPE STANDARD TABLE OF BAPIBUS20001_GUID_DIS,
ITAB_PARTNER TYPE STANDARD TABLE OF BAPIBUS20001_PARTNER_INS,
lt_product_i TYPE STANDARD TABLE OF BAPIBUS20001_ITEM,
wa_product_i type BAPIBUS20001_ITEM,
lt_schedlin_i type standard table of BAPIBUS20001_SCHEDLIN,
wa_schedlin_i type BAPIBUS20001_SCHEDLIN,
ITAB_INPUT_FIELDS TYPE TABLE OF bapibus20001_input_fields,
ls_inputfields TYPE bapibus20001_input_fields,
WA_PARTNER TYPE BAPIBUS20001_PARTNER_INS,
ITAB_RETURN TYPE STANDARD TABLE OF BAPIRET2,
WA_OBJECTS_TO_SAVE LIKE LINE OF ITAB_OBJECTS_TO_SAVE,
"To store the Objects to be saved.
WA_CREATED_PROCESS LIKE LINE OF ITAB_CREATED_PROCESS,
ITAB_SAVED_OBJECTS TYPE STANDARD TABLE OF BAPIBUS20001_OBJECT_ID,
WA_SAVED_OBJECTS LIKE LINE OF ITAB_SAVED_OBJECTS,
GC_X type c.
gc_x = 'x'.
CALL FUNCTION 'GUID_CREATE'
IMPORTING
ev_guid_32 = lv_header_guid.
CLEAR : WA_HEADER.
Passing the respective values from the Header table to internal table.
WA_HEADER-GUID = LV_HEADER_GUID.
WA_HEADER-PROCESS_TYPE = 'ZTA'.
APPEND WA_HEADER TO ITAB_HEADER.
*Appending the values to the ITAB_HEADER.
ls_inputfields-ref_guid = LV_HEADER_GUID.
ls_inputfields-REF_KIND = 'A'.
ls_inputfields-objectname = 'ORDERADM_H'.
ls_inputfields-logical_key = ' '.
ls_inputfields-fieldname = 'PROCESS_TYPE'.
APPEND ls_inputfields TO ITAB_INPUT_FIELDS.
*ls_inputfields-ref_handle = '0000000000'.
ls_inputfields-ref_guid = LV_HEADER_GUID.
ls_inputfields-objectname = 'ORDERADM_H'.
ls_inputfields-fieldname = 'MODE'.
APPEND ls_inputfields TO ITAB_INPUT_FIELDS.
ls_inputfields-ref_guid = LV_HEADER_GUID.
ls_inputfields-REF_KIND = 'A'.
ls_inputfields-objectname = 'ORDERADM_H'.
ls_inputfields-logical_key = ' '.
ls_inputfields-fieldname = 'GUID'.
APPEND ls_inputfields TO ITAB_INPUT_FIELDS.
CHANGES MADE
ls_inputfields-ref_guid = LV_HEADER_GUID.
ls_inputfields-REF_KIND = 'A'.
ls_inputfields-objectname = 'SCHEDLIN'.
ls_inputfields-logical_key = ' '.
ls_inputfields-fieldname = 'LOGICAL_KEY'.
APPEND ls_inputfields TO ITAB_INPUT_FIELDS.
ls_inputfields-ref_guid = LV_HEADER_GUID.
ls_inputfields-REF_KIND = 'A'.
ls_inputfields-objectname = 'SCHEDLIN'.
ls_inputfields-logical_key = ' '.
ls_inputfields-fieldname = 'MODE'.
APPEND ls_inputfields TO ITAB_INPUT_FIELDS.
ls_inputfields-ref_guid = LV_HEADER_GUID.
ls_inputfields-REF_KIND = 'A'.
ls_inputfields-objectname = 'SCHEDLIN_I'.
ls_inputfields-logical_key = ' '.
ls_inputfields-fieldname = 'GUID'.
APPEND ls_inputfields TO ITAB_INPUT_FIELDS.
ls_inputfields-ref_guid = LV_HEADER_GUID.
ls_inputfields-REF_KIND = 'A'.
ls_inputfields-objectname = 'SCHEDLIN_I'.
ls_inputfields-logical_key = ' '.
ls_inputfields-fieldname = 'QUANTITY'.
APPEND ls_inputfields TO ITAB_INPUT_FIELDS.
ls_inputfields-ref_guid = LV_HEADER_GUID.
ls_inputfields-REF_KIND = 'A'.
ls_inputfields-objectname = 'SCHEDLIN_I'.
ls_inputfields-logical_key = ' '.
ls_inputfields-fieldname = 'MODE'.
APPEND ls_inputfields TO ITAB_INPUT_FIELDS.
CHANGES MADE
WA_PARTNER-REF_GUID = LV_HEADER_GUID.
WA_PARTNER-REF_KIND = 'A'.
giving the partner function and partner no 000000038 for slod to party
WA_PARTNER-PARTNER_FCT = '00000038'.
WA_PARTNER-PARTNER_NO = '10017'.
APPEND WA_PARTNER TO ITAB_PARTNER.
*"ADDING VALUES for the product
wa_product_i-header = lv_header_guid.
wa_product_i-handle = '0000000001'.
wa_product_i-ordered_prod = '12000014'.
wa_product_i-mode = 'A'.
APPEND wa_product_i TO lt_product_i.
*"ADDING VALUES for quantity
wa_schedlin_i-quantity = 30.
wa_schedlin_i-handle = 1.
APPEND wa_schedlin_i TO lt_schedlin_i.
ls_inputfields-ref_guid = LV_HEADER_GUID.
ls_inputfields-REF_KIND = 'A'.
ls_inputfields-objectname = 'PARTNER'.
*ls_inputfields-logical_key = ' '.
ls_inputfields-fieldname = 'REF_GUID'.
APPEND ls_inputfields TO ITAB_INPUT_FIELDS.
ls_inputfields-ref_guid = LV_HEADER_GUID.
ls_inputfields-REF_KIND = 'A'.
ls_inputfields-objectname = 'PARTNER'.
ls_inputfields-logical_key = ' '.
ls_inputfields-fieldname = 'PARTNER_FCT'.
APPEND ls_inputfields TO ITAB_INPUT_FIELDS.
ls_inputfields-ref_guid = LV_HEADER_GUID.
ls_inputfields-REF_KIND = 'A'.
ls_inputfields-objectname = 'PARTNER'.
ls_inputfields-logical_key = ' '.
ls_inputfields-fieldname = 'PARTNER_NO'.
APPEND ls_inputfields TO ITAB_INPUT_FIELDS.
CALL FUNCTION 'BAPI_BUSPROCESSND_CREATEMULTI'
TABLES
HEADER = ITAB_HEADER
ITEM = lt_product_i
RETURN = ITAB_RETURN
PARTNER = ITAB_PARTNER
INPUT_FIELDS = ITAB_INPUT_FIELDS
CREATED_PROCESS = itab_created_process
SCHEDULELINE = lt_schedlin_i.
READ TABLE ITAB_CREATED_PROCESS INTO WA_CREATED_PROCESS WITH KEY GUID = LV_HEADER_GUID BINARY SEARCH.
WA_OBJECTS_TO_SAVE-GUID = WA_CREATED_PROCESS-GUID.
Appending the Guid of the contract to be saved to the internal table
APPEND WA_OBJECTS_TO_SAVE TO ITAB_OBJECTS_TO_SAVE.
CALL FUNCTION 'BAPI_BUSPROCESSND_SAVE'
EXPORTING
update_task_local = space
save_frame_log = GC_X
TABLES
objects_to_save = itab_objects_to_save
saved_objects = itab_saved_objects
return = itab_return.
Calling the Standard BAPI to Commit the transcation.
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.
I have debugged the above code, all the values are passing are passing to the FM "'BAPI_BUSPROCESSND_CREATEMULTI'" and these passed to the CRM_ORDER_MAINTAIN and then to CRM_ORDER_READ which are called inside the "'BAPI_BUSPROCESSND_CREATEMULTI'". Finally the sales order is created but not able to see all the values that i am passing except PROCESS_TYPE.
Thanks a lot in Advance,
Lakshman.
Maybe you are looking for
-
Moving TM external drive to a new computer
I have a new mini server and would like to use it to host my current 4TB fw800 time machine external via the network, so I want the mac mini to recognize the files that have allready been backed up. Is this possible to continue with the existing TM
-
Can I run two 1920x1200 monitors off NVIDIA GeForce 7300 GT?
Hi. I have a Mac Pro 2006-2008 fitted with a NVIDIA GeForce 7300 GT 256MB, it has two DVI outputs. I'd like to attach to it two Dell U2410, 24" 1920x1200, but can't find final proof that the card will support extended desktop on two such screens. Tha
-
Using external Jar with a mobile application
Hi folks! I need some help with my application, i make a simple mobile application and i need to use a external jar, in this case, this jar have a simple JAVA class that represents a manipulation with eSWT, so my problem is How to using external J
-
Hello People, I am trying to do something fairly basic with a Smart Folder but it's not working and I must be doing something wrong, here's the deal: I have an email account called [email protected], where our software sends us error reports when the
-
Dashboard/Scorecard with Human Resource Indicators
Hello I have been given the task of creating a Human Resource Performance Indicator Report or dashboard/scoreboard. I am interested in ways of making this report dynamic, but I do not have access to Business Objects and I am looking for ways to crea