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

Tables, loops and functions

Hi,

In order to append data to a internal table in BRFplus, the only way to do it is with a formula? And with a rule assigning data to a context?

How can I retrieve the line currently executing inside a loop (like sy-tabix)?

In a function I can set as a top expression a rule, but a rule is not a expression. Can I execute as a top expression a rule in BRFplus or is this a bug? Apart from a loop, and if I can't call a rule from a function, how can I call a rule in BRFplus?

Finally, is there any way to call a function with a name and not with the ID of the function (like smartforms in SAP) from SAP?

Thanks.

Add a comment
10|10000 characters needed characters exceeded

Related questions

3 Answers

  • Posted on Aug 04, 2011 at 11:11 AM

    Hi Jordi,

    You will find answers to your questions and examples in the SAPPress [BRFplus book|http://www.sap-press.com/products/BRFplus-%E2%80%93-Business-Rule-Management-for-ABAP-Applications.html].

    BR,

    Carsten

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Aug 05, 2011 at 11:10 AM

    Hi Carsten,

    I have looked up in the book the parameter that indicates the "sy-tabix" of an internal table in BRFplus and I have not found it. Can you tell me in which page can I find it?

    Thanks.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Aug 25, 2011 at 12:16 PM

    Hi,

    Did you try using 'Functional and Event Mode'? this would allow you to use Top expression as well as create rulesets.

    I don't think there is any other way, than using GUUID of the function.

    Regards,

    Ajay

    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.