Application Development 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: 

Message output systems

Former Member
0 Kudos

Hi Gurus,

I am a Functional Consultant and do not know much about the ABAP. I am making a Functional specification for the change Message out put which is for Remittance advise for the Vendors. I read few of the Threads an I am sure now I can get some help here.

The scenarios is that the ERS (auto MIRO or invoice generation) is done with the help of self billing (automated). This has 7 different steps in which it calculated and the creats and invoice document. I have tried to view the program and at the end it has RSNAST00 program.

Now I am a bit confused here as there is another custom program "ZPMWO_SBHS_MESSAGE_NAST" i went through the code for this and I think this program is to fetch the data that is to be populated in the Smart forms as at some point in the program the smart forms are called and populated with Data.

As this whole thing is confusing to me My basic question is whats the role of RSNAST00 when data is fetched by the Custom program. Is it thats the custom program is getting the data and populating the Smart form and then creating the message and RSNAST00 is then Checking the NAST table for the unprocessed messages and picking up unprocessed messages and send to the respective vendors.

Can anyone please explain me the purpose of RSNAST00 and how it can be used and if the above scenario makes sence or not?

thanks in advance

Anoop Sharma

4 REPLIES 4

Former Member
0 Kudos

Hi,

RSNAST00 is the program that actually processes the output types that are queued up in the NAST table.

You sometimes give the dispatch tme as '1, Send by scheduled job' when creating the output type. Now RSNAST00 is that job which is scheduled to process the output types with dispatch time

regards,

Advait

Former Member
0 Kudos

Hi Advait,

So mean to say that the Program RSNAST00 is not actually use to create a message by pulling data from the system, it is actually use to create the type of message that will be send like Email message or print message or fax. So that means there will be some other program that should be used to pull the data and then create an attachment which is then attached to the message type created by RSNAST00.

Please advise

Regards

Anoop

0 Kudos

Yes you are right. RSNAST00 is a generic program.

The program that actually extracts the data is setup in NACE for that output type's processing routines.

Here you will usually see the following :

1. Medium ( 1, 5, etc..)

2. Short text (Print , Fax etc)

2. Name of the program that the system calls up to process the output.

3. The subroutine within that program.

4. Form name if applicable .

5. Smart form name is applicable.

Example :

For output type ERS of application MR, I have the following processing routine :

Medium Short text Program Form routine Form

1 Print output RM08NAST ENTRY_ERS ZF_AP_SBINVOICE

So subroutine ENTRY_ERS of program RM08NAST is responsible to extract the data and write the form.

You can refer to the documentation of NACE t.code for further details.

Also note that you can assign custom program and custom form name too in the processing routine.

regards,

Advait

Edited by: Advait Gode on Feb 13, 2009 2:14 PM

Former Member
0 Kudos

Thanks for the replies