Customer Screen add for ME21N
i am using ME_GUI_PO_CUST to create customer screen on step by step some docu, but i do not know how to create screen 0001, because when i was trying to create screen 001 or 0100 on function group MEPOBADIEX,, system was asking development key to modify standard source.
is it correct ?
in method of Subscribe ,,
i defined as below;
the dynpro number to use
ls_subscriber-dynpro = '0001'.
the program where the dynpro can be found
ls_subscriber-program = 'SAPLMEPOBADIEX'.
each subscreen needs his own DDIC-Structure
ls_subscriber-struct_name = 'CI_EKKODB'.
where can i create screen 0001 ?
Thank you & Best Regards;
See SAP Note 496083 - FAQ: Customer enhancements (User Exits) in purchasing
You have this question and answer:
Question: I implemented the 'ME_GUI_PO_CUST' Business Add-In to display customerspecific tab titles in the EnjoySAP purchase order. They are only shown in display mode (ME23N) however, not in create or change. Why? Solution: You may have forgotten to assign a field status to the user-defined fields on these tabs. As a result, the system automatically interprets the field status as 'hidden' in create and change modes. However if a tab contains only hidden fields, then the entire tab is set to hidden. In display mode, fields without a field status are automatically set to display. That is why the tab is displayed in this case. To assign a field status to the user-defined fields, use the methods provided for this purpose in the Business Add-In 'ME_PROCESS_PO_CUST' (compare sample source code in the FIELDSELECTION_ITEM method).
The question is to write a code as this in method FIELDSELECTION_HEADER (or ITEM) in BADI 'ME_PROCESS_PO_CUST'
data: l_persistent type mmpur_bool, l_changeable type mmpur_bool, l_header type mepoheader. l_persistent = im_header->is_persistent( ). l_changeable = im_header->is_changeable( ). l_header = im_header->get_data( ). if condition. if condition. if l_changeable = 'X'. <fs>-fieldstatus = '.'. " READY FOR INPUT else. <fs>-fieldstatus = '*'. " view endif. else. <fs>-fieldstatus = '-'. "SUPRESS IT endif. else. <fs>-fieldstatus = '-'. "suprress it endif.
I hope this helps you
Edited by: E_Hinojosa on May 25, 2011 5:59 PM