Application Development and Automation 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: 
Read only

BAPI function modules

Former Member
0 Likes
1,183

Hi folks,

I have a question, I developed an custom function module

'Z_GET_PAYSLIP' which is called in another custom FM. I tested them in QAS and the modules ran fine, giving the right results. But when I released that to PRD. the both the function modules did not show up. it have messgae ' Function ZWEB contains errors' when I clicked that it asked some data inconsistencies in the function group and asked to go for function repair.

Shoudl it not take the new custom FM directly into the function group? Also I tried to do the function repair in QAS for it, it said the modules appear directly in the function pool,I did not have that problem in QAS and tested them fine.

Any thoughts? What can be done to correct this? How can i handle this?

It would be of help.

Thanks,

SK

12 REPLIES 12
Read only

Former Member
0 Likes
1,162

There are some object which your Zee function module is referring to in QAS system and which are not present in PRD system.

Check which objects you are missing.

Or do consistency check.

Regards,

Amey

Read only

Former Member
0 Likes
1,162

I will suggest you to check the sequence of transport requests. It should be as you have created. If it is not corrcet then there is possibility of such problems.

any queries, please revert back.

Best Regards,

Vibha

*Please mark all the helpful answers

Read only

Former Member
0 Likes
1,162

Hi

If a single function module in that Function group to which this fun module 'Z_GET_PAYSLIP' relates is having problem, then you will get errors in PRD after transporting it.

Might be all Function modules in that Fun group are fine in DEV but they may not be OK in PRD

check for that and activate each and every fun module including the Main program and function Group and then transport a fresh transport and use.

reward points if useful

regards

Anji

Read only

0 Likes
1,162

Thanks folks for the quick reply.

The function modules which were created did not show up in the function group I checked in the list of all the function modules under LZWEBUXX where all the modules are listed, these two did not show up in that list when moved to PRD. However it did show up in DEV and QAS. How can I correct this?

SK

Read only

0 Likes
1,162

Ask Basis people to revert back the requests and transport it again with the correct sequene. It will solve your problem.

I hope it helps.

Best Regards,

Vibha

*Please mark all the helpful answers

Read only

0 Likes
1,162

Re-transport the Function Group ZWEB.

~Suresh

Read only

0 Likes
1,162

I have the transport request for that in QAS. when I created the custom FM and called them within the BAPI and checked for the code on DEV it looked fine. Then I transported it to QAS where the actual data was and it asked for Function Repair to include the custom modules which I did and it generated a transport request in QAS.

Now I had to release this request from QAS to PRD. I am little apprhensive about it, but even then I released in QAS and when i looked to transport it to PRD, i checked for that transport (using 'STMS' T code) I could not find that released transport in QAS.

I relaized that this is the problem, because it is asking for function repair in PRD to include these custom FMs but since it is PRD that is prohibited.

I am bit nervous. Should it not take the custom modules directly? I am thinking that since it asked for function repair, is there a problem?

Could anyone suggest me how to go ahead with this?

Thanks,

SK

Read only

0 Likes
1,162

It is better to create a new Request & manually include all the Objects ie the Function Group & the function module via the include objects menu option in SE09. Then transport this request.

~Suresh

Read only

0 Likes
1,162

I created an ew transport request with the function group changes and the custom FM, transported it to PRD. It did not work. It did nto give me any errors while importing to PRD,went through successfully, when I tried to open the custom FM in PRD it did not, gave the same errors. I need to get that Function repair piece into PRD, The custom FM is there in PRD, but until it shows up in the list of the function group. it is not going to display.

Is there any way I can get the transport request of QAS released to PRD? How could I find that?

Any thoughts would be really helpful.

Thanks,

SK

Read only

0 Likes
1,162

Check DATA and CO_FILES created for the transport request.

Regards,

Amey

Read only

0 Likes
1,162

where can I check that?

Thanks,

SK

Read only

0 Likes
1,162

Once you have released the request, these files will sit in your Application server under the same folder name. Ask your Basis team they will let you know.

Regards,

Amey