2007 Jun 01 7:38 AM
hi all,
Ive created an additional tab and a field in it in XD01 using badis :
Prepare Modification-Free Enhancement of Customer Master Rec.
Business Add-In: Processing of Master Data Enhancements
Business Add-In: Customer Subscreens
in the first badi, ive assigned screen group as "ZK" and function code for the tab "ZSK_TAB".
in the second badi, ive used only the following method:
CHECK_ADD_ON_ACTIVE and placed the following code inside:
data: l_flg_active type boole-boole.
if i_screen_group = 'ZK'.
e_add_on_active = 'X'.
endif.
in the third badi, ive used the method:GET_TAXI_SCREEN and coded it as:
case i_taxi_fcode.
when 'ZSK_TAB'.
e_screen = '1111'. "Eart + Objekt
e_program = 'SAPLZCUSTOMER'.
e_headerscreen_layout = ' '.
endcase.
ive appended the field "ZFIELD" in kna1.
Ive created function pool and created screen '1111' and given the field name 'kna1-zfield1' and screen group 'zk'.
PROBLEM: i cna see the tab in xd01 but am not able to save data in the Zfield of kna1.
kindly suggest how to save data via xd01 and get it displayed in xd02 and xd03.
Message was edited by:
abapuser
2007 Jun 01 7:53 AM
Hi,
Please refer to this link, step by exapmle is given.
http://www.saptechnical.com/Tutorials/ABAP/XD01/XD01.htm
Thanks,
Anitha
Hi,
Please refer to this link, step by exapmle is given.
http://www.saptechnical.com/Tutorials/ABAP/XD01/XD01.htm
Thanks,
Anitha
2007 Jun 01 7:53 AM
Hi,
Please refer to this link, step by exapmle is given.
http://www.saptechnical.com/Tutorials/ABAP/XD01/XD01.htm
Thanks,
Anitha
2007 Jun 01 10:08 AM
ive followed thesame tutorial but still da problem persists...
2007 Jun 01 10:12 AM
you will have add this field into KNA1.
Create new structure with ZFIELD1.
And append that structure in KNA1.
While designing screen 1111, get this field from table as database field.
Message was edited by:
Darshil Shah
2007 Jun 01 10:16 AM
ive already done that but still data is not getting saved.
plz teme wat to do?
2007 Jun 01 10:28 AM
hey,
I have implemented the same thing in one of my current projects.
And i have done the exact same thing.
Have you written PAI and PBO modules for the screen?
Can you check in PAI in debugging mode whether the data is being transferred to structure KNA1?
If you havent written any code in PAI then try defining a dummy module and it should work.
FIELD KNA1-ZFIELD1 MODULE DUMMY.
Message was edited by:
Darshil Shah
2007 Jun 01 11:41 AM
HI
IVE DONE WAT U SAID AND PUT BREAK POINT IN THE PAI MODULE U MENTIONED.BUT IM NOT GOING TO THAT MODULE IN DEBUGGING.
CAN U TEME WAT DA PROBLEM CUD B?
EXPECTING UR ANSWER.
2007 Jun 01 1:27 PM
THANX A LOT FOR YOUR INPUTS. DATA IS GETTING SAVED IN KNA1. BUT IT THE ADDITIONAL FIELD DATA IS NOT GETTING DISPLAYED IN XD03. EVENTHOUGH THE DATA IS GETTING IMPORTED IN 'SET DATA'.
PLZ SUGGEST AS HOW TO GET THE DATA DISPLAYED IN XD03.
EXPECTING YOUR ANSWERS
2007 Jun 01 7:37 PM
I think now the problem is with PBO. Data is being fetched from the table but it is not being copied to the screen field.
Write a module in PBO(If you do not have any logic to put then create a dummy one. You can write some always false condition like check 1 = 0.). Put a breakpoint inside the code of the module(on the check statement). And check whether KNA1-ZFIELD1 has a value.
2007 Sep 19 7:47 PM
Hi experts ,
iam facing the same issue, please tell me inorder to display ( XD03) or save (XD01, Xd02) the fields valuse , is it needed to write SELECT query in PAI module?
please explain the logic in details, whic is required to add in PAI?
Thanks in advace.
regards
sri
2007 Sep 19 8:12 PM
Hi abapuser..
did you solved the issue? if yes please explain what is logic is required to write in PAI.. possible send the code to [email protected]
regards
sri
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |