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

Filtering the data in BAPI

Hi,

we are using bapi_PRODORDCONF_GETDETAIL to fetch some data in a transaction. For this we have to use a condition that it should display records only from plant 1000. for this I'm trying to use genericfilterandsort action filter the results. But the problem is that when I'm trying to map it to output of repeater or the bapi output, The filter columns are not being displayed. I've tried to link also, but its of no use. I've tried conditional statement too... but din't work either.... can anyone help in this scenario???

thanks

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Sep 20, 2007 at 10:59 AM

    hi Musarrat,

    I think you dont have to use genericFilter Action for this. Instead configure the links for the plant details ie., 1000 to the Request of the BAPI of JCO Action itself .

    Regards

    Muzammil

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Sep 20, 2007 at 11:36 AM

    Husain

    U should hv to know the usage of Action Blocks in BLS - which Action Block should be used to meet ur requirement.

    There is no requirement of Generic And Sort filter to meet ur scenario. This is used to sort the XML Output based on any column u want.

    Just pass the parameter of plant to the request of RFC.

    Regards

    Som

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      I suppose you are going against the GOODSMOVEMENTS table to filter on Plant.

      Create a transaction property called 'Plant' and use the following XPath expression in the Repeater->Configure

      BAPI_GetProdConfDetail.Response{/BAPI_PRODORDCONF_GETDETAIL/TABLES/GOODSMOVEMENTS/item[PLANT=#Transaction.Plant#]}

      John

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.