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

Idoc - Find Background program Name

Former Member
0 Likes
3,548

Dear All,

We are getting the data from File server into SAP application server to create the sales order in SAP system. Before all every thing working fine. Now my client wants to change some data while reading the data from that application server. Now my question is through that application server path how do I find the program like where used list in SAP.

According to my client requirement I was tried to change the Idoc data using exit but it's working only within SAP system. While running through that application path it's not changing the data.

Can anyone tell me how do I find that program name only by using that application path ?

Or

Here I confirm through that path only they are processing the data so can any suggest me to find program name?

What are the other possibility to find or resolve my issue?

Thanks & Many regards,

John

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
2,107

Hi John,

You can find at SM35  t code there you can find your session processed with which programme.


basically we will use programmed RSNASTED for create sales order with idoc

need to view progremme contents means se38.

Thanks.

Srinivasan s

11 REPLIES 11
Read only

Former Member
0 Likes
2,107

Dear All,

Any idea about the above issue ?

Thanks & Many Regards,

John K

Read only

Former Member
0 Likes
2,108

Hi John,

You can find at SM35  t code there you can find your session processed with which programme.


basically we will use programmed RSNASTED for create sales order with idoc

need to view progremme contents means se38.

Thanks.

Srinivasan s

Read only

0 Likes
2,107

Hi,

RSNASTED - What is this program do suppose to execute by mistake ? Will it create any Sales Order in system? .


Regards,

John.

Read only

ThangaPrakash
Active Contributor
0 Likes
2,107

Hello John,

My understanding is you have a file in Application sever and you need to know what are the programs which uses that file?

If yes, either they would have specified the application server path in program via program variants or hard coded inside the program.

In case of Hard code, Scan all your Custom development programs with the application filename or path, Use report RS_ABAP_SOURCE_SCAN to scan source code.

To check the variants, use table VARI, as the variants are stored with RAW type, use Function module "RS_VARIANT_VARIABLES" to read them.

Refer to below link for details of searching in variants.

Regards,

Thanga

Read only

0 Likes
2,107

Hi Thanga,

The above scan program is not exist in my system because It's 4.7 Version.

Thanks for your reply.

Regards,

John.

Read only

Jelena_Perfiljeva
Active Contributor
0 Likes
2,107

I'm sorry but your post just does not make any sense. While it's awfully nice of the SCN members above to try and guess what you meant, I'm concerned this will just send you on a wild goose chase.

If this is some kind of an interface then shouldn't there be some documentation available for it? For all we know the file might be FTPed from somewhere.

You start with "file" and then IDoc somehow appears, are they related?


My client wants to change some data while reading the data from that application server

Why not get the file with correct data to begin with?


According to my client requirement I was tried to change the Idoc data using exit but it's working only within SAP system. While running through that application path it's not changing the data.

You tried correctly, but now the plot thickens. While running what "through that application path"? What does this mean? And where is "application path" then? Not in SAP? Again - see above, how do all this file-IDoc-mistery "application path" chain connect?

Quite a bit of clarification required here.

Read only

0 Likes
2,107

Hi Jelena,

     There is no documentation available for this interface ? Even I was wonder when I heard from my client.

Client should keep the data according to their customer understanding format because It will helpful to change whenever they want. The process all everything is automatic.

Idoc got appear in WE02, but don't know where it get started ?

Regards,

John.

Read only

0 Likes
2,107

John K wrote:


Idoc got appear in WE02, but don't know where it get started ?

Wouldn't there be a port assigned to the IDoc? Do you know anything about the IDoc interfaces? If not then it's time to tell the client that.

I'm sorry you didn't find my response helpful, but I believe you are approaching this from a completely wrong angle. It seems like an ABAPer's solution to a non-ABAP problem.

Read only

Juwin
Active Contributor
0 Likes
2,107

If you don't know which program is reading and processing the file, to convert it to IDoc, then....

Methods

1. One day, don't place the file in the application server path and see which job fails in SM37 saying "file not found".

2. Read all the batch jobs currently released in the system. Use RS_VARIANT_CONTENTS to read the contents of all the variants for those batch jobs. Check if any of the variant contains the app server path.

3. Check if this path is assigned to the logical file path in FILE transaction. If found, do a where used list of FILE_GET_NAME function module. Check if any Z programs are listed. If yes, then check if those Z programs uses the logical file path.

Really, there is no straightforward way to find this. You should try to explore around the system through various methods to achieve the required result.

Thanks,

Juwin

Read only

Former Member
0 Likes
2,107

Hi Juwin,

No Z* are listed. Is there any way ?

Regards,

John

Read only

Juwin
Active Contributor
0 Likes
2,107

Did you try the 2nd method? I think that would be the best option.

Thanks,

Juwin