‎2007 May 10 10:08 AM
hai , im in bdc progrmming,in the present scenario i need to ad some more screens to xd01 transaction to upload data ,how can i join the new screens to tha present transaction and how the data is going to be stored into tha database when recording is done help me in this,
‎2007 May 10 10:10 AM
Hi
Use the user exit enhancement SAPMF02D for this
Create a Transaction/screen with the required fields and attach a tcode
and call that transaction in the User exit
that screen will be displayed and update the data in the table structures.
Reward points if useful
Regards
Anji
‎2007 May 10 10:10 AM
Hi
Use the user exit enhancement SAPMF02D for this
Create a Transaction/screen with the required fields and attach a tcode
and call that transaction in the User exit
that screen will be displayed and update the data in the table structures.
Reward points if useful
Regards
Anji
‎2007 May 10 10:12 AM
i think ur requirement is not to add some more screens but to selct some more tabs right?
if that is s, do recording with the old tabs and with the new tabs.
and compare new recording and old programming and see where to exactly add the coding of new.
‎2007 May 10 10:13 AM
Hi Raj for adding any new fields in the standard transaction then you have to go for enhancements , you can find whether there are some screen varinats present for the transaction
Refer SAP NOTE Number: 577502
OR Follow these steps:
1)How to create a screen group.
Go to spro.
Search for:
Prepare Modification-Free Enhancement in Customer Master Rec
Then define a new screen grOup say Z1.
2)To start with, you have to implement 'CUSTOMER_ADD_DATA' also.
In the method CHECK_ADD_ON_ACTIVE, you should do this:
IF I_SCREEN_GROUP = 'Z1'. Screen group defined in SPRO
E_ADD_ON_ACTIVE = 'X'.
ENDIF.
3)In badi implementation for badi 'CUSTOMER_ADD_DATA_CS' method 'GET_TAXI_SCREEN' do this
e_screen = <Screen number>.
e_program = <Screen Program name>. :This should be the main program for the function group of the function modules you create
e_headerscreen_layout = space.
In set data method do something like this:
CALL FUNCTION 'Z_SET_DATA' Create a new fm
EXPORTING
I_KUNNR = S_KNA1-KUNNR
I_<ZFIELD name> = S_KNA1-<zfield name>
I_ACTIVITY = I_ACTIVITY.
The code inside the z_set_data should be something like this:
V_KUNNR = I_KUNNR.
V_<zfield name> = I_<zfield name>.
V_ACTIVITY = I_ACTIVITY.
Use this fields v_<zfield name> in the screen.
In get data method:
CALL FUNCTION 'Z_SET_DATA' Create a new fm
IMPORTING
E_KUNNR = S_KNA1-KUNNR
E_<zfielD NAME> = S_KNA1-<ZFIELD NAME>.
CODE INSIDE THE FM.
E_KUNNR = V_KUNNR.
E_ZZSITEID = V_<ZFIELD NAME>.
Regards,
Jayant
‎2007 May 14 5:56 AM