‎2010 Feb 17 7:24 AM
Creating a table maintenance generator for ztest99 table. I have given the function group name as ztest99. When i click on fn. Gr. Text button and then main program I can see the commented include file names in user defined include files. I uncommented the PAI module name LZTEST99I and duble click it I get warning message saying L type names are reserved for include files in function gr etc...
Then I get a popup asking create object , when i say yes , I get an error message saying 'unable to create include LZTEST99I in function group ZTEST99'. When I click on ? button of the popup , I get the explanation as "Include LZTEST99I does not logically belong to the function group ZTEST99 in which you wanted to create it. Instead, it belongs to function group ZTEST."
Note the function group its saying is different than what I have given it. I tried with different names every time it gives me different function group name than what I am giving what is the issue? Also extract has line structure , is there way to get individual field name for validation because I checked ztest99-field1 has no value.
‎2010 Feb 17 7:31 AM
Hello,
It is not encouraged to change the TMG code directly, you must use TMG events for this purpose.
You should read this SAP documentation:
[http://help.sap.com/saphelp_erp2004/helpdata/EN/91/ca9f0ea9d111d1a5690000e82deaaa/frameset.htm|http://help.sap.com/saphelp_erp2004/helpdata/EN/91/ca9f0ea9d111d1a5690000e82deaaa/frameset.htm]
BR,
Suhas
Edited by: Suhas Saha on Feb 17, 2010 1:01 PM
‎2010 Feb 17 7:31 AM
Hello,
It is not encouraged to change the TMG code directly, you must use TMG events for this purpose.
You should read this SAP documentation:
[http://help.sap.com/saphelp_erp2004/helpdata/EN/91/ca9f0ea9d111d1a5690000e82deaaa/frameset.htm|http://help.sap.com/saphelp_erp2004/helpdata/EN/91/ca9f0ea9d111d1a5690000e82deaaa/frameset.htm]
BR,
Suhas
Edited by: Suhas Saha on Feb 17, 2010 1:01 PM
‎2010 Feb 17 7:42 AM
You have to use ZTEST99I naming in order to append a new include for FG ZTEST99.
‎2010 Feb 17 9:01 AM
Suhas ,
that was my first attempt. But for some reason the event 01 is not being triggered. What basically I am looking for is , I have 2 fields and I have put FK check, but it is still saving if one of the field is blank that I want to avoid. Can you pl let me know how I can do this?
‎2010 Feb 17 9:31 AM
‎2010 Mar 03 9:31 AM