Cannot extract user statuses for Opportunity items

Hi,
Standard SAP Extractor does not extract User statuses for the Opportunity Items, Data Source name 0CRM_OPPT_I for 0CRM_C04 icube.
According the OSS note We have to prepare our own enhancement of the extract structure to include the mapping of the user status group.
We extended the related structure. There is no problem with this. We need a code sample for mapping of added field to extract structure.
There is a BAdI for this purpose : CRM_CSDR_BWA_MFLOW
I need to insert some ABAP code in this implementation.
Does anybody can give some code sample for this.
thanks,
Yigit

You can also configure the user status for Opportunity Item also. If you want to enhance the dataSource, here is the sample for BAdI:
method if_ex_crm_bwa_mflow~enhance_data_source .
  data: it_extract type table of CRMT_BW_OPPT_I,
        wa_extract like line of it_extract.
  case i_datasource.
    when '0CRM_OPPT_I'.
      it_extract = ct_data[].
      refresh ct_data.
      loop at it_extract into wa_extract.
Implement your logic here*****
All the statuses stores in CRM_JEST table*****
        modify it_extract from wa_extract.
      endloop.
     ct_data[] = it_extract.
    when others.
  endcase.
endmethod.

Similar Messages

  • User status for component item in service order (plant maintenance order)

    Dear experts,
    I cannot find the customizing for assigning a user status (profile) to a component item of a service order.
    IW31 - tab components - mark an entry - click on button "component status"
    Can you help me?
    Best Regards,
    Philipp

    OSS message created. Answer from SAP:
    11.02.2011 - 15:04:46 CET - Antwort von SAP     
    Hello Mr. Miller,
    user status for components are not possible and not intended. I'm
    sorry that I cannot provide better news.
    Best regards
    Reinhard Gruber
    Senior Support Consultant
    AGS Primary Support,
    Business Suite & Technology
    SAP AG
    Therefore this message is closed... but not yet answered
    Edited by: Philipp Miller on Feb 11, 2011 3:28 PM

  • Extracting User Status for Sales Orders

    I am trying to extract user status transactional data for sales orders (at both the header and item level).  I have been following SAP note 300300 to configure the status extractors and map the BW objects to sales order status data sources (2LIS_11_VASTH & 2LIS_11_VASTI).  I think I have set up both R/3 and BW correctly according to note 300300 and the IMG documentation, but I am not getting any values in the info source for the new user status info objects, when I run the extract.
    Has anyone successfully done this?  If so, do you have any documentation or pointers on how I can get this to work?  Or, am I better off creating a generic extractor?  Thanks for your consideration.
    Sincerely, Hashi Chakravarty

    Hello Ravi,
    well yes, I can derive the status for that order in the update rules if i show the status as an attribute of the 0pm_order; but basically there will be only the last status shown.
    My problem:
    a. i report on day 1, the status of the order is REL
    b. on day 2 i load the master data for the orders, new status is TECO
    c. on day three i want to report in the past and see the status of day 1; that's not possible in this scenario because i'll see the current status (TECO).
    So that's why I want to have the statuses in the cube...
    The 2lis_17_i3hdr extractor is only sensitive to CRT and TECO statuses, but not to the others (like REL / BLC and so on... :_(( )
    I could read the statuses from the JEST and TJ02T tables...but still, if a document status is changed, no delta record is written in the queue...
    Thanks,
    Tudor

  • How to extract User status for Sales and purchase contracts

    Hello,
    We need to load the User status linked to sales and purchase contract.
    I think that there is no datasource in BI content.
    What is the better solution ?
    - Enhance a standard datasource like 2LIS_11_VASTH with a status field (This solution is not ok for Purchase contract)
    - Create a spécific datasource to extract this status
    - Others
    Thanks for your help
    Best regards
    Christophe

    Hi,
    In your scenario its better to use generic extractor to get the reqd data. This data can than be stored in a DSO on the BI side.
    And you can look up for the user status using a routine .
    Regards,
    Rahul

  • User status for ERP Quotation items in CRM Web UI

    Hi,
    We have created an assignment block in Opportunity overview screen to show all ERP Quotation created for the opportunity.
    This is a tree view and we are displaying Quotation header and its items details.
    To achieve this, we used ERPOrder BOL object.
    Now, the problem is that we have to show, user status for Quotation header and its items.
    I checked the BOL object.
    To show user status for Quotation header, I think we have following solution.
    ERPAdminH->ERPHeaderUserStSet->ERPUserStatus->field(STATUS_T)
    But, I could not find anything to show user status for quotation items.
    The following relationship shows only system status.
    ERPAdminI->ERPItemStatus->all fields in the underlying structure show the system statuses.
    Could anyone help me to find the way to show user status for items?
    Thanks & Regards,
    Ansal

    Hi,
    Maybe this description will help you:
    [http://weblogs.sdn.sap.com/pub/wlg/23879?utm_source=feedburner&utm_medium=email&utm_campaign=Feed%3A [original link is broken] [original link is broken] [original link is broken] [original link is broken]SAPWeblogsCrm%28SAPWeblogs%3ACRM%29|http://weblogs.sdn.sap.com/pub/wlg/23879?utm_source=feedburner&utm_medium=email&utm_campaign=Feed%3A [original link is broken] [original link is broken] [original link is broken] [original link is broken]SAPWeblogsCrm%28SAPWeblogs%3ACRM%29]
    Kind regards
    Manfred

  • System status and user status in Line Item Reports

    Dear PS-friends,
    I have to extend the CI CI_PROJ with some new fields. These fields should be shown in diverse Line Item Reports (CJI3 u2026).
    I know how to get these customer fields into the field catalog for the reports (maintain include table CI_RKPOS, EXIT_SAPLKAEP_001 and ViewCluster V_TKALV).
    Now our customer wishes that 2 of the new fields are: system status and user status. The status should be shown in CJI3 as a concatenated field as you see it in CJ20N.
    In CN42 there is the column system status as a standard column. But I cannot find the structure CNJ_STAT included in V_TKALV for Line Item Report Object=PD.
    Has anybody an idea how it works to show the system status and user status in Line Item Reports.
    Thanks in advance!

    Problem is solved.
    I wrote a function module using FM 'STATUS_TEXT_EDIT' and concatenated line and user_line.

  • How can I access user permission for specific items in Sharepoint 2013 via REST API?

    I want to access user permissions for specific items like lists, documents, folders etc. via the REST API.
    Currently I am hitting the following endpoint:
    http://win-5a8pp4v402g/sharepoint_test/site_1/_api/web/getUserEffectivePermissions('win-5a8pp4v402g\\Sharepoint User 2')
    However the response looks like this:
       "d":
           "GetUserEffectivePermissions":
               "__metadata":
                   "type": "SP.BasePermissions"
               "High": "0",
               "Low": "0"
    I cant understand why high and low are both 0? I have added the user to a specific group. Also this is the same result for each of the users. Another thing to note is that I havent added the "Guest" user in the sharepoint server. So when I hit the endpoint for the Guest user, it still shows the same response. So I know there is something I am doing wrong.I want to access permission of a user for a specific item, say a document using the REST API. Can someone tell me how? What would be the endpoint?

    Thanks for the reply. Although this works for Lists, I need to get permissions of documents too. Here is what I have tried:
    http://win-5a8pp4v402g/sharepoint_test/site_1/_api/web/GetFileByServerRelativeUrl('/sharepoint_test/site_1/Documents/file1.txt')/GetUserEffectivePermissions(@user)?@user='i%3A0%23%2Ew%7Cwin-5a8pp4v402g%5Csharepoint%20user%201'
    And the response is:
       "error":
           "code": "-1, Microsoft.SharePoint.Client.ResourceNotFoundException",
           "message":
               "lang": "en-US",
               "value": "Cannot find resource for the request GetUserEffectivePermissions."
    Clearly this doesnt work for a file. Whats wrong?

  • U00BFMultiple user status for WBS Element?

    Hello,
    I need to create multiple user status for a WBS element.
    I'm using the BAPI: BAPI_BUS2054_SET_STATUS
    CALL FUNCTION 'BAPI_BUS2054_SET_STATUS'
         Importing
           return = ls_returnbapi1
        TABLES
    I_WBS_SYSTEM_STATUS =
            i_wbs_user_status = it_wbs_user_status"--> This table contais 2 record, with the same WBS elements and diferent status
           e_result = it_result.
    I put several rows (two)  in the table it_wbs_user_status., I put two rows,  the WBS elements for the same item with two different status, but I get error because it says that the WBS  element is repeated.
    ¿Can you have multiple user status for the same element PEP? I try it in the transaction CJ20N too, and I don't Know.
    Thanks.

    In transaction CJ20N you can change user status for each WBS elements.
    Menu --> Edit --> Status --> User Status --> you can choise betwen "Set" or "Set & Pass On".
    I want BAPI, function , etc.... that do the same thar "Set" , not "Set & Pass On".
    BAPI_BUS2054_SET_STATUS = "Set & Pass On"
    Thanks

  • Need help on to set User status for Operations in Maintenance order

    Hi experts,
    i am new to PM module.
    i need to do BDC for IW31. i want to know some inforamtion
    on user status for each opertaion.
    my problem is ,, what is user status.
    why it is saying order is not yet released when saving and status can not set.
    in this cases how can i do BDC.

    User status are something set in the configuration and specific to the company which SAP hasn't given in the system status.
    May be in your system user status are configured to set only  after the release of the order.
    For doing the userstatus you may need to release the order, you can release the order thru bdc and then do bdc for user status. Also see below link
    http://www.sap-img.com/plant/user-status-set-date-in-maintenance-order.htm

  • Set User-status for PP order

    Hi All,
    How can I set the user-status for a PP order, also let me know which user exit suits this requirement, as I know I have to make use of a FM or a BAPI which sets the user-status in the user-exit somewhere.
    Thanks
    Mark

    Hi,
    Try the following enhancements/exits for setting the status for PP order.
    STATTEXT
    CCOWB001
    COIB0001
    Regards,
    Anji

  • Set a User Status for Quality Notifications only if they are "Activated".

    Hello experts:
    I need to be able to set a User Status for Quality Notifications only if they are "Activated".
    When defects are recorded for an inspection lot, a "Defect Notification" is created which can be activated to become a "Quality Notification".  Initially, the only difference between the inactive "Defect Notification" and the active  "Quality Notification" is that  the system status DEFR is active for the "Defect Notification", but is cleared when the notification is activated.
    So, I'm looking for the business process associated with the Activation to use as a trigger for my own user status.
    I checked the business rules for status DEFR and found that the following processes clear this status
      PMM1 -  Postpone Notification
      PMM2 -  Put Notification In Process
      PMM3 -  Assign Order
      PMM6 -  Put Notification In Process Again
    Any Ideas ?

    Perhaps some additional information would help you understand what I need to do.
    For notification type F3, we are recording all defects found in production.
    Most of these are expected defects that result in a minor reduction in yield.
    For this type of defect, we do not activate the notification, and the inspection lot is closed automatically at the end of production.
    However, sometimes defects are observed of an unexpected type or a higher than expected quantity.
    When this happens we manually activate the notification and assign tasks to find and correct the cause.
    It is only for these activated notifications that I want to automatically set a user status, which among other things, will prevent the notification from being closed until some other actions are complete and a different user status is selected.
    The function of the user status currently works exactly as I want, but if it is set as the initial status for all F3 notifications, it is also preventing the un-activated defect notifications from automatically closing.  I therefore want to use the Activation event as the trigger to set my user status.

  • Activation of User status for Prod. order

    Hi,
    I have created a status profile with a status as a user status for production order. Now the thing is how to activate this user status for a specific transaction.
    the requirement is after settlement the user status should get activated for production order.
    Regards
    Amit Parkhi

    Hi Amit,
    As told by Ajay , after assigning Status Profile in OPJH you can assign User Status to production order as below:
    Pls. go through the following procedure for activating the User Status :
    Activating User Statuses
    Use
    You can activate a user status at order header and at operation level.
    Procedure
    Order Header Level
    Go to the order header.
    Choose .
    Choose Edit ® Direct entry.
    The system displays a dialog box in which you can select the permitted user statuses.
    Position the cursor on the required user status and choose Choose .
    Operation Level
    Go to the operation overview.
    Select the operation in question.
    Choose .
    Choose Edit ® Direct entry.
    The system displays a dialog box in which you can select the permitted user statuses.
    Position the cursor on the required user status and choose Choose .
    Pls. follow the above procedure as per rquirement and set user status accodingly.
    Pls. revert if any doubt and reward if useful.
    Regards,
    Tejas
    Edited by: Tejas  Pujara on Jun 23, 2008 8:10 AM
    Edited by: Tejas  Pujara on Jun 23, 2008 8:11 AM

  • User status for Notification

    Hi all, I want to change the user status NOCO(Notification completed) for M2 type of notification in the Quality client.I did it in Dev client for M2(Break down Notn) and imported the TR to Quality.When i try to assign this status in Quality client, the system is throwing an error as follows.
    Status NOCO is not allowed (QNF 10039901).   Solution please.Also provide the path in SPRO.
    Thanks in advance,
    Venu.

    Have you completed all of the tasks in the notification. Has the Notification the following system status : ATCO ,
    If not, you would not be able to complete the Notification. Try Completing all the tasks and then mark the Notification as Complete.
    If you have defined any user status to be NOCO, then check that whether in the User status profile, against the current user status of the Notification, the lowest and Highest columns allow the NOCO status or not. Include the status number for NOCO against the current user status. This would solve the problem.
    Path for User Status Profile Creation and Assignment:
    SPRO>Plant Maintenance and Customer Service>maintenance and Service Notifications>Notification Processing>User Status For Notifications-->Define Status Profile
    Edited by: Usman Kahoot on Jun 1, 2010 5:19 PM

  • User Status for process orders

    Dear Experts,
    We are using user statuses for process orders & with this we are resricting or allowing certain business transactions.
    My question is can we automatically set the two consecutive user statuses ?
    Means when the GR for process order is done i have set the user status as GR.
    Next user status is CLSD.
    So after completing the closing of process order by settlement transactions can i set the staus as CLSD automatic?
    I am trying to do it but i am getting error as-
    "Status CLSD is not allowed (ACT 30000292 0010)"
    Your help is highly appriciated
    Regards
    Vivek

    Hi,
    1) Still your order is carrying cost, it has not settled properly
    2) you can check in CO02 itself, Go to tool bar at top
    3) here Go to > Costs > Analysis & check whether order is set to Zero
    4) you can check in KKBC_ORD also
    Also, pls refer below link
    Re: HOW automatic order status change to CLSD
    regards,
    Sankaran

  • User status for bid invitation

    Hi all!
    Could you give me a hand with user status for bid invitation? I made some statuses for Bid and allowed them to transaction type u201Cbid invitationu201D u2013 it seems OK. But when I try to create a bit invitation, Iu2019ve got a system error u201Cstatus profile is not allowed for bidding headeru201D
    What can I do to settle this problem?
    Thanks

    Everything OK, I select object type for u201CBidding Headeru201D

Maybe you are looking for

  • Family sharing and itunes

    Hi Communitty. In my house we are going to update all out devices and computers. we share 1 apple id account with all members. Can we continue using Itunes Cards as a prefered payment? since we do not use CC for anything that has to do with purchase

  • How to create a report template

    Hello Could anybody give the information/steps for creating a report template. Thanks.

  • BPC 7.5 : Error in deleting member from dimension

    Hi All In BPC 7.5, I have created earlier one member "F_P/L"in Flow Dimension and tested some data. Now I want to delete the member "F_P/L" from the Flow Dimension and while processing it, I am getting following error :                    " Dimension

  • You can not authorize more than 5 computers

    I have music on my MacBook Pro, in iTunes, that I want to use, but it comes from an old account, that I don't use anymore, and some computers/iPods that are really not working. When I want to ear those musics/songs, I receive this message, when tryin

  • Missing controls with Quicktime

    I just bought a new 13" MBP using 10.6.2 and in exploring the new OS (my MBP 15" has 10.5.x), I see there is no longer an option for the long standing separate control pane acessable via "window" menu which would otherwise provide speed, eq, tone, et