Help needed on the logic used to display ERP Sales order in CRM WEB UI

Hi,
I have a requirement where i need to trigger an activity/workflow in CRM for orders that are created through ERP Salesorder functionality. In the workflow list, we need to give the order description and provide an hyperlink to the order number. on selection of order number, it should display the ERP sales order. To achive this in workflow, i am trying to understand the as-is standard functionality which is available in Agent Inbox search on ERP sales order.This search is getting the ERP orders and on selecting the order it is opening the ERO sales order page. I tried debugging the method GET_MAINCATAEGORY available in the component iccmp_inbox and in the view Inboxsearch.But couldnt really able to crack the logic how it is retrieving the ERP sales order from inbox search. Any pointers on how this is achieved will be of great help.
Thanks,
Udaya

Hi Denis,
very good idea. I thougt myself about that workaround, but it is not really that for what I searched.
I mean the "SAP Query" is a really good standard tool, that are used by many customers. That is why think there must be a standard way to display the SAP Query in the Web UI without using Transaction Launcher.
But it seems that there is no way, except of the transaction launcher or by using an additional analyse system like SAP BI.
By the way do you know a Web UI compoment which enable the user to start reports like SE38?
Regards
Fabian

Similar Messages

  • Displaying ERP Sales orders in CRM ISU BOL Tree

    Hi,
    I need to display ERP Sales orders of a BP in the CRM Web UI  ISU BOL Tree.
    We are using CRM 7.0 EHP3. The Genil Component for ISU BOL Tree is IUICALL.
    Is there any relation/object which can give the list of ERP Sales orders for a BP.
    I have tried with Genil Component ERP and query ERPQORDER, but it's not returning any orders for the given BP even the orders are available in ERP.
    Can you please suggest whether I need to do any configuration wrt RFC set up to get ERP data ?
    Also please suggest what are the prerequisites to be followed to access the ERP Sales Order data from CRM.
    Thanks
    Jayasri

    Hi Jayasri,
    Unfortunately there is no relation from BP to the ERP sales orders afaik. So the tree node implementation class is the place where you can execute the query.
    The RFC destination stored in CL_CRM_ERP_IL=>GV_RFC is determined in method
    CL_CRM_IC_ERP_SERVICE=>CLASS_CONSTRUCTOR(). Here in line 9 the current ERP sales order profile is determined (based on the business role) an in line 12 the profile data is read from the database (and stored in class attribute GS_ERPPROF-RFCDEST). Please set a break-point in this method to check why the destination is not retrieved correctly.
    A possible reason is that your business role might not have the correct profile assignment or that the business role profile is not maintained at the point of time where CL_CRM_IC_ERP_SERVICE=>CLASS_CONSTRUCTOR() is invoked (like in the test environment or in BOL browser).
    If the RFC connection is not available or the connected system is not valid ERP system (function SLS_LORD_MAINTAIN_EXIT is a prerequisite in ERP), the RFC destination is not considered. You can set break-points in methods CL_CRM_IC_ERP_SERVICE=>GET_RFC_DEST() and CL_CRM_ERP_IL=>CLASS_CONSTRUCTOR() to analyze the validation.
    Kind regards,
    Christian

  • Any case study on using ERP sales order vs CRM Sales order in IC WEB UI

    Hi All,
    Currently we have a requirement where in agent uses ERP Sales order functionality in IC WEB UI for creating sales order. Incase of any incompleteness in order or any pricing error an activity should get created and should get assinged to Back office guy(CRM User).
    My approach is as follows, we will call a custom FM in CRM from the user exit associated with Sales order transaction, This logic gets executed on save of ERP sales order.This custom FM will create an activity in CRM and assing it to back office guy. Other approach is to use the IDOC linked to the VAO1 transaction which inturns calls the custom fm.
    Can you please suggest if you have any better approach to this.
    Recently we came to know that ERP Sales order has got limited functionalities. If some one has a case study doc on ERP Sales order vs CRM sales order pls give me the ref link.
    Thanks,
    udaya

    Hi Udaya,
    Calling a Customer Specific R/3 Transaciton was quite easy in CRM 4.0 / 5.0 in the PC-UI Framework using Object Links. You can do that all by customizing and creating a custom method for a BOR Object in Transaction SWO1.
    I think I've used CRM_ORDER_MAINTAIN to update the Document Flow. The subsequent activities where created by BAPI_ACTIVITYCRM_CREATEMULTI. I've wrapped all that standard functions in a RFC enabled function module.
    It would be possible to provide also a link in the E-Mail to the Manager but the client is using a Citrix environment to provide access to the Portal. But Outlook runs locally. So we decided to use the standard Portal iView to display the Alerts. When you fill the Alert Container with the elements OBJKEY_GUID, OBJKEY_BOR_OBJECT_TYPE, OBJKEY_CRM_OBJECT_TYPE, OBJKEY_METHOD and OBJKEY_LOGICAL_SYSTEM using the Function Module SWC_ELEMENT_SET that provides a direct link to the specific document too.
    Best regards
    Gregor

  • Using BAPI_ACTIVITYCRM_CREATEMULTI for creating sales order in CRM

    Hello Experts,
    I am creating a sales order using BAPI_ACTIVITYCRM_CREATEMULTI, But I am getting the following errors:
    1. Reference Object Type (ORGMAN) not allowed
    2. Reference Object Type (PARTNER) not allowed
    3. Incomplete interface data - No reference specified
    4. Item was not found
    Can you please help me with the mandatory fields, that has to be filled in the BAPI, and do I need to use Commit BAPI after this BAPI.
    Please I am in critical postion,
    Now I am able to create a sales order there is no data it like the partner number and Item.May be I am missing some important fileds.
    Please help.
    Thanks,
    Suma
    Edited by: Suma B on Aug 8, 2008 1:05 PM

    Hi,
    I am passing data using SE37 T-Code.
    I was told by the fucntioal guys that GUID will be generated by CRM, so we dont need to send that as an input.
    Still facing the same error...
    These are my input fields:
    REF_HANDLE
    REF_GUID
    R
    OBJECTNAME
    LOGICAL_KEY
    FIELDNAME
    C
    |
    0000000000
    ORDERADM_H
    PROCESS_TYPE
    0000000000
    ORDERADM_H
    POSTING_DATE
    0000000000
    ACTIVITY_H
    CATEGORY
    0000000000
    ACTIVITY_H
    PRIORITY
    0000000000
    ACTIVITY_H
    DIRECTION
    0000000000
    PARTNER
    000000000022XXXXXXX
    REF_PARTNER_FCT
    0000000000
    PARTNER
    000000000022XXXXXXX
    REF_PARTNER_NO
    0000000000
    PARTNER
    000000000022XXXXXXX
    PARTNER_FCT
    0000000000
    PARTNER
    000000000022XXXXXXX
    PARTNER_NO
    0000000000
    ORGMAN
    DIS_CHANNEL
    0000000000
    ORGMAN
    DIVISION
    0000000000
    ORGMAN
    SALES_ORG
    0000000000
    ORDERADM_I
    PRODUCT
    0000000001
    B
    SCHEDLIN
    00000000000000000000000000000000
    QUANTITY
    |
    This is error log:
    T
    ID
    NUM
    MESSAGE
    LOG_NO
    LOG_MS
    MESSAGE_V1
    MESSAGE_V2
    MESSAGE_V3
    MESSAGE_V4
    PARAMETER
    ROW
    FIELD
    SYSTEM
    |
    W
    CRM_ORDER
    004
    Referenced object type (ORGMAN) not allowed
    $000001
    000001
    ORGMAN
    ORDER
    0
    CR5CLNT100
    W
    CRM_ORDER
    004
    Referenced object type (PARTNER) not allowed
    $000001
    000002
    PARTNER
    ORDER
    0
    CR5CLNT100
    W
    CRM_ORDER
    005
    Incomplete interface data - No reference specified
    $000001
    000003
    ORDER
    0
    CR5CLNT100
    E
    CRM_ORDERADM_I
    006
    Item  was not found.
    $000001
    000004
    ORDER
    0
    CR5CLNT100
    E
    CRM_ORDER
    005
    Incomplete interface data - No reference specified
    $000001
    000005
    ORDER
    0
    CR5CLNT100
    S
    CRM_MESSAGES
    005
    A log has been generated for single document
    $000001
    000006
    MESSAGES
    0
    CR5CLNT100
    E
    COM_PARTNER
    119
    Enter   Sold-To Party
    $000002
    000001
    Sold-To Party
    PARTNER
    0
    PARTNER_NO
    CR5CLNT100
    E
    COM_PARTNER
    119
    Enter   Ship-To Party
    $000002
    000002
    Ship-To Party
    PARTNER
    0
    PARTNER_NO
    CR5CLNT100
    E
    COM_PARTNER
    119
    Enter   Bill-To Party
    $000002
    000003
    Bill-To Party
    PARTNER
    0
    PARTNER_NO
    CR5CLNT100
    E
    COM_PARTNER
    119
    Enter   Payer
    $000002
    000004
    Payer
    PARTNER
    0
    PARTNER_NO
    CR5CLNT100
    E
    COM_PARTNER
    119
    Enter   Sold-To Party
    00000000000000047612
    000001
    Sold-To Party
    PARTNER
    0
    PARTNER_NO
    CR5CLNT100
    E
    COM_PARTNER
    119
    Enter   Ship-To Party
    00000000000000047612
    000002
    Ship-To Party
    PARTNER
    0
    PARTNER_NO
    CR5CLNT100
    E
    COM_PARTNER
    119
    Enter   Bill-To Party
    00000000000000047612
    000003
    Bill-To Party
    PARTNER
    0
    PARTNER_NO
    CR5CLNT100
    E
    COM_PARTNER
    119
    Enter   Payer
    00000000000000047612
    000004
    Payer
    PARTNER
    0
    PARTNER_NO
    CR5CLNT100
    |
    Thanks,
    Suma

  • Help needed in the logic

    i hav select query like this:-
    SELECT COUNT(*) INTO NO_OF_WORKERS FROM PA0000
    WHERE ENDDA = '99991231' AND STAT2 = '3'.
    with this select query , i can get the no. of workers .
    How can i get the no. of workers in the recording period <u><b>excluding</b></u> those persons who were absent from work on paid/unpaid leave for the entire period?

    Hi Hari,
    I got the solution for you.use the following sql query.
    SELECT COUNT(*) INTO NO_OF_WORKERS
    FROM PA0000 AS a inner join PA2001 as b on apernr = bpernr
    WHERE aENDDA = '99991231' AND aSTAT2 = '3'
    and ( bawart = '0100' or bawart = '0727' ).
    Now onething, in my comapany, in PA2001, field awart = '0100' means paid leave and 0727 means unpaid leave.
    this things r configured in SPRO. so must replace the values of awart in sql qurey as per the values of paid/unpaid leave in your company.
    you can do one thing, go to infotype pa30..then put 2001 in the infotype field in that screen, put cursor in STy field , hit F4 , it will show you the value for paid unpaid leave.
    Note the value , modify the value of awart field inthe sql query, thats it.
    cheers, and hey dont forget to give reward points.

  • Write an UPdate statement using the logic used in PL/SQL block (oracle 10g)

    Hi All,
    I have written the following PL/SQL block. I want to write an UPDATE statement using the logic used in the following PL/SQL block. can any one please help me out in this regards.
    DECLARE
       v_hoov_fag   gor_gold_post.hoov_flg%TYPE;
       v_b49n          gor_gold_post.b49n%TYPE;
       CURSOR c
       IS
          SELECT bs_id, loyalty_date, loyalty_period, contract_date
            FROM gor_gold_post
           WHERE tariff_code IN (169, 135, 136);
    BEGIN
       FOR rec IN c
       LOOP
          IF    (TRUNC (ADD_MONTHS (rec.loyalty_date, rec.loyalty_period)
                        - SYSDATE) < 304
             OR (    TRUNC (  ADD_MONTHS (rec.loyalty_date, rec.loyalty_period)
                            - SYSDATE
                           ) IS NULL
                 AND (SYSDATE - TO_DATE (rec.contract_date, 'YYYYMMDD')) > 91.2
          THEN
             v_hoov_flg := 1;
          ELSE
             v_hoover_flag := 99;
          END IF;
          IF    (TRUNC (ADD_MONTHS (rec.loyalty_date, rec.loyalty_period)
                        - SYSDATE) < 121.6
             OR (    TRUNC (  ADD_MONTHS (rec.loyalty_date, rec.loyalty_period)
                            - SYSDATE
                           ) IS NULL
                 AND (SYSDATE - TO_DATE (rec.contract_date, 'YYYYMMDD')) > 91.2
          THEN
             v_b49n := 1;
          ELSE
             v_b49n := 99;
          END IF;
          UPDATE gor_gold_post
             SET hoov_flg = v_hoov_flg,
                 b49n = v_b49n
           WHERE bs_id = rec.bs_id AND tariff_code IN (169, 135, 136);
          COMMIT;
       END LOOP;
    END;Thank you,

    Using case statement.
    UPDATE gor_gold_post
       SET hoov_flag = CASE WHEN TRUNC (ADD_MONTHS (rec.loyalty_date, rec.loyalty_period) - SYSDATE) < 304
                                   OR
                                   (TRUNC (ADD_MONTHS (rec.loyalty_date, rec.loyalty_period) - SYSDATE) IS NULL
                                AND (SYSDATE - TO_DATE (rec.contract_date, 'YYYYMMDD')) > 91.2)
                           THEN 1
                           ELSE 99
                         END,
           b49n      = CASE WHEN TRUNC (ADD_MONTHS (rec.loyalty_date, rec.loyalty_period) - SYSDATE) < 121.6
                             OR
                             (TRUNC (ADD_MONTHS (rec.loyalty_date, rec.loyalty_period) - SYSDATE) IS NULL
                                AND (SYSDATE - TO_DATE (rec.contract_date, 'YYYYMMDD')) > 91.2)
                           THEN 1
                           ELSE 99
                         END
    WHERE tariff_code IN (169, 135, 136);Note: Code not tested.

  • What is the logical use of defining Dimension Object Relationships in DBI?

    Hi!
    I am reading the Oracle Daily Business Intelligence Implementation Guide and as I am following the guide on how to extend DBI, I saw a section which discusses how to create dimension object relationships. Until now, I could not fully realize what is the logical use of defining this relationship among dimension objects. I hope someone can enlighten me on this matter...
    Thanks.

    It LIVES ON FOREVER, and starts to take on its own personality, hungrily chasing down other objects in memory and ATTACKING THEM AT WILL. Also it grows over time, in its evil attempt to CONSUME YOUR ENTIRE MACHINE, and comes out and EATS YOU UP TOO! MWAHHHAAAHHHAAAA
    No wait, that was a sci-fi. It just lives until no more references to it exist and thus becomes eligible for garbage collection, and is only a "JAVA" feature not JDBC.

  • Do we need IPC in CRM B2B Webshop for creation of ERP Sales order

    Hi Experts,
    can you pls guide in following scenario in CRM 7.0
    We  are using CRM B2B WEBSHOP, We are creating ERP SALES ORDER .
    We have requirement to display price break up like base price, different discounts, taxes, freights while creation of Sales order on the webshop.
    I would like to understand,
    1) whether we need IPC to show price breakup in SALES ORDER in CRM WEBSHOP.
    2) if yes, do we need enhancement at IPC to display complex discount types on webshop ?
    3) do we need to download entire pricing ( customizing +condition records ) from backend ECC to CRM.
    If anybody has worked on similer scenario ,requesting to help.
    Any points , documents ,step by step guide will be highly appreciated.
    thanks in advance,
    regards,
    PD

    Hi,
    ipc is inbuilt in Kernel to CRM 7.0
    BR,
    Darshan

  • Display Several Sales Orders from Same Business Customer TOGETHER   in MD04

    Hello
    In MD04 is it possible to display several sales orders from same business customer together?
    For instance one business customer order bikes for two times.
    The Order-No are 12912(50st by 07/08/09) and 12913(100st by 10/08/09).
    Normally after runnning of MRP(MD02), the planned orders are displayed seperately in MD04.
    I want to display  two orders together.
    The reason is if some trouble happens in Production(for Ord-no 12912) and it cannot be deliveried on schedule, however Production  (for Ord-no 12913) is going without trouble, the final-products for order 12913 should move for 12912.
    If you have some good solutions, please share it.
    Thank you for your advice.
    Regards,

    Hi Riyolshibashi,
    Lets look at the two main scenarios, MTS and MTO.
    In MTS, the general display filters are available in MD04.  Standard SAP filters do not filter on 'customer'.  I suspect this is because the concept would normally be illogical in a MTS environment.  Planned orders do not exist to serve a customer, but to serve 'stock'.  But let us not think about SAP and their logic.
    SAP allows you to create customized filters, in IMG>Production>MRP>Evaluation>Filter>Define Display filter.  Within this definition, under the  "Addnl Selections' tab, you can tick 'Define addl selections in the transaction'.  When you use this filter in MD04 display, then, one of the options available to you is to enter a specific Customer number, and then the display will only show the requirements from this customer.  Since you have excluded all other customer's orders, all orders of a single customer will be displayed consecutively.  Next to each other.
    In the case of MTO, the 'filter-by-customer' concept makes more sense (although, not for the reason you have stated.  You would have to find some manual method to convert a production order from supporting one sales order item, to supporting another sales order item.  Possible but difficult).  Anyway, the above mentioned customized filter would also work in an MTO environment.
    Regards,
    DB49

  • Header condition type value not displayed in sales order output

    Hi gurus,
    I have observed a strange issue regarding a header condition in a sales order.
    we have a set up like following:
    1. If the Header condition XXXX is used in sales Order then this value should be printed on sales order output.
    2. If the Header condition mentioned in above point is not maintained in sales order it should print the total price of all line items.
    Though i have maintained the header condition value in Sales Order Header its not displayed in SO output.
    That is , I have a sales order and it has one HEADER condition type entered with 3500 USD.
    In fact this value is used for some business purpose and is being printed on the sales order output for a specific output type.
    But where as in a sales order this header condition value is not getting printed on the output though I am using same data as of the sales order which is having the header condition value printed on its output.
    According to business,we must have the header condition value printed on  sales Order output.
    Please suggest how to proceed.
    Thanks in advance.

    Not sure if you are using costom smartform to print invoice, if yes then ask developer to debug and find the root cause and fix it.
    You might need to give him condition when it shuld be printed and when not.
    You can take reference of another output type for which it is printing

  • How the profit center wiil detrmine in sales order

    How the Profit center will determine in sales order
    where we will assign profit center to sales org
    is it right that it will determine from Material master
    Thanks and regards
    Kishore

    Kishore,
    Profit center is used for internal controlling purpose. It helps you to analyze clearly the costs and revenues.
    You can create Profit Centers according to product lines and Functions. Before creation of profit center we should do the basic settings you divide your business or company into internal areas of resposibility. You divide your business into profit centers by assigning it to master data like Materials, Projects , Cost centers, sales orders .
    It is necessary to assign to SD sales orders to Profit Centers in order to reflect receivables, sales revenues and sales deductions on profit centers
    The profit center assignment is also passed on from the sales order through the supply chain: sales order --> delivery note --> goods issue --> billing document. This means that the when a goods issue is posted, the corresponding revenue value for the goods is also passed on to the profit center of the sales order.
    Each order item is assigned to a profit center. The system proposes the profit center of the material in the supplying plant as default, you donot assign profit center manually. This default supports both a product‑oriented and geographical division of your organization into profit centers.
    AFter Creation of profit center you will assign sales order to profit center.
    IMG --> Controlling --> Profit Center Acounting > Assignments of A/c assignemnt objects to profit centers>sales orders --> assign sales orders
    The system uses these substitution rules to determine the profit center from sales orders. You also need to activate these substitutions for each individual controlling area
    b. for that we need to activate  the indicator "Ent org active" then we proceed accordingly.
    IMG --> Controlling --> Profit Center Acounting --> Enterprise organization
    c. The system proposes the profit center of the material in the supplying plant as default, you donot assign profit center manually. When you create a sales order item, the default profit center is copied from Material master or Substituioon rule
    IMG --> Controlling --> Profit Center Acounting > Assignments of A/c assignemnt objects to profit centers>sales orders --> Sales orders substituion rules
    Profit center configuration
    It is configured in Controlling:
    IMG --> Controlling --> Profit Center Acounting --> Master Data --> Profit Center
    When you are trying to create a profit center it will ask for Contolling area.
    Please go through the IMG settings and also go throtuh the URL's provided by our friends as a reply.
    Regards
    Sathya

  • The IC WebClient profile does not have a component 'ERP Sales Order'

    Hi CRM Experts,
    While creating the ERP Sales Order in web-IC
    we have bumped into following error:
    "The IC WebClient profile does not have a component 'ERP Sales Order'".
    And also we are not able to see sales area data and Plant data in the drop down lists.
    we have done the following settings:
    1) ERP Sales Order Profile:we have defined ERP Sales Order profile,maintained RFC destinatin and assigned document type to ERP Profile.
    2) Business Transaction Launcher: We have defined the Business Transaction Profile and assigned dependent business transaction.
    3) We have assigned the Business Transaction Profile to the Navigation Bar Profile.
    Please suggest me regarding above error also let us know did we miss any configuration?
    Waiting for your valuable inputs.
    Regards,
    Sree.

    Hi Sree,
    There is a setting needed for the IC webclient
    ERP_SALES_ORDER
    you need to define ERP sales order profile and assign it to your ic webclient profile.
    And the ERP sales order scenario can only be used with a ERP 6.0 backend system, at least.
    Hongyan

  • Update the price related to condtions in Sales Order

    Hi all,
    I want to update the price related to condtions in Sales Order from input file. I am using bapi 'BAPI_SALESORDER_CHANGE' to for this.
    the code for this
        wa_conditions-itm_number = wa_itab-itm_number.
        wa_conditions-cond_value = wa_itab-kbetr.
        wa_conditions-cond_type  = 'ZPSV'.
        wa_conditions-cond_count = wa_itab-kwmeng.
        APPEND wa_conditions TO it_conditions.
        wa_conditionsx-itm_number =  wa_itab-itm_number.
        wa_conditionsx-cond_count = wa_itab-kwmeng.
        wa_conditionsx-cond_value = 'X'.
        wa_conditionsx-cond_type  = 'ZPSV'.
        wa_conditionsx-updateflag = 'U'.
        APPEND wa_conditionsx TO it_conditionsx.
    But this is creating a new line in conditions instead of updating the existing line, I want to update the exsting line with new condition rate instead of creating a new line.
    i have tried by   lv_logic-pricing = 'B'.
    But it works when values are maintained in vk11.
    Please help me if you have any soultion for this.

    hi siya,
    plz refer to the following threads
    Re: problem using Bapi_Salesorder_Change
    http://www.sapfans.com/forums/viewtopic.php?p=160339&sid=bf9e3219db318d89596f7e911462416f
    i hope it helps.
    arjun

  • Regarding the date of last change in sales order...

    Hi,
    Can anyone help me in the scenario...
    I have to pick the date of last change in sales order...whether it is done on Configuration items ,additional data B or on the ordered quantity...
    the problem is that it has some customized fields that are included in VBAK....
    So i need help regarding this...shud i have to writ a user exit for this....or i hv to do a change in USEREXIT_SAVE_DOCUMENT .
    Plz help me..
    Edited by: Amit Gupta on May 1, 2008 3:02 PM

    VBAK-AEDAT will be updated, evenIf you have your custom fields in Sales Order.
    Regards,
    Naimesh Patel

  • Is it possible to use variant configuration (with a Non-SAP solution) when creating ERP sales orders in SAP CRM WebUI

    Hello,
    our customer plans to use a Non-SAP solution for variant configuration (Camos) in SAP ERP (ECC 6.0) and in SAP CRM 7.0 EHP1 as well.
    ERP sales orders (and ERP quotations) should be created in SAP CRM (CRM WebUI).
    Is it possible to use variant configuration (with an external variant configuration tool) when creating ERP sales orders and quotations in the SAP CRM WebUI or do we have to implement SAP IPC for this?
    Thanks in advance.
    Regards,
    AEV

    Dear AEV,
    I think LORD (lean orders) should work with variant configuration as well. In the note 1236015 there is not restriction listed. However you need lord2 activated in ECC, and ECC system should be on EHP4.
    Best regards
    Rene

Maybe you are looking for