Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Getting all mandatory fields for create/change customer

Former Member
0 Likes
2,151

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

3 REPLIES 3
Read only

venkat_o
Active Contributor
0 Likes
1,013

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.O

Read only

Former Member
0 Likes
1,013

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.

Read only

Former Member
0 Likes
1,013

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