Reg function modules in scripts

Hi,
  <b>wat happens if we dont use open_form , start_form , close_form...
which is mandatory function module and which optional functional module ???
wat happends if we dont use close_form?</b>pls tel me its really urgent
pls
Thanx in Advance..

Hi,
wat happens if we dont use open_form , start_form , close_form...
For open the form open form should be there other wise we can't run the script.
which is mandatory function module and which optional functional module ???
Start-form is optional and opne_form and lose_form is manditory FMs. same as write_form also.
wat happends if we dont use close_form?
If you don't use close_form then while running the script you will get error.
Hope this helps you, reply for queries, Shall post you the updates.
Regards. 
Kumar. .

Similar Messages

  • How can we use SX_OBJECT_CONVERT_OTF_INTO_PDF function module IN SCRIPT

    Hi Gurus,
    can any one inform me,how to use  SX_OBJECT_CONVERT_OTF_INTO_PDF  function module in script..
    how can we convert  the script output into pdf file format....
    i need your help......plz
    my mail id : [email protected] 
    Thanks,
    Rajkumar.A
    Edited by: rajkumar annadurai on Feb 19, 2008 10:25 AM

    Hi, Dear
    In XI 3.0 we are tyring to setup SAPconnect;
    1 Step; Create RFC connection for Mlunxsnd file, anyway!!! we download thease file and create RFC connection; fine working no error
    2 Step: Create Nodes T-code SCOT => connection INT => and support address type like Internet its just show only "PDF, HTM, TXT" thats it its not show some others format
    3. Step; When check email T-code SOST Getting an error messages: "Connot process message in node, parameters cannot be converted"
    4. In R3 RPD and Others system when I check format its ok its show some others format which is support to be such as "ALI, OBJ, OTF, SCR, URL" ...
    How may install these format in XI 3.0
    Please Advice I will be really appriciated
    Thanks a lot
    Travis

  • Call ABAP function module from script?

    Hi,
    I have an ABAP function module, which works fine when I call it in a transformation.
    Since I don't need to execute this function for each record but rather for each file I process, I would like to move the call from the DataFlow to a script in the WorkFlow. When I click on the 'functions' button the ABAP FM is available in my SAP Datastore, so I drag and drop it into my script. I also make sure to populate all required variables.
    There are no error messages or warning when I check my job definition.
    When I execute it, I get the following RFC error:
    Function call <xxx  ( abcd ) > failed, due to error <150413>: <RFC CallReceive exception <FUNCTION_NOT_FOUND>.>.
    Is it just not possible to call an RFC enabled function module in SAP from a script or am I doing something wrong here?
    Thanks,
    Jan.

    Could you please let me know how I can call an abap function module from a transformation? (from abap xslt program). I know how we can call methods of a class from the transformations, but no idea how we can call function modules. Any suggestions or a sample code snippet towards this will be very useful for me.
    Thanks,
    Shashi.

  • Reg:Function module SAPWL_GET_SUMMARY_STATISTIC not working in CRM ABAP 6.0

    Hi All,
      When i execute the function module SAPWL_GET_SUMMARY_STATISTIC in CRM ABAP 6.0 passing the values below,
    PERIODTYPE                    
    HOSTID                         
    STARTDATE  
    it's not showing any values in the summary.
    it's showing the exporting parameters as,
    RFC_ERROR_TYPE                  L
    SUMMARY_AVAILABLE               N
    HITLISTS_N_PROFILES_AVAILABLE   A
    if this function module will not work means kindly provide me the solution for calculating
    Average Response Time as in tcode st03 - Instance - total - Workload Overview.
    Average CPU Time and some more fileds.
    Regards,
    Suresh

    Hi
    I used the FM mentioned and found the details as below:
    VKORG
    TABNAME                        TVKO
    FIELDNAME                      VKORG
    LANGU                          EN
    POSITION                       0001
    OFFSET                         000006
    DOMNAME                     VKORG
    ROLLNAME                    VKORG
    CHECKTABLE
    VTEXT
    TABNAME                        TVKOT
    FIELDNAME                      VTEXT
    LANGU                          EN
    POSITION                       0002
    OFFSET                         000014
    DOMNAME                        TEXT20
    ROLLNAME                       VTXTK
    CHECKTABLE
    LENG                           000020
    Shiva

  • Function modules in scripts and sf

    hi experts
    in sap standard print prog, they use FUNCTION MODULES to
    get data from database. how to search for these function modules
    in se37.
    thanks in advance
    chandra

    There is no standard defined way to know them.
    You can either just go and search with some key fields in SE37.
    OR, you can check any known standard program for the functionality you are looking for.
    OR, you can use a BAPI if existing, for that just explore Tcode BAPI.
    Regards,
    Amit

  • Reg: Function Module thats used to check the status of JOBS and mail it

    Hi Experts,
    Is there any Standard Function module thats going to find the status of the jobs and mail this status to specied email ID in .xls format. While checking status function module should give whether job is - Aborted, Successful, Running, Waiting, Locked, Error, Warning, Starting Date, Ending Date of the Job.
    Please help me,

    Hello Nagaraj,
    You can find out the status of a job with the SHOW_JOBSTATE function module. You provide this function module with a job name and job number. It returns one of the six possible statuses of the job:
    ABORTED TYPE C,
    FINISHED TYPE C,
    PRELIMINARY TYPE C,
    READY TYPE C,
    RUNNING TYPE C,
    SCHEDULED TYPE C.
    Following is the link for the same:
    http://help.sap.com/saphelp_sm32/helpdata/en/fa/096e10543b11d1898e0000e8322d00/content.htm
    Warm Regards,
    Riki Dash

  • Reg function module POSTING_INTERFACE_CLEARING

    Dear experts,
    I have a requirement in tcode FB05(Posting with clearing: Initial screen).  In that i need to select the radio button 'Transfer Posting with Clearing'.  I dont know exactly what happens here. I have to use function module POSTING_INTERFACE_CLEARING to post and clear the document. Can anybody tell me what this function module will do and by guiding me in this regard. Kindly help me in giving sample code as to how to handle this.
    thks in advance,
    ram

    Hello Ram
    Have a look at thread [POSTING_INTERFACE_CLEARING|POSTING_INTERFACE_CLEARING; and the links provided there.
    You may also want to have a look at transaction FCC1 (Payment Cards: Settlement). The report RFCCSSTT is used to settle open items payed with credit cards:
        ... FB05
          PERFORM posting_interface_start.
          PERFORM fb05_posting.
          PERFORM posting_interface_end.
        ... and Settlement
    Regards
      Uwe

  • Reg: Function Module

    Hi All,
         I am creating a function module to update data into a customized table. In that funciton module, i want to handle exception. But i dont know how to proceed with that.
       Can you please any one help me out in this regard.
    POINTS PROMISED.
    Regards,
    Buvana

    Hi,
    After calling function module write.
    if sy-subrc <> 0
    RAISE EXCEPTION.
    endif.
    Reward if helpful.
    Regards,
    Umasankar.

  • Reg Function Module to Date Calculation

    Hi,
    Could anybody assist me, My requirement is to determine delay of delivery date is equal to (goods receipt posting date u2013 planned delivery date).Is there any function module to find out the dated diffrence. The difference should be '+' or '-' OR 'ZERO'
    Thanks in advance.
    Regards.
    I.Reddy Prasad.

    Hi,
    Use this Function Module  'FIMA_DAYS_BETWEEN_TWO_DATES'. 
    Reward If Helpfull,
    Naresh.

  • Reg function module to get  periods.

    Hi,
        can any one help me in giving the function module to get the number of months  available in between the start date and end date
    Regards.
    venkat

    Hi,
    Use the below function modules.
    HR_ECM_GET_NUMBER_OF_MONTHS
    HR_GBSXP_GET_MONTHS
    For the function module HR_GBSXP_GET_MONTHS Pass 'M'
    for MODIFY_INTERVAL.

  • Reg:function module to retrive the ekko table data

    Hi all,
    Is there any function module to retrive the ekko table data for the given select-options and parametrs.
    could you provide that.
    Thanks & regards,
    S.chaitanya.

    dear chaitanya,
    may be you can use this function module ME_READ_EKKO_MULTIPLE which can be used to pass the select options to retrieve the desired EKKO data.
    OR the best way would be to do a SELECT Query which would retrieve the data faster and in an effective manner.
    Hope this helps you.
    Help Children of U.N World Food Program by rewarding and enocourage others to answer your queries
    Thanks
    Venugopal

  • Reg Function Module / BAPI

    Xperts,
    I have to create a wrapper RFC fn module ...
    The input parameter is matnr,sales area , sold to,ship to..
    and the return parameters are
    MSRP (rate based on price list)
    material Availability
    Status from MARA-MSTAV
    Valid To / From MARA-MSTDE
    (i got rest of the fields i got already from BAPI_MATERIAL_GETALL)
    Thanks & Regards,
    Anoop Chandran

    Use data Element : GLX_XFELD ( General Checkbox ) for checkbox..
    For check box... if box is checked then value is 'X' else
    space.
    but in function module it doesn;t matter whether u use data element for checkbox...  u can use char type variable of length 1.
    and inside code u can check..
    v_char1 = 'X'. : it means checkbox is checked.
    v_char1 = space " it means checkbox not checked.
    Reward if useful
    regards
    Prax

  • Query reg. function module ERP_IDOC_INPUT_CREDITOR

    Hi Experts,
    Please tell how to pass the parameter of function module ERP_IDOC_INPUT_CREDITOR.
    parameter like input_method,mass processing,pi_xk99_used .
    Thanks,
    sameer

    you can specify any number fields in file and any number fields in internal table,
    see the program and when you specify the count variable in your internal table ,if the data is not available,then it will take some defualt values,other than this one it will be okay.
    In my system count variable data is  538976288  if the file does not have value.
    report x.
    DATA: BEGIN OF ITAB_MATNR OCCURS 0,
    MATNR LIKE MARA-MATNR,
    COUNT TYPE i,
    END OF ITAB_MATNR.
    data : v_repid like sy-repid.
    parameters p_file like rlgrap-filename.
    initialization.
    v_repid = sy-repid.
    at selection-screen on value-request for p_file.
    CALL FUNCTION 'F4_FILENAME'
    EXPORTING
       PROGRAM_NAME        = v_repid
      DYNPRO_NUMBER       = SYST-DYNNR
      FIELD_NAME          = ' '
    IMPORTING
       FILE_NAME           = p_file
    start-of-selection.
    refresh itab_matnr.
    clear itab_matnr.
    CALL FUNCTION 'WS_UPLOAD'
    EXPORTING
    FILENAME = P_FILE
    filetype = 'ASC'
    TABLES
    DATA_TAB = ITAB_MATNR
    EXCEPTIONS
    CONVERSION_ERROR = 1
    FILE_OPEN_ERROR = 2
    FILE_READ_ERROR = 3
    INVALID_TABLE_WIDTH = 4
    INVALID_TYPE = 5
    NO_BATCH = 6
    UNKNOWN_ERROR = 7
    GUI_REFUSE_FILETRANSFER = 8
    OTHERS = 9.
    IF SY-SUBRC <> 0.
    MESSAGE E699(PP) WITH 'Unable to load input file' P_FILE.
    ENDIF.
    in my file
    data is like ( No count)
    matnr
    12344
    ssss
    sddd
    sddff
    after ws_upload :
    material          count
    12344             | 538976288                                             |
    ssss               | 538976288                                             |
    sddd               | 538976288                                             |
    sddff               | 538976288

  • Reg: function module to fetch the overall taxs for  a sales order

    Hi Experts,
    I need a fuction module which fetches all the taxes for a sales order with the tax values.
    (i.e) i need a function module with displays the overall tax values and not line itemwise..
    Regards,
    Vikram.S

    Hi,
    Check if it works
    POS_SALES_DOCUMENT_HEAD_TAXES

  • Reg function modules

    Hello
         i have created a function module having three import parameters and i put two of them as optional but when i execute that functional module its asking me to enter values in all the three fields.And also when i use this function module in my report program I am unable to use select options instead if i use parameters  its working fine .

    hi chaitanya,
    this is declared in table parameter.
    S_KONNR     LIKE     <b>ZST_EBELN</b>     Agreement number
    RETURN     LIKE     BAPIRET1     Return Parameter
    OUTPUT     LIKE     ZSMP_SERVICE_UPD     Updating the SMP
    zst_ebeln is the structure u have to crete in se11. then u can give nuber or inputs to s_konnr.
    hi u can then ask ur friends . bcoz its not possible send codings .
    regards'
    karthik

Maybe you are looking for

  • Spry Accordions and Contribute

    I'm curious of something.. been trying to search for anyone who has a similar problem and can't seem to find an answer.. I've recently built a site using the DW CS3 Spry Accordion, and the client is updating the file with Contribute CS3. They can get

  • What's best work plan to get InD flyer small for email?

    I have a two page (one page double sided) brochure that has images and a solid pale color background.  When I save it as pdf it's 7.4 MB.  When I save as optimized pdf it's 5.4 MB.  I feel like I oughta know other options but -- What's the best plan?

  • IS Retail:Report/Document generation for inbound IDOC for Cashier Statistic

    Hi Friends, I have generated an inbound IDOC for Cashier Statistics with transaction WPUK in IS retail. The IDOC is generated successfully which I can view in POS interface monitor with transaction WPER. But i dont see any corresponding report or doc

  • Can't Open PDF 2nd time

    I can't open a pdf the 2nd time I open the file.  Works fine on other PC's with XP & 7, Adobe versions 9 through 11.  But on this PC (XP) I can not open the file on any Adobe Reader version either from the desktop or the original CD it cam on.  It wi

  • LAP to AP convert

    I dont have any WLC right now in my office but I have ordered 2 nos. Yesterday I've got 5 cisco AIR-LAP1252AG-A-K9 Access point. I would like to convert them to AP. How to do this. Please help.