Application Development 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: 

How to trigger new button in a standard transaction

Former Member
0 Kudos
238

Hi All,

I have added an new button in COR1 and COR2 but when clicking it gives an error 'Requested function SPLI is not available here'. What should I do?

Thanks,

Trixa

7 REPLIES 7

Former Member
0 Kudos
122

Hi Trixa,

Please try adding an entry in the table T185 with function code "SPLI" and see if it works.

Regards,

Sri Lakshmi.

Former Member
0 Kudos
122

Hi Trixa,

I am sure the solution provided by Lakshmi would work for you.

Please refer to the below mentioned link.

http://scn.sap.com/thread/1552976

Regards,

Santanu.

0 Kudos
122

Hi,

did you put the button on customer screen? what function code did you assigned to the button? and what kind of switch?

Best regards!

Florin

0 Kudos
122

Hi Florin,

Function code is 'SPLI'. I copied a standard status to a custom one and I added the new status there. I set the new PF-STATUS via enhancement.

Thanks,

Trixa

0 Kudos
122

Hi Trixa,

why to you set the pf status for the screen(subscreen)? Did you try to add the function code 'SPLI' without status?

and check if you can achieve anything comparing the setting for this function code in table T185

SAPLCORU SPLI R0 0100 * * R1 0170 ENT1 0       T 1

SAPLCORU SPLI R0 0300 * * R1 0170 ENT1 0       T 1

SAPLCORU SPLI R1 0150 * * R1 0170 ENT1 0       T 0

SAPLCORU SPLI R1 0160 * * R1 0170 ENT1 0       T 0

SAPLCORU SPLI R1 0180 * * R1 0170 ENT1 0       T 0

....

....

....

I can tell you that we were able to call function code 'PORE' from Additional Data B from VA01, VA02 without usind set pf status.

Best regards!

Florin

Best regards!

Florin

0 Kudos
122

what I mean is to build a button on the customer tab.  and assign this button the value 'SPLI'.

Former Member
0 Kudos
122

Hi trixa,

Go through this thread. U might get some idea.

http://scn.sap.com/thread/815475

Regards,

Santhosh