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

RSNAST00 program debugging to find the path.

Former Member
0 Likes
5,139

May be silly question.

I was given the variant Rbus-01 for RSNAST00 program...

and asked me to debugg RSNAST00 program to find out

where the program is depositing/downloading the files ?

The files were not down loaded in the expected specified path.

Experts on rsnast00 program who can help me ?

How can i find out the where the files are getting down loading

OR

why they are not down loading in the specified path.

Thanks in ADVANCE.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
3,354

How can I find out

output type

is writing data into application server ?

19 REPLIES 19
Read only

naimesh_patel
Active Contributor
0 Likes
3,354

Basically RSNAST00 will call the Routine maintained in the Customization for the Output type. So, you can set the break point in the Subroutine and start the RSNAST00.

Regards,

Naimesh Patel

Read only

Former Member
0 Likes
3,354

Experts,

I have debugged the RSNAST00 program code, however I could not find the file download in that coding...

My functional consultant asked to debug RSNAST00 and tell where this program is depositing the file ( she created one variant also ).

I am getting finally a popup saying

"1 outputs were processed in total (1 successfully, 0 incorrectly)"

But I could not find a file path or any downloading related code.

Can you please help/guide me.

THANKS IN ADVANCE.

Read only

0 Likes
3,354

keep the break-point on the below code

perform (tnapr-ronam) in program (tnapr-pgnam) using returncode
                                                         us_screen
                                                         if found.

and debug. But i am not understanding your question ..? what is the output type you are using..?

Download - what is that you are downloading...

Read only

Former Member
0 Likes
3,354

ZFUE is the output type.

Download -

Actually some of the files are supposed to be down loaded by running the rsnast00 program it seems. That is the my functional consultant's impression.

My function consultant says,

"I need someone to debug RSNAST00. We need to find out exactly where RSNAST00 deposit the files. It is supposed to deposit the files in

"/saparchive/REJ/RFK/"

But we cannot find them.

I have the variant set up - RBUS_BATCH_DMS. Please get back on this ASAP.

Please debug RSNAST00 and tell me where this program is depositing the file.

The variant is RBUS_BATCH_DMS".

Read only

Former Member
0 Likes
3,354

Is it rsnast00 program will downloads some files ???

OR

here in below coding

PERFORM (TNAPR-RONAM) IN PROGRAM (TNAPR-PGNAM) USING RETURNCODE US_SCREEN

IF FOUND.

is it possible that any downloads ?

Read only

0 Likes
3,354

chance may be there.. But you can find the information based on the outputtype, when you debug that it will take to another program there you have to check what is happening. the output type may be writing the data to application server. so check it once.

when you keep the break point, you can know the program name, just take that and go to se38 and see what is there exactly.

Read only

Former Member
0 Likes
3,354

here in below coding

PERFORM (TNAPR-RONAM) IN PROGRAM (TNAPR-PGNAM) USING RETURNCODE US_SCREEN

IF FOUND.

i have found the form name and z-program name

and checked in se38...it seems no dataset or no down load .

wha t to do /?

Read only

Former Member
0 Likes
3,354

How can i find out output type is writing data into application server ?

I found out the program name from below coding ...however it is driver program...It is not sending any files to application server.

PERFORM (TNAPR-RONAM) IN PROGRAM (TNAPR-PGNAM) USING RETURNCODE

US_SCREEN

IF FOUND.

Is there any thing else still I can check ?

THANKS in ADV.

Read only

0 Likes
3,354

what is that ZPROGRAM doing...

what is it Triggering a Smartform/Script/mail/IDoc ..?

Did you check the program...

Read only

Former Member
0 Likes
3,354

SCRIPT..driver program.

Read only

0 Likes
3,354

may be they are doing some download , after display, using the otf data , and getting the pdf from that and saving it to application server...

just the code after the CLOSE_FORM function call...

Read only

Former Member
0 Likes
3,354

In Z_program there is the standard subroutine ENRY...

in which

after close_form

the code is like below

CASE RETCODE.

WHEN 0.

RETURN_CODE = 0.

WHEN 3.

RETURN_CODE = 3.

WHEN OTHERS.

RETURN_CODE = 1.

ENDCASE.

ENDFORM. " FORM ENTRY USING RETURN_CODE US_SCREEN.

So there is no download in zprogram...what to do .

Only user name to run batch job and printer name I could found that to after close_form ...after entering again into rsnast00 program

Edited by: Sam Kumar on Sep 16, 2008 3:07 PM

Read only

Former Member
0 Likes
3,355

How can I find out

output type

is writing data into application server ?

Read only

0 Likes
3,354

it is not standard one, so you ask your functional people ...

Read only

Former Member
0 Likes
3,354

Ok . thank you.

Read only

Former Member
0 Likes
3,354

He says that the output type is "ZFEU" which is configurred in nace t-code to archieve ( in Storage Mode is set as archive only ) ....so that the RSNAST00 program, instead of going to printer, files should go to arhiving path. But no file is going for archiving path... that is the problem. I put break point in RSNAST00 program, which is of no use ....Where can I debugg & using output type "ZFUE", How to find out what is happening ? in Vf03 I have checked output type.

Read only

0 Likes
3,354

See what ever the output type it should come to the RSNAST00 program, from there it brach outs to corresponding programs. I think you are missing some thing..

so keep a break point in rsnast00 program and then come from transactionVF03 by triggering the output type ZFUE.

Read only

Former Member
0 Likes
3,354

sorry

Read only

Former Member
0 Likes
3,354

I waited till now for ur response....!

WHERE ARE YOOU LOCATED SIR ???