2010 Mar 04 1:13 AM
Hi ABAPer's,
We have an requirement to create/change company code (CC) data for our existing customers as a part of conversion development. So all required data will be provided on file and we should load and update customers CC data. Table KNB1 and KNB5 will gets updated after successful assignment of CC data.
We have decided to go for a custom development to fulfill this requirement and as a first step we need check all mandatory fields of transaction XD01 have been passed in file. All mandatory fields will get change depend upon account group config and we can refer T077D table to check what all fields are mandatory by providing account group.
I need to know how we can read this T077D table and get which all fields are mandatory.
Any other suggestions are welcome to fulfill above requirments.
Regards,
Amey
Hi ABAPer's,
We have an requirement to create/change company code (CC) data for our existing customers as a part of conversion development. So all required data will be provided on file and we should load and update customers CC data. Table KNB1 and KNB5 will gets updated after successful assignment of CC data.
We have decided to go for a custom development to fulfill this requirement and as a first step we need check all mandatory fields of transaction XD01 have been passed in file. All mandatory fields will get change depend upon account group config and we can refer T077D table to check what all fields are mandatory by providing account group.
I need to know how we can read this T077D table and get which all fields are mandatory.
Any other suggestions are welcome to fulfill above requirments.
Regards,
Amey
2010 Mar 04 2:15 AM
Hi Amey,
Check these points to know mandatory fields maintained for customer creation
<li>T077D table is for Customer account groups. <li>V_T077D is the maintenance view created for that table T077D. <li>Go to SM30 ->Enter V_T077D ->Click DISPLAY button. <li>Select SOLD-TO-PARTY record->Click on Details (F2) button. <li>You will see Field status selection. Double click on Company code data. <li>Place cursor on any of SELECT GROUP list ->Click on CHOOSE (F2) button. Here you can see fields available for the group and mandatory fields maintained.
I hope that you will get . . Thanks Venkat.O2010 Mar 04 3:17 AM
Thanks for your response Venkat but this is config part which I know.
What I wanted to know is how to get list of all mandatory fields for XD01 CC data in ABAP program. E.g. using funtion module, BAPI, Tables where I will provide account group and it will provide me list of all fields.
2010 Mar 04 3:50 AM
It's resolved...I got the solution...we can use FM - FI_APAR_GET_ALL_FIELDSTATUS
Edited by: Amey Potale on Mar 4, 2010 4:50 AM
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |