четверг, 8 мая 2014 г.

IDOC Data Filtering

If you are going to transfer IDOC-s between systems, you may be need to restrict data during it.
In my case I want to transfer only one valuation type for material (MATMAS, segment E1MBEWM, field BWTAR).
By the way, to block all valuation type segments  you can use t-code BD56 (table TBD20):


To activate filter, in BD64 (change mode) double click on "No filter set":

In pop-up screen push "Create Filter Group"

Then  double click on field and populate the values, you want to transfer:

To extend the filter values, you need to do additional steps.

In SWO1 define business object you want to handle (for MATMAS - BUS1001001) --> Display --> Methods --> Clone (doubleclick) --> ABAP tab --> Name (doubleclick) --> Tables tab --> Associated Type (for example BAPIE1MBEWRT) --> Component (for example VAL_TYPE = BWTAR)

Now in BD95 create new entry based on data, defined in SWO1, save it:

In BD59 point message type (MATMAS):

and create new entry with new field, save:

Result in BD64 field Valuation Type is in filter now:



Комментариев нет:

Отправить комментарий