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

Read Orders Created for a BP.

Hi Experts,

I need to get all the orders created for BP for a specific Transaction type,within theselected contract start and endates.

For this i am refering to table CRM_ORDER_INDEX in which i can give BP number,Transaction type and Contract start/End dates.

Unfortunalty this table is NOT getting update with contact start date and end dates,therefore i cant get the orders created for a BP for specific process type

for the selected date range.

I dont want to link multiple tables and get the Orders created since that will lead to performance issue.

So 1.Any Idea why CRM_ORDER_INDEX table not updating contract start/end date.

2.Is there any other possible way by which i can get the orders Created with input parameters(BP Number.Transaction type,Contract start/end dates)

3.Do i need to impliment any custom logic for updating CRM_ORDER_INDEX with contract start/end date.

4.Is there any FM which can fullfill my requirement.

Please suggest how can i proceed.Thanks in Advance.



Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Jun 03, 2013 at 03:52 AM

    Hi Experts,Any suggessions please.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jun 03, 2013 at 07:58 AM

    Hi Vijay,

    You can use the One order search API FM 'CRM_BSP_OIC_1O_SEARCH_FROM_RF'

    for the same. To know more about how this is being used, you can debug any transaction type search event from the web ui. The above mentioned API would be in turn called from the API CL_CRM_Q1O_SEARCH.

    In the FM 'CRM_BSP_OIC_1O_SEARCH_FROM_RF', you can pass the values in the following way.

    for the parameter it_search_tab

    OBJECT_TYPE BUS2000121

    VALID_TO 20130603

    VALID_FROM 20130601

    where object type is the corresponding bus object for the transaction type, and

    for the parameter it_multivalues,

    PARTNER_FCT Standard Table[1x4(24)]

    BU_PARTNER Standard Table[1x4(24)]

    where you should set the BP number in BU_PARTNER and if required, BP's corresponding partner function in PARTNER_FCT.

    And I suppose, you are not looking at the contract start/end date. You should be searching for "valid from and valid to".

    Thanks & Best Regards,


    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.