Quantcast
Channel: SCN : All Content - ABAP Development
Viewing all articles
Browse latest Browse all 8332

How to change Custom fields of EMMA Case

$
0
0

I am using FM 'BAPI_EMMA_CASE_CHANGE' to change my custom fields of the EMMA Case

 

CALL FUNCTION 'BAPI_EMMA_CASE_CHANGE' "Change Clarification Case

EXPORTING

case =                      " bapi_emma_case-casenr  Clarification Case

case_change =               " bapi_emma_case_change  Modifiable Fields for Case

test_run = ' '              " bapi_emma_case-testrun  Switch to Simulation Mode for Write BAPIs

TABLES

objects_delete =            " bapi_emma_case_object  Case Objects to be Removed

objects_add =               " bapi_emma_case_object  Additional Case Objects

case_text =                 " bapi_emma_tline  Long Text

extension_in =              " bapiparex     Reference Structure for BAPI Parameter ExtensionOut

return =                    " bapiret2      Return Parameters

 

In this FM I am passing the custom field in table extension_in but when FM gets executed the fields which are not populated are getting Blank in the table also the population logic of this table is complex as follows:

CLEAR: wa_extension_in.
    wa_extension_in-structure = 'BAPI_TE_EMMA_CASE'.
    wa_extension_in-valuepart1+120(8) = gv_bpem_from_date.
    wa_extension_in-valuepart1+128(10) = lv_bpem_part_id.
    wa_extension_in-valuepart1+138(4) = lv_bpem_role.
    wa_extension_in-valuepart1+142(10) = gv_bpem_mdp.
    wa_extension_in-valuepart1+152(8) = gv_bpem_to_date.
    APPEND wa_extension_in TO lit_extension_in.

Can you please help me.


Viewing all articles
Browse latest Browse all 8332

Trending Articles



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