Hello,
I want to add an extra field to InfoSet /SAPQUERY/MEBANF at EBAN level. I added a field in a normal way:
I fill it with a constant value. I adapted Sap Query:
In result, I got the value in new column but only for certain rows:
The value is there only for EBAN rows which have EBKN entries related.
I checked the program, and my new field is added to field group %fg07 with some other fields from table EBKN (not EBAN):
Fields from field group %fg07 are inserted to extract only in event get EBKN, so if there is no entries in EBKN, my field will not be inserted into extract:
I tried a lot of things (assigning my field to new field group in InfoSource, adding a field on EBKN level). I can say that every extra field created by me was assigned to field group &fg07.
Am I doing something wrong?
The target is to add new field in the document overview panel in ME2xN transaction. I know that there is user-exit EXIT_SAPLMEQUERY_002 where I can specify a Z* query. But this solution requires a copy of InfoSet and query to Z*. Adding a new field to standard Sap query is the fastest way.
Message was edited by: Rafal Matuszewski Now I tried to append EBAN table with my Z* field. I regenerated InfoSet and query but the result is still wrong: ... insert EBAN-GSFRG into %fg06. insert EBAN-ZUGBA into %fg06. insert EBKN-VBELN into %fg07. insert EBKN-AUFNR into %fg07. insert EBKN-KOSTL into %fg07. insert EBAN-ZZDELIV_DATE_MRP into %fg07. <---- here again the Z* field is assigned to field groups related to EBNK table ...