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

Calling another program in the print program through FORM ENTRY

Hi All,

Have a requirement that I need to submit the program with variant to a print program.

But it is giving dump "Statement "SUBMIT" is not allowed in this form" while executing through VF04.

I have tried by using CALL FUNCTION "func" in update task .Inside the "func" in I have coded the logic of

submit program using selection-set VARIANT.

Even then while executing through VF04 got the dump "DYNPRO_SEND_IN_BACKGROUND" and "POSTING_ILLEGAL_STATEMENT ".

Kindly advise to resolve the issue.

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 Jan 15, 2009 at 05:09 AM

    hi,

    I think your calling program(SUBMIT ZXXX) has any error or activation problem..

    please make sure ..

    If you are getting again the same problem..

    Please paste your code(Syntax of the submit what u have called)..

    For what purpose this SUBMIT program u r calling..

    whether it is report or another smartform..

    please let us know..

    regards

    vijay

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hi,

      PLease make sure that u r using both smartforms and report..

      Once the function called the report program, whether control back to the print program..

      Using debugger please check..

      put a break-point in your program and find where that dump is arised..

      whether u want report only or smartform only...

      If the same problem arises again,

      Paste your report program code inside the print program instead of using SUBMIT..

      let me know what the issue u r facing

      regards

      vijay

  • author's profile photo Former Member
    Former Member
    Posted on Jan 15, 2009 at 05:53 AM

    Hi Vinodha,

    Please try to use CALL TRANSACTION instead of SUBMIT.

    I believed it won't dump.

    Thanks,

    Victor.

    Add a comment
    10|10000 characters needed characters exceeded

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.