on 07-19-2017 7:27 PM
Hi,
I want to add a custom field in dispute case creation from AR. I found BADI-FDM_USER_SCREEN. It has 4 methods
GET_CREATE_SCREEN, CREATE_SCREEN_PBO, CREATE_SCREEN_PAI ,DETAIL_NEEDED
I have created a custom screen and program.Added new fields in the screen. Passed screen no and custom program name to GET_CREATE_SCREEN attributes. Then PBO event - CREATE_SCREEN_PBO is called. Where is the link between the custom defined user screen PBO event and BADI-Create_Screen_pbo event ? I am not able to get it. Please let me know how to connect PBO-Screen to custom screen.
Hallo Rama.
I think arrived a late, sorry.
One Way is create a Function Group
ZFUNC_FDM_USER_SCREEN.
in function group create a subscreen 0100, for example..
Too, create a structure like estandard in this Function Group "GS_DISPUTE_DATA".
TYPE FDM_AR_DISPUTE_UI.
2 Function Modules,
One to get the datas "Z_GET_DISP_DAT"
gs_dispute_data = e_dispute.
Another one, to Set To estandard "Z_SET_DISP_DAT"
1- Use method Get_Create_Screen,, to say program/subscreen:
METHOD if_ex_fdm_user_screen~get_create_screen.
e_dynnr = '0100'.
e_progname = 'SAPLZFUNC_FDM_USER_SCREEN'.
ENDMETHOD.
In create_screen_pbo, call the function you create to pass the estructure standard "I_DISPUTE_DATA"
METHOD if_ex_fdm_user_screen~create_screen_pbo.
Call Function "Z_SET_DISP_DAT"
IMPORTING
e_dispute = i_dispute_data.
ENDMETHOD.
For set to standard structure Values get it from your SubScreen using the last function "Z_SET_DISP_DAT", calling in
method create_screen_pai,
To pass the attributes in the estructure, FDM_UI_READ_ATTRIBS Function could help you.
Regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
7 | |
4 | |
3 | |
2 | |
2 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.