Skip to Content
author's profile photo Former Member
Former Member

Is any function can get the material's sales status in CRM?

I can read the sales status for material with t-code : commpr01;now i know the material, how to get its sales status with the function?

Is any function can get the material's sales status in CRM?

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Mar 24, 2008 at 11:20 AM

    Hi Ping

    First you have to create the search helps. The existing serach on the interation history tab can be used as an example to understand this.

    In the SE11 look for the search help CIC_SALES_APPL. This is the search for 'Sales'.CIC_SALES_APPL is a collective search help, if you see the included search you will see that the search help CIC_SALES is added in it.CIC_SALES is also a collective search when you see the attributes of CIC_SALES you will see that it has 4 elementary search helps included in it. These 4 elementary searches correspond to the 4 search types you will see in the interaction history tab in the dropdown for 'By' namely 'Direct Processsing', 'General', 'Period', 'Product' as 'ORDER_DIRECT', 'ORDER_GENERAL', 'ORDER_TIMEFRAME', 'ORDER_PRODUCT'

    If you want to add 'User Status' to the sales search, here is where you will add one more elementary search to the list call it 'ORDER_USERSTATUS'.

    To give this a text name you have to go to SPRO transaction

    Customer Relationship Management-->

    Interaction center Win Client-->

    Component Configuration -->

    Visible Components -->

    Navigation Area -->

    Define Search in Locator -->

    click on the 'Search ID' folder on the left hand side. You will see that the other searches like ORDER_DIRECT, ORDER_GENERAL are defined here . you can add your search ORDER_USERSTATUS also in this list, but you need the function module and the screen program name, before you can do that. Just add the name without the function module or the program name. If you go to CIC0 you can see that the new search is added to the dropdown under SALES. but do not select this as this will give a abap dump.

    You have to make a copy of the function module CRM_LOCATOR_1O_OBJ_READ_UI into a Z function and then create it under a new function group. The main program of the function group is what you use as the program name when you create the search ID. You also have to create a new screen under the function group which will contain all the fields you require for your new search. The screen number is also the parameter you will enter in the Search ID configuration.

    The best way to go about dong this is to understand how the existing programs work and write your program accordingly. I know my explanation is not very clear, but atleast these are some pointers for you to start your development. I have been successful in adding a new search screen in the interaction history tab, so I know it is possible.

    Reward me points ,

    By

    Pari

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Sep 19, 2008 at 07:03 AM

    thank you

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.