‎2010 Jan 07 8:46 AM
Hi All,
Good day,
I have some fields to add in Customer master (XD01/XD02/XD03). I have not that much knowledge how to do this. Following some tutorials I have added a new button in Customer master. In this button i have added a tab. Now I am trying to add my fields in that tab using BADIs CUSTOMER_ADD_DATA_CS AND CUSTOMER_ADD_DATA. In CUSTOMER_ADD_DATA_CS there is a method GET_TAXI_SCREEN & in that method i put the following code.
IF sy-tcode = 'XD01' OR sy-tcode = 'XD02' OR sy-tcode = 'XD03'.
IF i_taxi_fcode = 'FCODE''. ///// FCODE is the function code of my screen group that i created using SPRO
e_screen = '1000'. ///// 1000 is my dynproscreen number
e_program = 'ZTEST_SCREEN''. ///// ZTEST_SCREEN is my ABAP code which runs properly
e_headerscreen_layout = 'V'.
ENDIF.
ENDIF.
I also wrote some code in method CHECK_ADD_ON_ACTIVE of BADI CUSTOMER_ADD_DATA to activate my screen group.
Now prob is when i am trying to run that new tab it shows a dump which says " Incorrect screen type: Screen is incorrectly defined or used."
But when i run my program in se38 it's fine working!!!!!!
Can anybody help me please to show fields in my new tab?
N. B - It would be good for me if anybody can provide me some tutorials or documents to achieve the task
‎2010 Jan 08 9:30 AM
Hi,
In the attributes of the screen ....... select the screen type as Subscreen ....
Thanks,
Shailaja Ainala.
‎2010 Jan 08 9:30 AM
Hi,
In the attributes of the screen ....... select the screen type as Subscreen ....
Thanks,
Shailaja Ainala.
‎2010 Jan 09 6:59 AM
Hi,
Thanks Shailaja Ainala.
The fields are now showing in XD01 / XD02 / XD03.
Now please tell me how can I insert data from my additional fields into database table KNA1 for a customer ?
Edited by: Tripod on Jan 9, 2010 2:55 PM
‎2010 Jan 11 2:25 AM
Hi,
In your ....exit you wil find strcutures ....XVBAK ....XVBAP....try to fill those and check out in debug...
Thanks
Shailaja Ainala.