Skip to Content
avatar image
Former Member

Additional field in Decision table

I need to add Account Group (KTOKK) field to decision table of my BRFPlus workflow for custom CR.

But when I am trying to insert a column in decision table through table settings, I am not able to find account group field there in context.

Some threads I have read about Updating the structure first, but which structure needs to be updated, how to find that.

Something like this

account-grp-in-decision-table.jpg

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

4 Answers

  • Jan 17, 2017 at 11:00 PM

    Hi, guide https://archive.sap.com/documents/docs/DOC-14881 shows how add a column to a decision table for MDG-M (BAdI implementation and so on). Might work in a similar way here also (caveat: didn't test this).

    Just a braindump, Ingo Bruß

    Add comment
    10|10000 characters needed characters exceeded

  • Jan 18, 2017 at 06:13 AM

    Hi,

    • Using aforementioned guide create one data element in the application level.
    • Go to function and add element in the edit mode to input column.
    • Go to single value Dec table and switch to edit mode...Open table settings and add data element in the input column
    • Use context prepare badi to read account group and pass context value to created data element.

    Thank you

    Add comment
    10|10000 characters needed characters exceeded

  • Feb 06, 2017 at 08:50 AM

    Hi,

    i have released a How-To guide in past days on this platform. You will find the guide here:

    Name of the doc: "How to MDGS/MDGC/MDGBP: Dynamic Workflow Processing based on changes to bank details"

    http://www.sap.com/documents/2017/01/b42437c9-a47c-0010-82c7-eda71af511fa.html

    The guide includes also some screenshots and chapter 4.4. explains what you need to do.

    Best Regards

    Steffen

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jan 24, 2017 at 12:49 PM

    Hi Abhishek,

    Please find below steps to add new column in single decision table

    1. Create new data object in trigger function in BRF+( go to edit mode, click on button 'Add new object data')
    2. Select type 'Element' and Binding type 'Bind to DDIC element' and enter the KTOKK. save & activate.
    3. Goto single decision table-->table settings->Insert column-->From context data object-->show all objects-->select the new data object. save and activate.
    4. You need to set the value in the context BADI. Go to context BADI, based on your condition set the data and append in exporting parameter ET_RULE_CONTEXT_VALUE of the BADI.

    Note: For BADI to trigger, you need to define the service name in MDGIMG under process modelling-->workflow-->Rule-Based workflow-->define service name for rule based workflow. Mention the service name in BRF+ under CR-Type related service name-->set service name and enter the service name in the value field. Also, Add this service name in the filter value of the BADI.

    Hope this should work!!

    Thanks,

    Chetan Bappankar

    Add comment
    10|10000 characters needed characters exceeded