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

Data not saving in Custom Infotype

Former Member
0 Likes
1,362

Dear Experts,

I have created a custom infotype, 9003, for this I creates a structure ps9003.

And I have to create a primary key field in my infotype, so I added a field in PA9003 as key field.

Now this key field was not coming in the infotype screen, so I added it using screen painter.

But now when I save the data the data is not saved in this key filed.

Please Suggest.

Warm Regards,

Upendra Agrawal

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
840

Hi

As of my knowledge the primary key for the PA infotypes will be MANDT+PAKEY structure. What is the need of adding the primary key.

- While creating the custom infotype using PM01 screen will be automatically generated for the fields declared in PS structure

- Screen Generation will wipe out the custom written on the fields so this is to be carefully handled.

- if you added the field check logic in PAI & PBO

- Check are you passing the data back to the infotye structure

Dear Experts,

I have created a custom infotype, 9003, for this I creates a structure ps9003.

And I have to create a primary key field in my infotype, so I added a field in PA9003 as key field.

Now this key field was not coming in the infotype screen, so I added it using screen painter.

But now when I save the data the data is not saved in this key filed.

Please Suggest.

Warm Regards,

Upendra Agrawal

2 REPLIES 2
Read only

GauthamV
Active Contributor
0 Likes
840

Always enhance your custom infotype using PM01 transaction.

After adding the field to your structure click genarate objects.

Any further logic required can be added for that field in SE51 transaction.

Read only

Former Member
0 Likes
841

Hi

As of my knowledge the primary key for the PA infotypes will be MANDT+PAKEY structure. What is the need of adding the primary key.

- While creating the custom infotype using PM01 screen will be automatically generated for the fields declared in PS structure

- Screen Generation will wipe out the custom written on the fields so this is to be carefully handled.

- if you added the field check logic in PAI & PBO

- Check are you passing the data back to the infotye structure