Regarding function module


hi all, could u pls help me on my thread.
in my program
data:p_molga type molga.
select-options:s_molga for p_molga.
in function module source code
  from ztp_idoc_xref
  into table idoc_table
  where molga eq r_molga.
and in exporting iam exporting the data.
in the tables  R_MOLGA     TYPE     ZTP_MOLGA_RANGE it is table type.
line type :inv_ranges     .
in program
what is the parameter should i give for  tables parameter.
and how can i restrict the molga values.
thank u in advance.


CHANGING idoc_table.  You will have to pass your idoc_table structure to the FM.  You should not restrict on molga, but you can only do this by hard coding it:
if r_molga eq '07'.
  run FM.
  do nothing

November 30, -0001

Query regarding function module SPOOL_RQ_READ_BAPI_EXPORTS (EBP-SRM Module)

query regarding function module SPOOL_RQ_READ_BAPI_EXPORTS (EBP-SRM Module) shopping cart Hi in FM SPOOL_RQ_READ_BAPI_EXPORTS i want to relate the internal tables requisition_items and requisition_services. but in am not getting the key on which they

Regarding function module in update task

Hi, I have a function module(Zxxx) which is update type. i have called the fun.module in my program (Zyyy) using the syntax CALL FUNCTION ZXXX IN UPDATE TASK. As I suppose to debug the function module, I activated the update debugging in the debuggin

Regarding Function module exits

Hi, function module exit :EXIT_SAPLAFAR_002 include in function module exit :ZXAFAU02 include exit is implemented :LAFARF70 Main Program :SAPLAFAR Please help me how to execute this funcion moduel exit, and how to work on it, I could not find out any


HI CAN ANY BODY MAKE ME KNOWN HOW TO MAKE USE THE FUNCTION MODULE SD_SALES_DOCUMENT_PERFORM THANKS PRASADHi, check this link: It has options for date and time while sending a mail. Bes

Regarding function module

hi all, could u pls help me on my thread. in my program data:p_molga type molga. select-options:s_molga for p_molga. in function module source code select         pernr         jobseq         docnum         molga         bukrs         jobname        

Regarding Error in Function Module in Update Task

Hi All, If a function module is called in Update Task and there is some error generated from it, it comes as an exit message unlike in a normal function module. Is there any possible way to avoid such an exit message? Thanks in advance. Regards, Gari

Regarding hr function modules

if to read the data from a RT table which of the following function module will be best . <b>pyxx_read_payroll_result</b> or <b>RP_FILL_WAGE_TYPE_TABLE</b> what i am doing is i am filling the rgdir table using the function module &

Questions regarding update function module

Hello experts, I am on customer site to help them investigate one issue: they have a background job which runs periodically. In the report database table A is changed firstly ( new entries are inserted ), then a update function module is called via k

Regarding the Remote Function Module

hi,         Can any body can provide the brief information regarding the Remote Function Module. 1)How to create the remote function module 2)how it differ from the normal function module 3)any special features about this. Thanks in advanceHi RFC (Re

Regarding the RFC Function Module call from PI

Hi All, I am working on one File to RFC interface, in which File adapter picks the file, this file data has to goto  2 function modules in SAP system. For this i added 2 Inbound interfaces in INTERFACE DETERMINATION and I developed 2 RECEIVER AGREEME

Regarding BAPI Function Module in BDC

Hi all, Iam using the following function module CALL FUNCTION 'BAPI_GL_ACC_EXISTENCECHECK' EXPORTING <b>companycode = 'IN14'</b> glacct = lv_saknr IMPORTING return = lv_return. In this function module we are having Company Code as IN14, i need

Regarding Obsolete function module

hi guys, Can the Addon function module be obsolete? I found the function module attributes having 'unreleased' attribute without any date. if obsolete, any action is necessary. Please confirm Thanks PriyanObsolete does not equal "unreleased"...

Regarding the function module 'REUSE_ALV_GRID_DISPLAY'

wat do these things do in 'REUSE_ALV_GRID_DISPLAY' function module and how to use them??        IS_VARIANT                        =       IT_EVENTS                         =       IT_EVENT_EXIT                     =       IS_PRINT                    

Regarding the function module.

hi, iam using a function module in my program GET_PRINT_PARAMETERS the program is going to dump. iam not understood why it is going to dump. please provide me the solution for this issue thanks in advanceHI,   Please check the type of parameters that

Regarding the function module 'DYNP_VALUES_READ'

Hi,      There are two input fields on my popup screen. 1. Plant 2. OrderNo. I have created F4 help for the order no. But i want to capture the plant value so that i can get order no based on the plant. For that, i have written the below code. The in

Regarding the function module Number_Get_Next

Hi All,       We have created one custom transaction. We need to generate one number when we save. The number will be generated using the function module NUMBER_GET_NEXT. How can i capture the number which will be generated. When we create Sales Orde

Regarding RFC Function module in Multimapping

Hi All I am trying to use RFC function module in Multimapping at target side.I want to call RFC Function based on some condition, if condition fails i dont want to call the Function Module. So i need to change the occurance of target RFC Message to 0

Information regarding ALSM_EXCEL_TO_INTERNAL_TABLE function module

Hi, I am using "ALSM_EXCEL_TO_INTERNAL_TABLE" function module for reading 'XLS' file from client machine into internal table. Now question is "IS there is need of Micosoft office installed on client machine for reading excel file to interna

Function module ISR_GET_DATA_FROM_XML  throwing dump.

Hi All, Function module ISR_GET_DATA_FROM_XML  throwing dump. The dump says, The exception, which is assigned to class 'CX_SY_REF_IS_INITIAL', was not caught in procedure "ISR_GET_DATA_FROM_XML" "(FUNCTION)", nor was it propagated by a

DAYS TIME Function Module

Hi Frnds,      I am having Start Date, Start time , End Date, End Time, the out put should be in Format-    Days-HH:MM , I there any Function Module for this Thanks, Y.Ravi kumarHai Ravi Use the Function Module ISHMED_CALC_DATE_TIME_DIFF Import param