Order reasons in CRM 4.0
Hi experts,
We are working on CRM 4.0 and R/3 4.6c as the background.
As part of our busines requirement we need to make order reason as the mandatory field while creating sales transaction in CRM .We have customized bringing order reasons through Activity Reason functionality in CRM .
we have implemented a BAdi "CRM_ORDERADM_H_BADI".for making this activity reason as mandatory.
every time we create sales transaction we need to put twice the activity reason inorder to get this BAdi to activate.
Can anybody plz advice me in this regard why it is behaving like this?
any helpful answers will be rewarded.
Thanks in advance.
DV.
Hi Gunwan,
Thank you for the response.
We have implemented the BAdi"ZCRM_ORDERADM_H_BADI under Definition name CRM_ORDERADM_H_BADI.
<b>Functionality of the BAdi:</b>In order to make the activity reason as mandatory field while creating so called Transaction.
if we do not maintain Activity Reason while creating the Sales Transaction this BAdi will throw an error message.
<b>The following is the Code:</b>Method: CRM_ORDERADM_H_CHECK
method IF_EX_CRM_ORDERADM_H_BADI~CRM_ORDERADM_H_CHECK .
data : lV_HEADER_GUID TYPE CRMT_OBJECT_GUID,
ev_process_type TYPE CRMT_PROCESS_TYPE,
et_subject_wrk TYPE CRMT_SRV_SUBJECT_WRKT,
t_msgidno type BAL_R_IDNO,
ls_msgidno type BAL_S_IDNO,
lt_msgidno type bal_r_idno,
lv_save_message.
CONSTANTS: BEGIN OF gc_object_name,
orderadm_h TYPE crmt_object_name VALUE 'ORDERADM_H',
END OF gc_object_name.
get header guid
CALL FUNCTION 'CRM_INTLAY_GET_HEADER_GUID'
IMPORTING
ev_header_guid = lv_header_guid.
get process type
CALL FUNCTION 'CRM_INTLAY_GET_PROCESS_TYPE'
EXPORTING
iv_orderadm_h_guid = lv_header_guid
IMPORTING
ev_process_type = ev_process_type
EXCEPTIONS
proc_type_not_found = 1
OTHERS = 2.
check for process types
IF ev_process_type EQ 'ZOR' OR ev_process_type EQ 'ZFC'.
get order reason code
CALL FUNCTION 'CRM_SERVICE_OS_GET_REASON_OW'
EXPORTING
iv_ref_guid = lv_header_guid
IMPORTING
et_subject_wrk = et_subject_wrk
EXCEPTIONS
invalid_guid = 1
no_valid_entry = 2
OTHERS = 3.
delete message first
ls_msgidno-sign = 'I'.
ls_msgidno-option = 'EQ'.
ls_msgidno-low-msgid = 'ZCRM_MW'.
ls_msgidno-low-msgno = '006'.
APPEND ls_msgidno TO lt_msgidno.
CALL FUNCTION 'CRM_MESSAGES_DELETE'
EXPORTING
it_r_msgidno = lt_msgidno
iv_ref_object = lv_header_guid
iv_caller_name = gc_object_name-ORDERADM_H.
send error message if order reason is not entered
IF et_subject_wrk IS INITIAL.
MESSAGE ID 'ZCRM_MW' TYPE 'E' NUMBER '006' WITH 'in Business Activity tab'
INTO lv_save_message.
CALL FUNCTION 'CRM_MESSAGE_COLLECT'
EXPORTING
iv_caller_name = gc_object_name-orderadm_h " See include program CRM_OBJECT_NAMES_CON
iv_ref_object = lv_header_guid.
ENDIF.
ENDIF.
endmethod.
plz advice me in this regard.
Thanks in advance.
DV.
Similar Messages
-
Hi Expert!
I have configured Order Reason in CRM downloading the object CRM_CATALOG and having configured the Catalogs, Code Groups and Subject Profiles. I need to know whether it is possible - via customizing - defaulting in one business transaction always one specific order reason.
thanks (reward points for helpful answers).
Edited by: Michele Camuri on Apr 30, 2008 4:57 PMHi,
Putting a default reason code is not possible with standard. You can make use of Badi's for this.
Regards,
Shalini Chauhan -
Flow of order reasons from crm to r/3
Hi All
I just want to know whether orders can be flowed from CRM to R/3.
In my scenario i am creating a return order in CRM with order reasons and will be replicating the same to R/3. Do order reasons also replicate to R/3 in this case.
If so what are the customizing settings i need to carry out????
Thanks
SonaliHi,
pl. ref.<a href="http://help.sap.com/saphelp_crm40/helpdata/en/1d/3117ee84ab1544b0422c84178e52d6/content.htm">CRM SALES ORDER Processing</a>
regards,
PD
pl. do Reward points if it helps!! -
Save Order Reason for Sales Order
Hi Gurus!!
I need an urgent info!
I am trying to save the order reason on the CRM sales order in order to have a pricing condition that is accessing the Combination Sales Organization/Order Reason succesfully fulfilled.
The problem is that - the condition checks the order reason in a condition table with the order reason of type AUGRU - and I checked on CRMD_ORDER and although the order reason seems to be saved, the condition fails when accessing the order reason.
Do you know how I can succesfully save the order reason? Am i supposed to maintain some kind of mapping? Can anybody explain how the order reason in CRM Sales Order is saved in CRM?Hi
Maintain code entries for catalogue type A1 (activity reason).
Don't forget to maintain business category BUS2000126 (business activity) to your sales order in CRM.
Then maintain the mapping between the code for activity reason in CRM and the order reason in R/3, in CRMV_CODEMAPMSA view (in CRM side).
Any problems look note 678281.
Regards -
How to Map the Categorization Reasons(SAP CRM) with Order Reasons(SD ECC )
Hi Team .
I have created a service order for a spare parts material in CRM Web ui , order got saved successfully without errors and had replicated to ECC system.
Issue : When the user is processing billing in ECC , the system is asking for the order reasons to enter for the Item . (Checked the order in the incompletion log in of ECC) . Though we have maintained the categorizations in the CRM System.
The order reasons in the SD (ECC) and categorizations in the CRM are same.
Client requirement: The order created in CRM by mentioning the categorization reasons should automatically replicate to the ECC system without deviation and billing should happen in ECC without asking the order reasons.
Note # Order reasons cannot be removed from the ECC System
Regards,
VCSDear Team,
I had resolved the issue on my own .
Sol : We had made the Order reasons mandatory in the CRM Web UI service order and we had removed the Incompletion Log for that particualr transactions types from the SD.
Regards,
VCS -
How to map the Categorization Reasons (SAP CRM) with Order Reason (SAP ECC)
Hi Team .
I have created a service order for a spare parts material in CRM Web ui , order got saved successfully without errors and had replicated to ECC system.
Issue : When the user is processing for billing, the system is asking for the order reasons to enter for the Item . (Checked the order in the incompletion log in of ECC) . Though we have maintained the categorizations in the CRM System.
The order reasons in the SD (ECC) and categorizations in the CRM are same.
Client requirement: The order created in CRM by mentioning the categorization reasons should automatically replicate to the ECC system without deviation and billing should happen in ECC without asking the order reasons.
Note # Order reasons cannot be removed from the ECC System
Regards,
VCSDear Team,
I had resolved the issue on my own .
Sol : We had made the Order reasons mandatory in the CRM Web UI service order and we had removed the Incompletion Log for that particualr transactions types from the SD.
Regards,
VCS -
Error in Sales order, missing order reason
Hi All,
We are trying to create a sales order in the CRM Mobile Client and we see the following error.
mandatory check failed for order reason(reason for business transaction) of the business object sales transaction.
Any ideas on how to resolve the issue.Hi,
I am not sure whether this is standard behaviour.
Did you make any settings for order reason in MSY -> Sales Transaction Settings -> Field Property Maintenance ?
Regards,
Wolfhard -
Error while saving a Sales Order in the CRM Mobile Application
Hi,
I am facing issues while saving a Sales Order in the CRM Mobile Application. I am getting the error message "Value Field KvLangu is not valid (Error: 236 / 1102)".
I would be very grateful if somebody had faced this issue before and this way could help me with some information.
Best Regards,
Rogerio Prado.Hi Rogerio,
You should put mobile sales related messages in the forum "CRM Mobile applications"
This error message is coming because the language table SMOT002 might be empty in your mobile client OR it does not have all the values which have been customized in the system.
You need to have subscription based on publication "customizing objects" assigned to your site.
Regards
Vivek -
How to restrict the order reason in Tcode Va01 while creating sales order
Hi Gurus,
My requirement is
while creating sales order in VA01
if order type is Zvol
than the list of order reasons has to be restricted.
Now 15 are coming from OVAU tcode
I need only 5 from these.
Thanks & Reagrds
kals.Hi,
By doing the user exit in IW32 we achieved the requirement of restriction of maintenance order TECO functionality if any Service Entry sheet pending with reference of maintneance order.
regards
JKM -
Need info on Standard Web services to pull Order data in CRM from external applications
Hi Gurus,
I have a requirement to pull Order data in CRM from external non-sap application using Web services. Are there any standard SAP provided web services to pull order data based on some input? If yes, can you provide me any kind of documentation related to this?
Appreciate your help on this.
Thanks
LakshmanHi Lakshman,
I have checked further.
Please review below link of the SAP Help documentation :
http://help.sap.com/saphelp_nw70/helpdata/en/47/3a989cbcef2f35e10000000a1553f6/content.htm?frameset=/en/46/97218e79f115eae10000000a114a6b/frameset.htm¤t_toc=/en/d1/802cfc454211d189710000e8322d00/plain.htm&node_id=439&show_children=false
and also the link :
–http://esworkplace.sap.com/socoview(bD1lbiZjPTAwMSZkPW1pbg==)/render.asp?packageid=DE0426DD9B0249F19515001A64D3F462&id=347DD31EB5AB4BC592BD8B29C0981A1B
Hoping that this will be helpful.
Best regards - Christophe -
Hi All, We are in to Release 11.5.10.2.There is a specific requirement to Prevent users from creating Manual Sales Orders in Oracle and yet users should be able to book the Sales Orders Imported from CRM system into Orcale.Please advise.
Thanks for your advise.
However, I missed to mention that we have two set of users One is for Finished Goods and another for Spares.
Only Spares users need to be prevented from creating Direct/Manual Sales Orders in Oracle.
As you suggested, if this will be done at Form level, that may Disallow FG users also to create Manula Sales Orders which should not be the case.
Further, I tried to test one scenario through Processing Constraints but it did not work.
Application
OM
Validation Type
Entity
Temp
Short Name
TBL
Validation Semantics
Created By
Equal To
User(Myself)
Processing Cosntraint
Application
OM
Entity
Order Header
Constraint
Operation
User Action
Create
Not Allowed
Conditions
Group
Scope
Validation Entity
Record Set
Validation Template
101
Any
Order Header
Order
Above Created
Please advise. -
REPORT for list of invoice with an order reason.
Hi SAP Gurus !
Is there any standard SAP report which will show me a list of invoice with an order reason field?
I have tried VF05 and VF05n,but in both of them, order reason as a selection parameter field is missing.
In case of any clarification kindly revert back to me.
Regards,
UjjawalThanks to all !
Actually i was going to create a query with VBRK and VBAK tables but sales order number is not the common link as sales order number is present in VBAK table only.
Apart from that i had tried to add VBRK and VBRP table then i was getting the list of invoice with order reasons (because order reason was getting copied from an order to invoice) ,but in this query i'm getting Order reason number with list of invoice only(Description of order reason is not coming).
Please guide me for this if i'm wrong.
Regards,
Ujjawal -
Error while creating and opening a ERP sales order in SAP CRM
Hi,
I am getting an error while creating or opening a ERP sales order from SAP CRM.
"Creation of the ERP Transaction failed" this is the error i'm getting while creating. when i try to open an existing sales order I'm getting a dump.
Attached the dump screen shot. From the dump analyasis it seems the transactions are not loaded through LORD framework.
The RFC connection seems to fine as i have tested accessing an ECC RFC FM through a sample program and its successful..
please help..
Thanks
KrishnaHello Krishna,
Did you get a solution to this? I have the same dump message.
As a matter of fact, we already use ERP Sales Order and it works fine. But I have recently configured a new sales order document type, and the dump occurs only for this new Z order type.
Thanks a lot,
Luis. -
Sales Order - order reason - cost element error in PO creation
Good day Friends,
We have a third party order scenario in our group among different company codes (FI-SD). This scenario is working fine among the existing companies.
Now there is a requirement from finance department to capture the revenues at different cost centers based on the order reason selected in the sales order.
When order reason is mentioned in the sales order the system is giving error at the time of purchase order creation as u201CCreate account 123456 for 16.05.2010 as a cost element in controlling area INTu201D
Where as if the sales order is created without order reason there is no problem in purchase order creation.
Here the account 123456 cannot be created as cost element because it will stop the other existing processes in this controlling area.
ThanksI can tell you why it's occurring and maybe give you a few suggestions on what to do. The G/L account assignment for the third party sales process is determined based on the account key/modifier assigned to the transaction and the valuation class assigned to the material. In this case, the account key/modifier is determined based on the account assignment category assigned to the purchased order (in the standard system the account assignment category is X for third party processing and the account modifier is VAX). You would find the G/L account based on the combination of the account key = GBB, account modifier and valuation class using t-code (OBYC).
Saying all that, currently that combination is finding a G/L account that is not setup as a cost element (probably your cost of goods sold account) and that's normal for these types of posting. You can only make postings to cost centers for accounts that are setup as cost elements, so currently the system will not let make a posting to a cost center.
So if you want this transaction to post to a cost center, but don't want to create a cost element for this account, then you must use a different G/L account for these postings. The simplest options would be to either change the account modifier assigned to the account assignment category or assign a different valuation class to these materials. Once you've change one of those you can now assign a different G/L account to that combination in OBYC and create that account as a cost element.
thanks, -
Link between Service Order / Confirmation in CRM and Purchase Order in ECC
Hi all,
Does anyone knows what the possible link is between a Service Order / Service Order Confirmation in CRM and a Purchase Order in ECC ? I heard that this could be found somewhere in the document flow of a Service Order ....
How do we get the Purchase Order number from ECC in the Document flow section of an Service Order in CRM ?
We need the PO number somehow to be able to create a Goods Received document in ECC from CRM.
BR,
AbjuhHello Abjuh,
As of CRM 4.0 (with Service Industry extensions), you can automatically create ECC Purchase Orders from a CRM service order.
It is possible to track the status of the individual service order items with the document flow.
Please refer to the SAP Help for more information.
http://help.sap.com/saphelp_crm70/helpdata/EN/46/8bae7e9e886160e10000000a1553f7/frameset.htm
Kind regards,
Kristoff.
Maybe you are looking for
-
Best fit lines for loops and sine waves
I am trying to find a best fit line that will work for sine waves and loops (hysteresis loops). I can get the sine wave just fine, but when I switch to a hysteresis it just puts a line across the middle (I assume because of the 2 y values for every x
-
On Oracle 11.2, I observed below create index ind_jperson_1 on d_jperson(convict_ref); create index ind_jperson_2 on d_jperson(driver_ref DESC); select index_name,table_name,column_name,column_position,descend from USER_IND_COLUMNS where table_nam
-
(BUG?) Oracle Apps Adapter - Unable to setup Concurrent with no parameter
Hi all. I'm facing a problem when using Oracle Apps Adapter 10.1.3.1 In JDev Adapter Configuration Module Browser, when I want to configure it to execute a concurrent program that has no input parameter, the Module Browser does not work (the OK butto
-
Changing addRowButton.vm so page doesnt reset to the top of the page?
Hi, I have several unstacked tables on a single page that have "Add Row" buttons on them. Clicking on the "Add Row" button causes the screen to refresh and the screen resets to the top of the screen. Is there any way to keep the position on the scree
-
OSB oracle/wss_username_token_service_policy use
I'm trying to secure an OSB Proxy by attaching the OWSM policy oracle/wss_username_token_service_policy , I want to authenticate username and password against Weblogic Security Realm Users, can it be done? or maybe I must use another OWSM policy? Tha