Professional Documents
Culture Documents
Go to start of metadata
Agenda:
1. What is coding block.
2. About coding block sub-screen and its limitation.
3. How to create a customer own fields.
4. How to Add customer field into Customer created sub-screen.
5. Main debug points.
Example in Basic mode: Run in Proc. Mode, check the log. Pay attention to the generation PRG, if any
inconsistency happens, just run one of these PRG.
Example in Basic mode: check in BSEG and CI_COBL table for ensuring the ZZGlADYS field generated.
Example in Basic mode: check ZZgladys is available in coding block sub-screen, ZZgladys is displayed
in sub-screen:9999 by default.
(3) Make the customer created sub-screen 9997 (ZZGLADYS included) as default one for coding block screen.
(4) Check the required fields, optional fields and priority for the sub-screen in internal table TREFFER, in this
case 9997 is the default sub-screen for coding block.
(5) If ZZGLADYS is suppressed , check the result in internal table TREFFER after sorting, the required fields
lowered from 5 to 4 due to ZZGLADY is not included anymore, so the dynnr No. with small one will be selected
as default sub-screen. In this case, it should be 1014.
(6) The selected sub-screen will be transferred to field of TREFFER-DYNNR as default one to be used after
sorting
(this is1014).
These fields can then be used to input data you want to record
when entering documents in SAP.
Activity Edit Coding Block
Path IMG -> Financial Accounting (NEW) -> Financial Account
Basic Setting (New) -> Ledgers -> Fields -> Customer Fields
(OXK3)
In the below example, we are going to be adding a field to record
the Users HR ID. This will be updated by the user when entering
the document in the user, with his/her own HR ID.
Note : It is vital that the fields to be added in the Coding Block be
decided before hand and the relevant modification made before
other customization efforts, since adding a new field will update
the tables in SAP.
Step 1 : Add Field
And thats it, now you would get this field every time you enter a
transaction for this posting key and the account with the field
status group to which this field has been made available.
Hope this you found this post informative. Feel free to drop me an
email on the below address for any quick clarifications.
Have a nice day !!
suren@erparena.com
Posted By : Suren