This value can thus be obtained in var1 and var2 specified in SAPScript. See the example below on how to access the variables.
The internal table FP_IT_OUTAB contains names and values of the CHANGING parameters in the PERFORM statement. These parameters are local text symbols, that is, character fields. FP_IT_OUTAB is again a structure of type ITCSY, which has 2 components, NAME and VALUE. So in the program, return1 and return2 (which are to be returned to SAPScript), will be stored as FP_IT_OUTAB-NAME and its value will be in FP_IT_OUTAB-VALUE.
In the example below, we are fetching the address and the input is the document number.
Subroutine Call in the SAP Script form
In the using parameter the document number is given and in the output parameter, all the address parameters which are required to be fetched are given.
PERFORM GET_ADRNR IN PROGRAM /FIR/RUO2C_B025_001
FORM get_adrnr TABLES fp_it_intab STRUCTURE itcsy
fp_it_outtab STRUCTURE itcsy.
BE HONEST. ONLY WORKS ONCE. USE FIRST REACTION. DON’T SECOND GUESS YOURSELF OR IT WON’T WORK! Rated one of the best multi-dimensional personality tests on the web, you can’t go wrong when taking this fun and easy “Bri Theory” Quiz. It delivers a full analysis, future predictions, and advice! Based on the upcoming book, “Ideas For The Idle Minded”, you know this quiz will give you accurate answers to identify what your personality traits equal up to in a psychological diagnosis of your personality. Take this test and BE HONEST and the results might just shock you… This scientifically researched; analyzed, and accurate personality test will specifically break down your personality traits by your responses to researched psychology questions in order to give you a fully personalized analysis fitting your personality. Take it and see what your quirks add up to…