Quantcast
Channel: SCN : Popular Discussions - SAP Business Rules Management
Viewing all 1717 articles
Browse latest View live

Getting mutiple values from BRM Call.

$
0
0


Dear SCN users,

 

Is it possible to get mutliple values from singel BRM call.

 

For example

 

I have 2 inputs and required 2 outputs

 

right now i am getting the output for first value,how to get for both in a single call?


ASSERTION_FAILED CL_FDT_DECISION_TABLE=========CP

$
0
0

Hi All,

 

I do have an issue with a BRF+ decision table;

The Decision Table is part of a customising application, we have transported it via SCC1 from Client X to Y.

In X we do not have any issue.

In Y, the decision table is displayed correctly, but if we try to go on tab Version or Tab transport information or to simulate the result then it triggers a short dump.

 

dump.PNG

In ST22 we can see the line where the error occurs :

DUMP1.PNG

From the comment I would say that the same entry in the table is appearing twice, but on this table there is no check on this so I am lost ...

 

Has someone ever met this ? How did you solve it ?

 

I search on OSS and found note 1852978 but it gave me nothing

Cheers

Stephane

Trace in logon language

$
0
0

Hi guys,

 

i am facing a problem with the trace delivered by BRF+. Independently from the logon language the trace is always delivered in german language when i call a BRF+ function from within an application.

What do i have to do that i get the response within the logon language?

 

Thx

Günter

Different results with brf+ technical trace compared to lean trace or no_trace

$
0
0

Hello experts,

 

I have a productive brf+ application which works fine without trace or with lean trace.

 

To explain the result of the expression (a descion table) to the users of the application, I have written an ABAP report to

show the technical trace ( in a optimized view).

 

Now we have the problem that the called brf+ function returns different results when called with technical trace.

 

The only difference is the way the brf+ function is called:

 

  IF   pv_trace_mode EQ if_fdt_constants=>gc_trace_mode_technical R pv_trace_mode EQ if_fdt_constants=>gc_trace_mode_lean.

        "  Call brf+ function with lean or technical trace

        CALL METHOD go_function_get_valid_carrier->process
          EXPORTING
            io_context    = lo_context
            iv_trace_mode = pv_trace_mode
          IMPORTING
            eo_trace      = po_trace
            eo_result     = lo_result.

  ELSE.


     "  Call brf+ function without trace      

     CALL METHOD go_function_get_valid_carrier->process
          EXPORTING
            io_context = lo_context
          IMPORTING
            eo_result  = lo_result.

 

  ENDIF.

 

 

  " Result is different with technical trace

   lo_data_object = lo_result->get_data_object( ).
   o_result->get_value( EXPORTING iv_name = 'RES_T_ZHWWWM_CARRIER_DETECTI_1' IMPORTING ea_value = lt_carriert_data ).

 

 

The technical trace and the lean  for line 58 of the decision table is attached. There is a difference. in the processing of column 18.

 

Column condition: "value" <=274 CM or is initial

 

The value is 300 CM

 

SAP Release

 

SAP_BASIS 731 0010 SAPKB73110

SAP_ABA     731 0006 SAPKA73106

SCM               702 0006 SAPKY70206 Supply Chain Management 7.02

 

Is there a known problem with technical trace ?

 

Best regards

Achim

connection timed out during maintaining a loop

$
0
0

Hi Guys,

 

i have a Problem maintaining a Loop. We are on a ECC 6 ERP System/ EhP 7. The Loop contains several conditions. During changing a condition the System crashes with a "Connection timed out"  error.

Can someone please give me a hint where the Problem is located and what i can do to avoid it?

 

Kind regards

Günter

Problem cl_fdt_function_process=>process

$
0
0

Hi Experts,

 

I am new to this topic. Please help me on this.

 

This method cl_fdt_function_process=>process is giving no result. sy-subrc = 2. We are passing constant function id 'xxxxxxxxxxxxxxxxxxxx'.

Please let me know the problem and where this function id maintained.

 

thanks in advance

 

 

Best regards,

Narasimha.

Pass Decision Table Cell Value to Expression

$
0
0

Hello,

 

We have a decision table where there are two condition columns, let's say, sales organization and sales office. Now, we want the combination of these two columns to be matched against a table of sales areas (sales organization and sales office) and then depending on whether there was a match or not, we want to return the appropriate output from the decision table. Currently, we have achieved this using a loop on the table of sales areas and looking up the decision table to get the first match. This works fine functionally but we are exploring if there is a better way to achieve the same thing, maybe, something like embedding an appropriate expression in the decision table, either in the columns or in the cell values. Yes, we know it's possible to add an expression (like a function call) as a condition column in a decision table, but in that case, we don't have an option to pass "cell" values to that expression for matching purposes. Also, it important to note that we are looking at combination of cell values to be matched rather than a single value.

 

Any useful inputs would be appreciated.

 

Thanks,

Akshat

How can I delete a row from a Table in SAPUI5 Application when I used Model as XMLModel?

$
0
0

I have created  SAPUI5 application, in that I have loaded  data from external .xml file  into a table, it was fine. Now, I am trying  to delete a specific row from that table.But, I am getting error at the line: `var removed = data.splice(idx, 1);`. However, the same code is good for when model is JSON.  How can I delete a specific row from a table when model XMLModel?

Please suggest me to proceed good.

For this purpose, I use this code:

 

 

    var oModel = new sap.ui.model.xml.XMLModel();

    oModel.loadData("Deployments.xml", "", false);

      sap.ui.getCore().setModel(oModel);

       oTable.bindRows("/service");   // here "service"  is the root element of xml file

   

    var oTable= new sap.ui.commons.Button({text:"Delete Service",

                      press : function() {

                         var idx = oTable.getSelectedIndex();

                         if (idx !== -1) {

                        var m = oTable.getModel();

                         var data = m.getData();

                     var removed = data.splice(idx, 1);  // error showing at this line

                           m.setData(data);

                           sap.m.MessageToast.show(JSON.stringify(removed[0]) +  'is removed');

                       

                         } else {

                           sap.m.MessageToast.show('Please select a row');

                         }

                       }

           

                

                     });

    

Thanks


Navigation to BRF object through hyper link

$
0
0

Hi Experts,

 

I have a requirement, where the user will like to navigate directly to a rule / ruleset by clicking on a button.

To elaborate more -

Lets assume we have 2 departments in an organisation, each department has their own rules and rulesets, now dept 1 wants to navigate straight to the ruleset which belongs to them, without having the pain of opening the workbench and finding their appropriate rule / ruleset.

 

can anyone help me with this ?

Problem with impression of justificant in BRF+ in form processing Tax Registration

$
0
0

Hi Experts,

 

I have a BRF Plus apllication for form processing Tax registration, and I want that a justificant (based on adobe form) appears when tha tax registration (based on adobe form too) be processed.


I have included my function ZIFTR_PRINT_001 as an action in the brf plus application, but the justificant doesn't appear, only a spool order is generated. It seems like my function, which print the justificant, is executed on back ground.

The weird is, when I execute my function ZIFTR_PRINT_001 since SE37 the justificant (adobe form) appears.


¿Could anyboody tell me if I would have to change the function ZIFTR_PRINT_001 (I am attaching the code) in order to be executed correctly in BRF Plus application?.


Please, for further information don't hesitate to ask me.


Best Regards,

Joham

"FDT notification failed" after import - Got more insights into the BRF+ CTS-integration?

$
0
0

Dear BRF-users,

 

we really like using BRF for all or the customizable aspects in our application.

However, when it comes to transporting a longer-opened request, my hands are always shaking for fear: May the export work and are all objects activated now? May the import fail due to some foreign locks or due to some missing dependency?

Although the BRF-logs are quite readable and FDT_TRANS_MASS_CHECK does a good job in helping to complete the transport request, there are some things I don't quite understand:

 

Currently, I'm facing an issue with customizing dependent rules not having been updated properly - but only in one client.

The import only ended with a warning, but the message sounds kind of horrible:

fdt_notification.png

Is there something happening after the actual import which is kind of syncing some buffer?

Funny enough, report FDT_TRANS_PHASE_EXECUTION which I tried for repeating the after import stated that the import has finished with RC=0.

 

Has anyone had similar issues, knows the source or even has an idea what to do?

 

Thanks for your insights and cheers,

Oliver

Sending an email from BRF plus

$
0
0

Hello everyone,

I need to send an email from BRF plus.I have developed an application with email and an element(say Z)data object with dummy constant value as 1.

Next,function call in event mode.In the signature tab, i have included email application name in the context and result parameter as a time stamp(since I do not need to woory about result parameter).The ruleset condition is- if Z = 1 then process the email.

But when i run the simulation,it is not triggering any email.The email id is hardcoded for testing purpose.

Pls let me know if iam missing anything in the above mentioned steps?.

How to read BRF+ decision table into an internal table in ABAP

$
0
0

Hello.

 

I need to get the complete content of a BRF+ decision table in an internal table in ABAP.

Is that possible?

Can someone show me some example code?

 

kind regards,

Jasper Blok

BRF+ Not working for 1 specific user

$
0
0

Hi All,

 

I am facing an issue where I am not able to access BRF+ with one specific user ID <XXXXXX> and getting below error.

 

"500 SAP Internal Server Error ERROR: An BRFplus exception for invalid input occurred (termination: RABAX_STATE)"

 

All other user IDs are able to access BRF+ without any issue.

 

This issue start appearing for this ID after we have deleted one Test Application from BRF+ using user ID <XXXXXX>.


Could you please advise what could be the issue and how can I resolve this?


I have deleted and re-created <XXXXXX> but still it's not working.

 

 

Regards,

Anuj

Different results with brf+ technical trace compared to lean trace or no_trace

$
0
0

Hello experts,

 

I have a productive brf+ application which works fine without trace or with lean trace.

 

To explain the result of the expression (a descion table) to the users of the application, I have written an ABAP report to

show the technical trace ( in a optimized view).

 

Now we have the problem that the called brf+ function returns different results when called with technical trace.

 

The only difference is the way the brf+ function is called:

 

  IF   pv_trace_mode EQ if_fdt_constants=>gc_trace_mode_technical R pv_trace_mode EQ if_fdt_constants=>gc_trace_mode_lean.

        "  Call brf+ function with lean or technical trace

        CALL METHOD go_function_get_valid_carrier->process
          EXPORTING
            io_context    = lo_context
            iv_trace_mode = pv_trace_mode
          IMPORTING
            eo_trace      = po_trace
            eo_result     = lo_result.

  ELSE.


     "  Call brf+ function without trace      

     CALL METHOD go_function_get_valid_carrier->process
          EXPORTING
            io_context = lo_context
          IMPORTING
            eo_result  = lo_result.

 

  ENDIF.

 

 

  " Result is different with technical trace

   lo_data_object = lo_result->get_data_object( ).
   o_result->get_value( EXPORTING iv_name = 'RES_T_ZHWWWM_CARRIER_DETECTI_1' IMPORTING ea_value = lt_carriert_data ).

 

 

The technical trace and the lean  for line 58 of the decision table is attached. There is a difference. in the processing of column 18.

 

Column condition: "value" <=274 CM or is initial

 

The value is 300 CM

 

SAP Release

 

SAP_BASIS 731 0010 SAPKB73110

SAP_ABA     731 0006 SAPKA73106

SCM               702 0006 SAPKY70206 Supply Chain Management 7.02

 

Is there a known problem with technical trace ?

 

Best regards

Achim


How do we maintain table FDT_ADMN_0000 and FDT_ADMN_0000a for executing BRF+ application?

$
0
0

I am trying to execute a BRF+ application from transaction NWBC. There I am facing an error 'Invalid Input'. I debugged the issue and found that it is checking if my application GUID exists in FDT_ADMN_0000 and FDT_ADMN_0000a  and throwing an error if it doesn't find any.I am not sure on how do we maintain these two tables with my application ID so that I can execute my application. There is no table maintainence generation maintained for them. Any suggestions would be helpful?

How can I delete a row from a Table in SAPUI5 Application when I used Model as XMLModel?

$
0
0

I have created  SAPUI5 application, in that I have loaded  data from external .xml file  into a table, it was fine. Now, I am trying  to delete a specific row from that table.But, I am getting error at the line: `var removed = data.splice(idx, 1);`. However, the same code is good for when model is JSON.  How can I delete a specific row from a table when model XMLModel?

Please suggest me to proceed good.

For this purpose, I use this code:

 

 

    var oModel = new sap.ui.model.xml.XMLModel();

    oModel.loadData("Deployments.xml", "", false);

      sap.ui.getCore().setModel(oModel);

       oTable.bindRows("/service");   // here "service"  is the root element of xml file

   

    var oTable= new sap.ui.commons.Button({text:"Delete Service",

                      press : function() {

                         var idx = oTable.getSelectedIndex();

                         if (idx !== -1) {

                        var m = oTable.getModel();

                         var data = m.getData();

                     var removed = data.splice(idx, 1);  // error showing at this line

                           m.setData(data);

                           sap.m.MessageToast.show(JSON.stringify(removed[0]) +  'is removed');

                       

                         } else {

                           sap.m.MessageToast.show('Please select a row');

                         }

                       }

           

                

                     });

    

Thanks

After the transport metadata are not active

$
0
0

Hello,

I make transportation for ACCOUNT dimension of development environment for testing. After a successful transport I do not see the elements to be moved until the execution of processing options. What could be the reason.

Function code generation failed if formula is using MIN/MAX due to TYPE ANY

$
0
0

Hi all,

 

I am on a SAP 702 SP 17 and note 2203712 was implemented which was necessary because formula with MIN/MAX/IF could not be activated.

Now, I have an activated formula but can not generate my function. A syntax error is raised in method process_pure of the generated code:

 

ANY has a generic type...

 

..and I can find a variable declaration like:

 

DATA _v_fef_result2 TYPE ANY.


How can I solve this issue?


best regards

Andreas 

Translation of short/long text

$
0
0

Hi all,

 

I have a large application with a lot of objects which I would like to translation in another language. Is there a tool for bulk processing or do I have to do it one by one? I did not find any information about text translation in BRFplus manuals.

 

best

Andreas

Viewing all 1717 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>