10-11-2007 12:31 AM
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
10-11-2007 1:01 AM
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.
10-12-2007 3:08 PM
I did this already.
It works fine in my test report but not in my proxy code.
reg
10-13-2007 7:47 AM
Just checking :
Have you done a 'BAPI_TRANSACTION_COMMIT' after the BAPI call?
10-15-2007 4:16 PM
SriHari,
I did not have to do a 'BAPI_TRANSACTION_COMMIT' in my test report.
reg
10-15-2007 10:49 PM
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,
10-16-2007 4:03 PM
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