CALL ANOTHER ABAP PROGRAM USING SUBMIT & LEAVE - sapbrainsonline.com
HOME TUTORIALS ARTICLES PROJECTS JOBS TOOLS REFERENCES CHAT FORUM GUESTS

Call another program from list

 

 SUBMIT rep. (Calls the report rep . Leaves the active program and starts the new report rep)

 Additions

1. ... LINE-SIZE col   (Prints the report with the line width col)
2. ... LINE-COUNT lin (Prints the report with lin lines (per page).)
3. ... TO SAP-SPOOL
4. ... VIA SELECTION-SCREEN (Displays the selection screen for the user. In this case, the selection screen is redisplayed after return from the report list display - the user's entries are retained)

5. ... AND RETURN (Returns to the calling transaction or program after the called program has been executed. SUBMIT ... AND RETURN creates a new internal mode)
6. ... EXPORTING LIST TO MEMORY (Does not display the output list of the called report, but saves it in SAP memory and leaves the called report immediately. Since the calling program can read the list from memory and process it further, you need to use the addition ... AND RETURN . Also, since the called report cannot be requested for printing, the addition ... TO SAP-SPOOL is not allowed here. You can read the saved list from SAP memory with the function module 'LIST_FROM_MEMORY' and then (for example) store it in the database with EXPORT . You can process this list further with the function modules 'WRITE_LIST' , 'DISPLAY_LIST' ... of the function group "SLST")
7. ... USER user VIA JOB job NUMBER n (Schedules the specified report in the job specified by the job name job and the job number n . The job runs under the user name user and you can omit the addition USER user . The assignment of the job number occurs via the function module JOB_OPEN (see also the documentation for the function modules JOB_CLOSE and JOB_SUBMIT . This addition can only be used with the addition ...AND RETURN)
8. ... Various additions for parameter transfer to rep
9. ... USING SELECTION-SETS OF PROGRAM prog(Uses variants of the program prog when executing the program rep)

LEAVE

1. LEAVE PROGRAM. (LEAVE PROGRAM always leaves the current program - there is never any processing after LEAVE PROGRAM)
2. LEAVE TO TRANSACTION tcod. (Terminates the current processing and starts the (new) transaction tcod)
3. LEAVE TO SCREEN scr. (Leaves the current screen and processes the screen scr)
4. LEAVE SCREEN. (Leaves the current screen and processes the next screen.)
5. LEAVE TO LIST-PROCESSING. (Switches from "dialog processing" (module pool, screens) of the current transaction to "list processing)
6. LEAVE LIST-PROCESSING. (Returns from list processing and re-processes the return screen (LEAVE TO LIST-PROCESSING))
7. LEAVE.( Leaves the " CALL mode ")

 

SAP Technical Tutorials

ABAP
DICTIONARY
INTERNAL TABLES
ALV Reports
SAPSCRIPTS
SMARTFORMS
LSMW
BDC
ALE
IDOC
USER EXITS
TRAN
SPORTING
ITS


SAP Functional Tutorials

FI (Financial)
CO (
Controlling)
HR (
Human Resource)
LO (
Logistics)
MM (
Materials Management)
PP (
Production Planning)
QM (
Quality Management)
SD (
Sales and Distribution)
TR (
Treasury and cash)
WM (
Warehouse Management)
PS (
project Systems)
PM (
plant Maintenance)
CA (
Cross Application)


SAP Interview questions

Architecture FAQs
BDC FAQs
DATADICTIONARY FAQs
Logical Database FAQs
Modularization FAQs
Reports FAQs
Transactions FAQs


SAP References

transaction codes
System Fields
Function Modules
SAP TABLES
code optimization


TOOLS

SQL Trace tool
Runtime Analysis
LSMW
ABAP Query
CTS


SAP Certification

SAP Download

SAP Companies India

SAP Books

SAP JOBS
SAP jobs in India
SAP ABAP jobs in India
SAP BASIS jobs in India
SAP BI jobs in India
SAP CRM jobs in India
SAP FICO jobs in India
SAP Fresher jobs in India
SAP HR jobs in India
SAP MM jobs in India
SAP PM jobs in India
SAP PP jobs in India
SAP SD jobs in India
SAP XI jobs in India

 

 

CALLING ANOTHER ABAP PROGRAM USING SUBMIT & LEAVE

Custom Search
ABAP Tutorials ABAP Syntax BAPI SAP Jobs SAP Glossary SAP Netweaver SAP XI SAP Download SAP Interview questions

Complete SAP Study materials | SAP JOBS | PDF Tutorials   List of SAP Companies India

Google-Translate-Chinese (Simplified) BETA Google-Translate-English to French Google-Translate-English to German Google-Translate-English to Italian Google-Translate-English to Japanese BETA Google-Translate-English to Korean BETA Google-Translate-English to Russian BETA Google-Translate-English to Spanish

All of the product names here are trademarks of their respective companies. The site sapbrainsonline.com no way affiliated with SAP AG. Use information on this site at your own risk. Information furnished in the site is collected from various sites and posts from users. This site does not host any files on its server. If any compliants about the posts please contact us at sapbrain.support@gmail.com

Sitemap