on 04-28-2012 12:51 AM
Hi,
I am developing a BRF+ appliction that takes table as input and is binded to DDIC. I tried calling the BRF+ application from CRM using a custom program and in the program I tried to set the context with table data, but it is not recognizing the table data. Can you please let me know if this is the right procedure for passing table data to BRF+.
Thanks for all your help in advance.
Regards,
Agarwal
Hi Rahul,
i have a question related to BRF Plus management through abap program.
In brf plus application end, Field1,field2,field3 these 3 are importing parameters.
Table1->structure1->field4,field5 this is the table,with in one structure is there and 2 fields.
in my abap program, i am getting values of fields let us take field1,field2,field3,field4,field5.
And my question is
1) How to pass fields to BRF Plus application from abap program.
2)How to pass Table data to BRF Plus application from abap program.
3)How to pass Structure data to BRF Plus application from abap program.
4)How to get the result data from BRF Plus application to my abap program.
And finally , how to run FDT_TEMPLATE_FUNCTION_PROCESS.
How do i get the code automatically when calling the function in brf plus application.
Regards
venkata.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
-Copy function id from BRFplus workbench (click on function & then expand General tab)
-Execute report from SE38 & paste function id.
-Copy generated code where you would like to trigger rule & supply context data wherever you get syntax error.
Regarding question 1-4, kindly spend some time on generated code.
Code did not paste properly.So I am resending.. data: l_data type ref to data, lt_sign type ztable, lv_timestamp type timestamp, wa_parm type abap_parmbind, lt_parm type abap_parmbind_tab. get reference of lt_sign into l_data. cl_fdt_function_process=>move_data_to_data_object( EXPORTING ir_data = l_data iv_function_id = ' ' IV_DATA_OBJECT = ' ' iv _timestamp = lv_timestamp iv_trace_generation = abap_false iv_has_ddic_binding = abap_true IMPORTING er_data = wa_parm-value ). INSERT wa_parm INTO table lt_parm. lr_context->set_value( iv_name = 'ZTABLE' ia_value = wa_parm-value ).
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thats it??
I dont see any process method and also above code is incomplete.
Try to create another z report and follow the approach mentioned in teched material http://scn.sap.com/docs/DOC-4600 slide 54. This is very easy to understand and implement..
Hope this helps.
regards, Rahul
Hi Agarwal,
There is BRFplus helper program -FDT_TEMPLATE_FUNCTION_PROCESS which will help you to generate coding to pass data to BRFplus and and adjust syntax error.
Provide Function ID of your appl to this program.
regards, Rahul
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Rahul, Here is the code.. data: l_data type ref to data, lt_sign type ztable, lv_timestamp type timestamp, wa_parm type abap_parmbind, lt_parm type abap_parmbind_tab. get reference of lt_sign into l_data. cl_fdt_function_process=>move_data_to_data_object( EXPORTING ir_data = l_data iv_function_id = ' ' IV_DATA_OBJECT = ' ' iv_timestamp = lv_timestamp iv_trace_generation = abap_false iv_has_ddic_binding = abap_true IMPORTING er_data = wa_parm-value ). INSERT wa_parm INTO table lt_parm. lr_context->set_value( iv_name = 'ZTABLE' ia_value = wa_parm-value ).
User | Count |
---|---|
86 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.