‎2012 Jun 11 1:11 PM
Hi experts,
I am currently an internist at an ERP company in Vietnam. I got assigned to enhance T-code FB50 by adding a custom field.
Right now, through several readings and google-ings, I am aware that I have to find out what database table the FB50 uses and append some fields to that table. But I don't really have any ideas where to continue because literally I have been working with SAP/ABAP just for 4 days.
Any ideas would be appreciated. Thanks in advance,
Minh Nguyen
‎2012 Jun 11 3:19 PM
Hi Minh,
Do you want to add extra field i.e column in the output after Executing TCODE FB50 or
want to dispaly extra screen field (screen exit).
Please clarify and also mention name of field you want to add.
‎2012 Jun 11 3:51 PM
Hi Sachin
According to the assignment, I need to add a new custom field on the header screen of T-Code FB50. And the new field will be retrieved from the Sale Order list in the system database.
Minh
‎2012 Jun 11 4:33 PM
Hi Minh,
In order to add extra field for TCODE FB50, go to the screen to which you want to add custom field.
From menu path System->Status and note program and scren no say SAPMF05A and 1001.
Now go to SE80 and choose Program and enter the program name obtained in above case.
Now press Enter and from the list below Selet SCREEN option ,click on drop down and search for SCREEN number obtained in previous step.
Click on screen name and go to flow Logic and search for call customer-subscreen.Double click on it and you will go to screen . This is the subscrren area provided by SAP to add extra fields.
If you unable to finf the EXIT using call customer-subscreen , then you may lead ACESS key to modify the Standard SAP screen.
Best Reagrds,
Sachin
‎2012 Jun 12 2:23 AM
Hi Sachin
Sorry for taking such a long time to reply. I am not able to find any "call customer-subscreen. Is there any other possibilities 'cause I am pretty sure that I cannot get the ACCESS key to modify the Standard SAP screen as you said above.
Thank you very much for you time.
Cordially,
Minh
‎2012 Jun 12 2:50 AM
Hi Sachin
Basically I just want to do what Manoj did in this thread http://scn.sap.com/thread/3184032
But my problem is much simpler. I just need to add one additional field into FB50. And esspecially, I have to use BADIs as it's a requirement, therefore no ACCESS code will be provided.
Thanks in advance.
Minh
‎2012 Jun 12 6:25 AM
Hi Minh,
In SE80 ,you can also go for Enhancements option which is above SCREENs and create your own zenhancement to call SUBSCREEN where you want to add extra field Inside PBO , using below stmt:
CALL SUBSCREEN area INCLUDING sy-repid '1001'.
Also check for Implicit Enhancements asoocitaed with that screen number using the Menu path: Edit->Enhancement operations->Show Implicit enhancement Options.
Regarding BADIs:
Goto SE24->Give class name as CL_EXITHANDLER->Display->double click on get_instance mathod->Now u will go inside the method->Now put break point on the cl_exithandler.Now go to any transaction code say FB50 and press F8 and you will see that control stopped at the break point which you had set on the cl_exithandler. Now In the exit name u can find list of badi's attached to the tcode FB50.
Best Regards,
Sachin
‎2012 Jun 12 10:48 AM
Hi Sachin
I couldn't see any Enhancement options in SE80. There is a lot of stuff above SCREENS but no Enhancement options.
Cordially,
Minh
‎2012 Jun 12 1:59 PM
Hi Minh,
Please check below screenshot. I can see the option for enhancements
‎2012 Jun 14 2:57 AM
Hi Sachin
I am having a few days off from work now so I will not be able to try it. I will get back to you asap.
Thanks a lot for your time.
Cordially,
Minh