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

Amount in Words on INVOICE using Standard SAPscript

Hello,

I have requirement for Showing 'Amount in Words' on Sales Invoice (VF03).

SAPscript : RVINVOICE01

So i copied it in Z program as ZRVINVOICE01.

Now I have created a Subroutine as ZREPORT_SUBROUTINE.

But it gives some error of PARAMETER missing while execution.

Please suggest me solution for the same.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Jun 13, 2012 at 09:53 AM

    Hi Atul,

    I hope you are passing form values as below in the routine.

    FORM convert TABLES input

    output.

    endform.

    and in the sap scripst as below

    PERFORM CONVERT IN PROGRAM ZSUB_CONVERT

    USING &V1&

    CHANGING &V2&

    ENDPERFORM

    

    where ZSUB_CONVERT is a subroutine name.

    

    Thanks

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      THanKs for all the HELP from ur Side.

      Thanks a LOTT.....mate

      My issue is solved and i am getting my desired output.

      Only logic where i was making mistake was :

      First in script :

      CHANGING &FULL_IN_WORDS& i was using lower case FULL_IN_WORDS and now i have rectified it to upper case (CASE was as issue).

      Second in script :

      * Pass values from Report to Form

      MOVE FULL_IN_WORDS TO OUT_PAR-value.

      values were not passing between PROGRAM and SCRIPT.

      Anyways thanks a lot mate.

      Really appreciate for your help.

  • Posted on Jun 13, 2012 at 09:35 AM

    Hi Atul,

    While copying you haven't copied The Standard report correctly.

    Please follow below method to copy:

    • go to SE38
    • Press ctrl+F5 (copy)
    • Now Tick mark Documentatin ,Varients , User interface , Screens, Includes.
    • Then Copy and dselect Transport request
    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Sachin Adak

      Hi Sachin and Abhinesh,

      I created a executable program in se38 ( REPORT ZINV_SUBROUTINE ) and perform subroutine ( FORM GET_AM ) in this program

      SAPscript is not calling SUBROUTINE program..

      is my beolw logic correct in SAPscript...?????

      SAPscript:

      /: DEFINE &GV_AMT&

      /: PERFORM GET_AMT IN PROGRAM ZINV_SUBROUTINE USING &KOMK-FKWRT&

      /: CHANGING &GV_AMT&

      SU AMOUNT IN WORDS,,&GV_AMT&

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.