Skip to Content
author's profile photo Former Member
Former Member

Issue regarding memory parameters

Hi Expert,

I have copied zprogram of the standard one RFKORK00 . In the zprogram i have added field using select-options and i want to pass the data of this field to the print program.

Flow of the program is - ZRFKORK00 calls submit and return SAPF140 and SAPF140 calls submit and return zprint_prg

Please suggest how i should pass the data to print program and also necessary parameters will be needed to add in SAPF140 and zprint_prg ?

Do i need to make SAPF140 to ZSAPF140 ?

Please advice.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Sep 27, 2011 at 04:05 PM

    Hi

    If you want to transfer some data from ZRFKORK00 to zprint_prg you can try to use IMPORT/EXPORT .... FROM/TO MEMORY ID: see the help

    Max

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Sep 27, 2011 at 04:22 PM

    Hello,

    Please use SHARED BUFFER concept for sharing memory data in background.

    Example would be:

    EXPORT <export data> TO SHARED BUFFER indx(st) ID <id>.

    Thanks

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Here i have doubt that when i will write export staement in the zprogram. After zprogram control will go to standard program as i have mentioned and after standard program control will go to zprint program. So i have doubt when i will write import statement in zprint program, will the data be fetched in zprint program ?

      also pls tell me which memory id i should use ?...is it 'BAR' ?

      In addition to this, when i debug zprogram and control will go to the zprint program, can i able to see data stored in memory id there?..if yes then how ?.

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.