‎2009 Oct 09 11:05 AM
Hi,
I copied one standard program to custom program.
When I execute custom program using custom tcode i am not getting executable button on tool bar.
COuld any one help me on this?
‎2009 Oct 09 11:09 AM
Hi,
You also need to copy the program's menu status. Transaction SE41.
Regards,
Nick
‎2009 Oct 09 11:20 AM
Hello Praveen,
Better you copy from Tcode SE80.
how did u copy??
Regards,
Sujeet
‎2009 Oct 09 11:32 AM
Nick, pf-status is copied. Still it is not working.
I copied using SE38. Could tell me how can i copy from SE80.
‎2009 Oct 09 11:38 AM
Hello,
Goto SE80->
step1 . select program type and put your program name
step2 press enter
step3. In below screen right click on Object name and click copy.
step4. Create your Z program
step5. click copy.
it will ask you to copy all segments which are used in this program including your menu screen also. and create all in z and activate and execute your program.
Regards,
Sujeet
‎2009 Oct 09 11:35 AM
when you copy from se38 you have to tick on all the includes and other stuff. if you did so it should work
btw what is the program you copied.
‎2009 Oct 09 12:22 PM
it is only because of pf-status
check the pf - status name whee you set pf-status
if its ok than try to create new pf-status
‎2009 Oct 09 12:59 PM
Hi,
Tried with creating new pf-status still i am not getting.
I am trying to copy KSB1 tcode.
Could you please help me
‎2009 Oct 09 1:02 PM
My recommendation is: don't copy complex SAP standard transactions at all.
Thomas
‎2009 Oct 09 1:23 PM
But the requirement is that, we need to write the output generated from KSB1 to UNIX file.
Hence, no other option copy and do some chages for above requirement.
‎2009 Oct 09 1:33 PM
Hi,
You could use the SUBMIT statement on the standard program of the transaction KSB1and get the output data in a internal table which could be written in the application server
Vikranth
‎2009 Oct 09 1:42 PM
Hi,
I tried to create new PF-status with 100,
Given icons with executable button, variant button and another dummy button. But still i am not getting the executable button.
‎2009 Oct 09 2:03 PM
The transaction KSB1 use the standard CO line report FM K_LINE_ITEMS_SELECT_AND_LIST.
There is a FM K_LINE_ITEM_ACT_DATA_GET that call this FM with parameter i_no_display on, so the displayed table is exported to memory of the FG and then back to caller.
Try to use this FM with a caller report with dispaly same selection-screen than KSB1, the map the selection parameter of the FM and then download the internal table to your unix file.
Regards,
Raymond
‎2009 Oct 09 2:29 PM
Hi Raymond,
I have noticed these FM's before, but requirment :- they want clone of KSB1 itself. exactly as KSB1.
I copied programs and function modules to custom one.
When i execute custom program i am not getting the executable button to execute the program on selection screen tool bar.
‎2009 Oct 09 2:50 PM
‎2009 Oct 09 3:40 PM
‎2009 Oct 09 3:57 PM
Reverted back to Constant RAK....
Still i am not getting executable button.
‎2009 Oct 09 4:06 PM
Hi Praveen,
do not create a new PF-Status. Go to the original program, preferably SE80, if you don't want use SE38 and click the object tree button on top. Then you have a split window as in SE80 with your program on the right side and the object tree on the left side. Expand it if nessecary and in the pf-status section, right-click on every PF-Status, select copy and give your z-program as target..
After having copied, use Environment - inactive objects and activate all the pf-keys or other things.
Start to get used to SE80, avoid SE38 because you can use SE890 as your central working platform for everything. Never need to go to another transaction and still maintain a stack of all objects you work with.
SE38 is completely obsolete.
Regards,
Clemens
‎2009 Oct 09 1:08 PM
Double click on ur pf-status then save and activate.
It will solve ur problem.
‎2009 Oct 09 1:11 PM
‎2009 Oct 09 1:12 PM
Hi,
In your Z program search the pf-status,just double click it and activate.
Regards,
Supriya
Edited by: Supriya Bhatnagar on Oct 9, 2009 2:12 PM
‎2009 Oct 09 1:18 PM
Hello Supriya.
Do you think that you are providing meaningful information??
I can not image your solution. please see once again the requirement.
and explain me too..
Regards,
Sujeet
‎2009 Oct 09 1:40 PM
Hi Mr. Sujeet,
What I understood is the problem not copying the standard program but after copying he is not able to see the execute button.
I was not the only person who thought this could be solution.
I know you are providing very meaningful information by telling how to copy the program
Regards,
Supriya
Edited by: Supriya Bhatnagar on Oct 9, 2009 2:47 PM
‎2009 Oct 09 4:15 PM
Hi Supriya,
Below are your answer :
I was not the only person who thought this could be solution.
Instead copying othrs view Please give your own logic.:-):-), same thought should not be pasted, its against Forum Rules.
I know you are providing very meaningful information by telling how to copy the programMy Answer was requested by Mr. Praveen kumar, see above thread.
Sujeet
‎2009 Oct 09 6:14 PM
Hello ,
Sujeet wrote:
Below are your answer :
I was not the only person who thought this could be solution.
Instead copying othrs view Please give your own logic.:-):-), same thought should not be pasted, its against Forum Rules.
please refer : Forum RulesPlease dont explain me about forum rules I have very much knowledge of SDN forums.
It was just that both the answers came at same time. which usually happens in SDN.
I think you need to read the forum since you are violating SDN forum rules instead of answering the thread.
Supriya
‎2009 Oct 14 12:51 PM
When coping the TCode KSB1 to ZKSB1. Select as executable program ( transaction via selection screen and not as dialog transaction). Hence solved the problem.