Skip to Content

RV_CONDITION_COPY doesn't work in ABAP WebDynpro UI

Background

We have almost developed an ABAP WebDynpro application (for a renewed user interface) for material maintenance. However, in relation to updating Conditions - KONP/KONH/etc. from EINA/EINE based records - we have found no way of accessing the business logic independent of the User Interface Technology. No BAPI access seems to exist, and all update methods defer to the RV_CONDITION_COPY function module.


Problem

Unfortunately RV_CONDITION_COPY only wraps Dynpro updates. Dybpro updates are not allowed in WebDynpro applications (neither Dynpro-popups nor Messages). Therefore the business logic for updating conditions is inaccessible.

How do we maintain conditions with WebDynpro for ABAP?

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Best Answer
    Jan 15, 2015 at 03:31 PM

    Hi , I would like to know -

    Do you have a fixed condition type and access sequence / condition table which you are going to update via WDA?

    If yes, then we can go via call transaction approach , considering the fact we have a simple requirement to update a single condition table / access sequence.So you need to record ( bdc ) and call from a FM and call this FM from the assistance class of your WDA component.

    If not, means you would prefer to build a generic application through which any condition type - Access Sequence should be updated, then it would be little complex from dynamic stand point. In that case we can use the IDoc approach by using message type COND_A.

    There you have to fire an Outbound IDoc which in turn will trigger inbound IDoc and will post conditiion record in back ground in the same system.

    You may try this approach based on your need and situation. In case any further query , let me know.

    - Thanks , Somnath

    Add comment
    10|10000 characters needed characters exceeded

    • No, the condition table sequences differ quite a lot. E.g. some purchasing info records only concern gross price, other also oversea transport, other customs etc. And the requirement is a purely dynamic selection as in transaction ME12.

      We are aware of COND_A iDocs and OData as second priority options.

  • Jan 14, 2015 at 06:26 PM

    Hi - Did you check RV_CONDITION_MAINTAIN? - Thanks , Somnath

    Add comment
    10|10000 characters needed characters exceeded