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

T-Code

Former Member
0 Likes
1,726

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

1 ACCEPTED SOLUTION
Read only

naimesh_patel
Active Contributor
0 Likes
1,700

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

22 REPLIES 22
Read only

naimesh_patel
Active Contributor
0 Likes
1,701

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

Read only

0 Likes
1,700

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

Read only

0 Likes
1,700

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

Read only

0 Likes
1,700

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

Read only

0 Likes
1,700

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^

Read only

0 Likes
1,700

you can find it my business card.

Naimesh

Read only

0 Likes
1,700

Hi Naimesh, I have send you an email on your gmail a/c ...so please have a look at it.

Thanks

Rajeev

Read only

0 Likes
1,700

Naimesh...did u get my email???

Read only

0 Likes
1,700

No man...

Read only

0 Likes
1,700

Naimsesh I ahve send you the file on this id - naimesh@gmail.com

Read only

0 Likes
1,700

Ya waiting ..not yet received...

Naimesh

Read only

0 Likes
1,700

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

Read only

0 Likes
1,700

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.

Read only

0 Likes
1,700

Ok gareth ...here is my code:

Message was edited by:

Rajeev Gupta

Read only

0 Likes
1,700

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.

Read only

0 Likes
1,700

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

Read only

0 Likes
1,700

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

Read only

0 Likes
1,700

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

Read only

0 Likes
1,700

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.

Read only

0 Likes
1,700

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.

Read only

0 Likes
1,700

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

Read only

0 Likes
1,700

> 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?!