‎2007 Nov 13 4:27 PM
Hi gurus,
I have a small question, I have created a program and for that I have created a transaction code, but when I am using that transaction code and when I am putting the desired file through the selection screen it comes directly out of it without giving the desired output and result. My object has already been released to QA, can you please tell me how to resolve this, and also if I want to edit something it asking me the tranport no. and when I give the desired transport no. it says it has already been released.
Thanks
Rajeev
Message was edited by:
Rajeev Gupta
‎2007 Nov 13 4:41 PM
You need to crate a new transport request for saving the changes in the already released objects.
In your Q system, debug the program you will have better idea what is going wrong.
Than come to D system, change your program, save into new transport (create a one) release it and trasnport it to Q system.
Test again into Q system.
Regards,
Naimesh Patel
‎2007 Nov 13 4:41 PM
You need to crate a new transport request for saving the changes in the already released objects.
In your Q system, debug the program you will have better idea what is going wrong.
Than come to D system, change your program, save into new transport (create a one) release it and trasnport it to Q system.
Test again into Q system.
Regards,
Naimesh Patel
‎2007 Nov 13 4:44 PM
Hi Naimesh,
Thanks for the reply,
Well when I run my program using se38 its working fine but thsi problem is coming only when I am running it through T-code. so can you please tell me what can be the possible cause of error.
Thanks
Rajeev
‎2007 Nov 13 5:01 PM
You might have some hardcoded for the tcode so search in your code for 'SY-TCODE' or 'TCODE'.
If your code is not much big you can paste it here.. so, we can look and analyze.
Regards,
Naimesh Patel
‎2007 Nov 13 5:03 PM
Hi did check my code and didn't find sy-tcode and tcode in it. Can you please give me ur email id so that I can send you my code, as I can't paste it here.
Help will be highly appreciated.
Thanks
Rajeev
‎2007 Nov 13 5:05 PM
hi
good
if the transport request has been already been released than you cant do any modification on the current object,to doing any changes in the current object in the development than you need to ask for another transport request to y our basis people and than you can do the required changes in the report and you can transport it to QA again.
thanks
mrutyun^
‎2007 Nov 13 5:06 PM
‎2007 Nov 13 5:08 PM
Hi Naimesh, I have send you an email on your gmail a/c ...so please have a look at it.
Thanks
Rajeev
‎2007 Nov 13 5:23 PM
‎2007 Nov 13 5:27 PM
‎2007 Nov 13 5:42 PM
Naimsesh I ahve send you the file on this id - naimesh@gmail.com
‎2007 Nov 13 5:43 PM
‎2007 Nov 13 5:49 PM
Naimesh can you check your Bulk mail. Actually this time I cc it to me as well and I got the mail in my bulk mail.
Thanks
Rajeev
‎2007 Nov 13 5:52 PM
Instead of emailing it to one person why don't you actually paste the code here so that EVERYONE can help.
As I've suggested in your other thread - try debugging through your program so you can tell us exactly what is happening and stop all this random guessing!
Also, please close one of your 2 threads on this subject.
Gareth.
‎2007 Nov 13 6:01 PM
Ok gareth ...here is my code:
Message was edited by:
Rajeev Gupta
‎2007 Nov 13 6:11 PM
I can't see anything obviously wrong with your code although I've not read through it all properly in detail.
I strongly advise you to try debugging through it to see when/why it stops running. You need to find out if it actually opens and uploads the data from your file first and take it from there.
Gareth.
‎2007 Nov 13 6:53 PM
Thanks for the reply Gareth,
As soon as I entered my file name at the selection screen and type /h for debugging mode and press excecute it comes out of the program.
Thanks
Rajeev
‎2007 Nov 13 7:22 PM
Rajeev,
What is your Current SAP Version ?
I guess your's is ECC .
if it is ECC then do not use F4_FILENAME FM ,please use alternative.
I saw your Coding about F4_FILENAME ,Here do not use hard code values like program name.
please use sy-repid instead of hard code values.
Thanks
Seshu
‎2007 Nov 13 7:28 PM
Seshu...that is not the issue...because I tried doing what u told me and even my other t-code is working and there also I have hard coded the program name, and yes I am working n ECC.
Thanks
Rajeev
‎2007 Nov 13 7:32 PM
Rajeev,
When u create the custom Tcode from SE93 for the Report In the pop up you need to select second radio button which is <b>program and selection screen (report transaction)</b> not program and screen (dialog transaction).
Chandra.
‎2007 Nov 13 7:32 PM
Put this v_date = sy-datum + 5. into start-of-selection.
data: v_semfile like RLGRAP-FILENAME,
v_date like sy-datum,
v_ekgrp like ekko-ekgrp,
v_bsart like ekko-bsart.<b>v_date = sy-datum + 5.</b>
DATA : data TYPE string,Naimesh.
‎2007 Nov 13 7:45 PM
Rajeev, I have tested and it works great ..
REPORT zmmint_po_marketprice
NO STANDARD PAGE HEADING
LINE-COUNT 65
LINE-SIZE 255
MESSAGE-ID 01.
PARAMETERS: p_ifname LIKE rlgrap-filename OBLIGATORY.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_ifname.
CALL FUNCTION 'F4_FILENAME' "allows user to select path/file
EXPORTING
program_name = sy-repid
dynpro_number = syst-dynnr
<b>*field_name = 'p_ifname' " Commented</b>
IMPORTING
file_name = p_ifname.
Thanks
Seshu
‎2007 Nov 14 9:49 AM
> Thanks for the reply Gareth,
>
> As soon as I entered my file name at the selection
> screen and type /h for debugging mode and press
> excecute it comes out of the program.
>
>
> Thanks
> Rajeev
So it doesn't even enter into debug mode?!