02-01-2022 11:27 AM
Hello,
I added Editing Authority in a field of a program in abap within the INCLUDE part. I added my code but when i check it i receive this red error:
The REPORT/PROGRAM statement is missing, or the program type is INCLUDE.
Include XYZ.
But inspite of it i activate and run it the field can be editable now. Should i transport my request inspite of the red error.
Regards.
02-01-2022 11:33 AM
This error is due to the local check. In the menu you could do a global check (of the main program). This is not a program error, you could transport it
02-01-2022 12:12 PM
frdric.girod
So when i chech the INCLUDE part i receive a red error that i mentioned above, but i chech the main program i receive no error. So which means that i can ignore the red error in the INCLUDE part?
And one more question. While i was searching the error message somewhere i found that activate the Function module or function group is required. When i was cheching Function Modules in SE37 i tried to activate an unrelated function module and it required a request then i saved it into my request. But i didnt added anything to the function module. Just activated and saved into my request.
May it create a problem while i transport my request as it contains an unrelated thing within my request(which is an activated unrelated function module)
Thanks in advance.
Kind Regards
02-01-2022 12:26 PM
for the include, you have understood, include could not really check alone.
for the FM, this is a good question, I don't know why it works like that. Maybe horst.keller could help you.
(but you will have no problem to import it, just maybe the problem of locking the object in a TR for nothing)
02-01-2022 7:22 PM
If actually you didn't change anything in the function module, delete it from the transport request.
02-02-2022 7:05 AM
sandra.rossi
I transported it to the QA system with the untouched function module. (Under my request there are 2 things:
1. My main purpose adding a new line to the INCLUDE part
2. I just activated a function module and had to add it to my request as it required from me to activate it.
I mean that function module under my request was just testing. Apart from activating i didnt touch anything)
May it broke something? I have hesitates before transport it to the SEP.
02-02-2022 7:19 AM
If nothing was changed, there shouldn't be any problem transporting the exact same object, I think. I hope you understood what is the difference of activating one include versus the main program/all its includes.
02-02-2022 7:24 AM
Maybe as a function module is a generated code, when you activate SAP generate a new version & need to transport it because it consider as a change.
02-02-2022 9:15 AM