Application Development 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: 

Material master - Z fields

Former Member
0 Kudos

I am trying to fill in the values into Zfields.

I am able to make the BAPI work in a report.

When I do the same thing in the proxy, it does not work.

I checked the code. every thing seems to be fine.

The data is good when it is being passed onto the BAPI extensionin and extensioninx structures.

Can anyone give me hints

reg

6 REPLIES 6

Former Member
0 Kudos

Hi Naveen,

Check this note 568513, if you are using ALE-IDoc for updating Z* fields of Material Master.

An entry for each user-defined field must be created in table T130F. This table forms the basis for the field selection (see the IMG 'Assign fields to field selection groups' and 'Maintain field selection for data screens'). You can only copy data from the BAPI interface to the corresponding database table if the respective table field is stored in table T130F and if the field selection is set in such a way that the field is ready for input.

The fields for the T130F entry can be maintained as follows:

FNAME = MARA-ZZCUS1(for example name of the tomerfield)

FGRUP = 211 (Field group 211 to 240 possible)

PSTAT = EDVKALBQPSZXCFG

KZREF = X

FGROU = GR_GLOB

You can maintain the table using transaction SE16.

Hopes it helps you.

Ali.

Message was edited by:

Quadri to add SAP Note.

0 Kudos

I did this already.

It works fine in my test report but not in my proxy code.

reg

0 Kudos

Just checking :

Have you done a 'BAPI_TRANSACTION_COMMIT' after the BAPI call?

0 Kudos

SriHari,

I did not have to do a 'BAPI_TRANSACTION_COMMIT' in my test report.

reg

0 Kudos

All,

We have noted that the report is updating Zfields on one client but not the other.

Could anyone please tell me what could have gone wrong which is client specific.

reg,

0 Kudos

All,

Thanks for the responses. I was able to fix the issue.

When the matnr is alpha numeric, it should be in CAPS

Correct me if I am wrong

reg