How to use Function Module ARCHIV_CREATE_TABLE.

Hi Gurus,
I need to use FM-- ARCHIV_CREATE_TABLE in my Report.
Please help me to use this function module as I was not able to find the documentation for the same.
Regards,
Amit.

Amit,
     Please find the link below.
http://www.atsg.co.kr/pdf/SAPTech-2.pdf
http://help.sap.com/saphelp_nw04/helpdata/en/4f/9934c6446d11d189700000e8322d00/content.htm
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCSRVARL/BCSRVARL.pdf
Regards,
Murthy.

Similar Messages

  • How to Use Function Module READ_TEXT

    Hi
    Anyone give me code or link or example for how to use function module READ_TEXT
    and what are the parameters which we have to pass in module.
    Regards.
    Mohsin

    Hi,
    refer the given below code.
    CALL FUNCTION 'READ_TEXT'
      EXPORTING
       CLIENT                        = SY-MANDT
        id                            = 'KOPF'uF0E0 these details we will get thru transaction , where we enter these details.
        language                      = 'EN'uF0E0 these details we will get thru transaction , where we enter these details.
        name                          = TNAME  "table name
        object                        = 'AUFK'    " these details we will get thru transaction , where we enter these details.
    *   ARCHIVE_HANDLE                = 0
    *   LOCAL_CAT                     = ' '
    IMPORTING
       HEADER                        = HTEXT
      tables
        lines                          = LTEXT
    * EXCEPTIONS
    *   ID                            = 1
    *   LANGUAGE                      = 2
    *   NAME                          = 3
    *   NOT_FOUND                     = 4
    *   OBJECT                        = 5
    *   REFERENCE_CHECK               = 6
    *   WRONG_ACCESS_TO_ARCHIVE       = 7
    *   OTHERS                        = 8
    IF sy-subrc <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    Thanks
    Arun

  • How to use functional module " DETERMINE_DUE_DATE"

    Hi All,
    Can anyone suggest how to use functional module " DETERMINE_DUE_DATE" as it is used in an FI transaction code "FBL5N" and i have to use it in my zprogram to capture the net due date..please suggest..
    Regards,
    Shanu

    hi,
    CALL FUNCTION 'DETERMINE_DUE_DATE'
                 EXPORTING
                      I_FAEDE = LS_FAEDE
                 IMPORTING
                      E_FAEDE = LS_FAEDE
                 EXCEPTIONS
                      OTHERS  = 1

  • HOW TO USE FUNCTION MODULE IN ALV

    hi guyz
    I developed an alv report using join statements .But i got all that fields in a function module. so how can i use function module in alv .
    if i got a function module with all the fileds do i need to use select statement.
    plz help me.
    thanks
    sudheer

    Hi,
    Hope the following helps..
    1)
    LOOP AT IT_OUTPUT.
    Call the function module to get the tracking number and store the output in the
    variable V_TRACKINGNO.
      IT_OUTPUT-TRACKING_NO = V_TRACKINGNO.
      MODIFY IT_OUTPUT TRANSPORTING TRACKING_NO.
    ENDLOOP.
    2) Date conversion
    DATA: V_CHAR(10) VALUE '2006.11.17'.
    DATA: V_DATE       TYPE SYDATUM.
    CONCATENATE V_CHAR(4) V_CHAR5(2) V_CHAR8(2) INTO V_DATE.
    WRITE: V_DATE TO V_CHAR MM/DD/YYYY.
    WRITE: / 'MM/DD/YYY Format - ',  V_CHAR.
    Please make sure to reward points for helpful answers..
    Thanks,
    Naren

  • How to use function module to update data

    Hello ,
    Can any body have idea how we can use function module SAVE_TEXT to update the master recipe header and operation long text.
    I want to use this functional module to update the master recipe long text
    step by step procedure is highly appreciated
    thanks & regards
    siddhasrth

    Hi
    SAVE_TEXT
    SAVE_TEXT writes a text module back to the text file or the text memory, depending on the storage mode of the corresponding text object.
    You can use this module either to change existing texts or to create new texts. If you know for sure that the text is new, use the parameter INSERT to indicate this. The system then does not have to read the text first, which improves the performance of the function module.
    If the lines table passed with the function module is empty, the system deletes the text from the text file.
    Function call:
    CALL FUNCTION 'SAVE_TEXT'
    EXPORTING CLIENT = SY-MANDT
    HEADER = ?...
    INSERT = SPACE
    SAVEMODE_DIRECT = SPACE
    OWNER_SPECIFIED = SPACE
    IMPORTING FUNCTION =
    NEWHEADER =
    TABLES LINES = ?...
    EXCEPTIONS ID =
    LANGUAGE =
    NAME =
    check thi sample code
    CALL FUNCTION 'SAVE_TEXT'
    EXPORTING
    CLIENT = SY-MANDT
    HEADER = t_header
    SAVEMODE_DIRECT = 'X'
    * OWNER_SPECIFIED = ' '
    * LOCAL_CAT = ' '
    * IMPORTING
    * FUNCTION =
    * NEWHEADER =
    TABLES
    LINES = t_long
    EXCEPTIONS
    ID = 1
    LANGUAGE = 2
    NAME = 3
    OBJECT = 4
    OTHERS = 5
    Reward all helpfull answers
    Regards
    Pavan

  • How to use Function module generated to update CDHDR CDPOS

    Hi,
    I have a Z-table, and I want to tracks the value changes in some fields,
    the data elements for those specific fields are marked for "Change document".
    I created a Change document object using the transaction SCDO and I got the function module.
    now can any one tell me how to use these function modules like ( what values need to be passed to function module. what value do we need to pass for   OBJECTID,..value for tables ...etc )
    I have a custom program to update/delete entries in the custom table so should I use the function module in my custom program to result an entry in CDHDR & CDPOS.
    how to display the old value and new values  for the fields specified to changes.
    Regards,
    Nagu.

    check in SE37
    RV_ORDER_FLOW_INFORMATION
    SD_SALES_DOCUMENT_READ
    SD_SALES_DOCUMENT_READ_POS
    SD_DOCUMENT_PARTNER_READ
    SD_DETERMINE_CONTRACT_TYPE
    SD_SALES_DOCUMENT_COPY
    SD_SALES_DOCUMENT_SAVE
    SD_SALES_DOCUMENT_ENQUEUE
    SD_PARTNER_READ
    RV_DELIVERY_PRINT_VIEW
    SD_PACKING_PRINT_VIEW
    SD_DELIVERY_VIEW
    RV_BILLING_PRINT_VIEW
    RV_PRICE_PRINT_HEAD
    RV_PRICE_PRINT_ITEM
    Rewards if useful...........
    Minal

  • How to use function module 'MC_POPUP_TO_MARK_VALUES' ?

    Hai,
    I  used   CALL FUNCTION  'MC_POPUP_TO_MARK_VALUES'   to delete duplicates in the F4 help  but    in my program ,When we press F4 help , radio buttons are appearing in the F4 help window. How to avoid that ? Or is there any other function module which will give me the same result  without radio button ?
    Plz help me out to solve this , and get rewards ..........

    See MMCP3FG0
      INCLUDE MMCP3FG0                                                   *
    FORM GET_VALUES.
    Funktionscode ist nur aktiv, wenn auch Daten besorgt werden können
    sollte später so sein! => jetzt message wenn nicht möglich
    DATA: GV_HLP_VALUES LIKE MCVALUES OCCURS 0   WITH HEADER LINE,
          GV_MRK_VALUES LIKE MCMARKED_VALUES OCCURS 0   WITH HEADER LINE,
          GV_HLP_KEYS   LIKE IKEYF    OCCURS 0   WITH HEADER LINE,
          GV_ICONTEXT   LIKE RSEU1-ICON_TEXT,
          GV_ICONINFO   LIKE RSEU1-ICON_INFO,
          GV_OFFSET      TYPE I,
          GV_MITAB_INDEX TYPE I,
          GV_POPUP_TITLE(30),
          GV_AKTION,
          GV_FLG_APPEND.
    feststehende Ausprägungen der drüberliegenden Ebenen besorgen:
      GV_HLP_KEYS[] = KEYS[].
      PERFORM FILL_KEYFELDERVALUES IN PROGRAM (PNAME)
                       TABLES GV_HLP_KEYS
                       USING  H_PLOBO.
    zuerst darf der User mal versuchen Ausprägungen vorzuschlagen:
      CALL CUSTOMER-FUNCTION '018'
           EXPORTING
                I_GSTRU                 =  TMC4-GSTRU
                I_FIELDNAME             =  PFAD_ALLG_HIER-FIELDNAME
           TABLES
                T_CHARACTERISTIC_VALUES =  GV_HLP_KEYS
                T_VALUE_TAB             =  GV_HLP_VALUES
           EXCEPTIONS
                OTHERS                  = 0.
      READ TABLE GV_HLP_VALUES INDEX 1.
      IF SY-SUBRC <> 0.
      jetzt im Standard versuchen Ausprägungen vorzuschlagen:
        CALL FUNCTION 'MC_HIERARCHIE_ANREICHERN'
             EXPORTING
                  I_GSTRU                 = TMC4-GSTRU
                  I_FIELDNAME             = PFAD_ALLG_HIER-FIELDNAME
             TABLES
                  T_MCDDOWN               = SAV_MCDDOWN
                  T_CHARACTERISTIC_VALUES = GV_HLP_KEYS
                  T_VALUE_TAB             = GV_HLP_VALUES
             EXCEPTIONS
                  OTHERS                  = 0.
        READ TABLE GV_HLP_VALUES INDEX 1.
        IF SY-SUBRC <> 0.
          MESSAGE S363.
       Es kann keine Ausprägung vorgeschlagen werden.
          EXIT.
        ENDIF.
      ENDIF.
    doppelte rausschmeißen
      PERFORM KILL_DOUBLED_ENTRIES  IN PROGRAM (PNAME)
                TABLES GV_HLP_VALUES
                USING  PFAD_ALLG_HIER-FIELDNAME.
      READ TABLE GV_HLP_VALUES INDEX 1.
      IF SY-SUBRC <> 0.
        MESSAGE S363.
    Es kann keine Ausprägung vorgeschlagen werden.
        EXIT.
      ENDIF.
    aus den vorgeschlagenen welche aussuchen lassen:
      LOOP AT GV_HLP_VALUES.
        GV_MRK_VALUES-VALUE = GV_HLP_VALUES-VALUE.
        GV_MRK_VALUES-MARKED = TRUE.
        APPEND GV_MRK_VALUES.
      ENDLOOP.
    Popuptitel setzen:
      READ TABLE GV_HLP_KEYS WITH KEY FIELDNAME = PFAD_ALLG_HIER-FIELDNAME.
      GV_POPUP_TITLE = TEXT-301.
      GV_OFFSET = STRLEN( GV_POPUP_TITLE ).
      ADD 2 TO GV_OFFSET.
      WRITE GV_HLP_KEYS-FTEXT TO GV_POPUP_TITLE+GV_OFFSET.
    Icontext setzen: (Übernehmen)
      GV_ICONTEXT   = TEXT-300.
      GV_ICONINFO   = TEXT-300.
    Popup:
      CALL FUNCTION 'MC_POPUP_TO_MARK_VALUES'
           EXPORTING
              I_MAX_MARKED_VALUES  =
                I_MIN_MARKED_VALUES  = 0
                I_POPUP_TITLE        = GV_POPUP_TITLE
              i_textline           = ' '
              I_TEXT_LENGTH        = 40
                I_ICONTEXT_FOR_ENTER = GV_ICONTEXT
                I_ICONINFO_FOR_ENTER = GV_ICONINFO
           TABLES
                T_VALUES_FOR_MARKING = GV_MRK_VALUES
           EXCEPTIONS
                CANCEL_PUSHED        = 1
                OTHERS               = 2.
      IF SY-SUBRC = 1.
      Abbrechen wurde gedrückt oder es ist nix markiert:
       EXIT.
      ENDIF.
    die markierten Ausprägungen übernehmen und zwar jeweils
    Strategie: es wird so getan als ob die Ausprägungen per Hand
               eingetragen worden sind: (siehe MODULE zeile_uebern_5510.)
    die letzte Ausprägung suchen:
      GV_MITAB_INDEX = 1.
      LOOP AT MITAB_PLOBJ WHERE PLOBU <> SPACE.
        ADD 1 TO GV_MITAB_INDEX.
      ENDLOOP.
      LOOP AT GV_MRK_VALUES WHERE MARKED = TRUE.
      1. value im generierten Coding setzen
        PERFORM SET_FIELDVALUE_IN_SXYZ IN PROGRAM (PNAME)
                      USING PFAD_ALLG_HIER-FIELDNAME
                            GV_MRK_VALUES-VALUE.
        READ TABLE MITAB_PLOBJ INDEX GV_MITAB_INDEX.
        IF SY-SUBRC <> 0.
          GV_FLG_APPEND = TRUE.
        ENDIF.
        CLEAR GV_AKTION.
        PERFORM CHECK_FIELD IN PROGRAM (PNAME)
                            TABLES KEYS
                            USING GV_MITAB_INDEX
                                  PFAD_ALLG_HIER-FIELDNAME
                                  PFAD_ALLG_HIER-KEYID
                                  H_PLOBO
                                  KZ_AKTION
                                  H_PLOBU
                                  RMCP3-HPRGR
                                  RMCP3-HWERK.
        CASE KZ_AKTION.
          WHEN 'S'.
    M-Auspraegung hat sich nicht geaendert + ist <> space.
          darf nicht vorkommen
            CONTINUE.
          WHEN 'C'.
    M-Auspraegung hat sich nicht geaendert + ist space.
          darf nicht vorkommen
            CONTINUE.
          WHEN 'D'.
    Doppeleintrag
          darf nicht vorkommen
            CONTINUE.
          WHEN 'N'.
    Neueintrag
          darum geht's
            MITAB_PLOBJ-MANDT = SY-MANDT.
            MITAB_PLOBJ-PLOBO = H_PLOBO.
            MITAB_PLOBJ-PLOBU = H_PLOBU.
            MITAB_PLOBJ-FIXKZ = KZ_FIXIERUNG.
            MITAB_PLOBJ-GSTRU = TMC4-GSTRU.
            MITAB_PLOBJ-DATUM = BISDATUM.
            MITAB_PLOBJ-PRKOF = 1.
            MITAB_PLOBJ-ANTEI = 0.
          keine Einheitenverprobung, weil nur konsistente Planung
            MODIFY MITAB_PLOBJ INDEX GV_MITAB_INDEX.
    Anfuegen Leerzeilen sowohl in MITAB_PLOBJ als auch in gener.
            PERFORM CLEAR_MERKMAL IN PROGRAM (PNAME)
                             TABLES KEYS
                             USING PFAD_ALLG_HIER-FIELDNAME
                                   PFAD_ALLG_HIER-KEYID.
            PERFORM PLUS_MITGLIEDER IN PROGRAM (PNAME) USING 1.
            CLEAR MITAB_PLOBJ.
            APPEND MITAB_PLOBJ.
            KZ_AENDERUNG_STUFE = TRUE.
            ADD 1 TO GV_MITAB_INDEX.
        ENDCASE.
      ENDLOOP.
    ENDFORM.
    FORM GET_VALUES_CHECK
           CHANGING   GV_FLG_GETV.
    eventuell Prüfungen durchführen, ob values besorgt werden können
    CHECK T445A-FLGPL = 'K'.
    GV_FLG_GETV = TRUE.
    ENDFORM.
    übergeordnetes Material der Planungshierarchie besorgen
    FORM GET_MATERIAL_OF_TREE USING GM_MATNR LIKE MARC-MATNR.
      DATA: GM_HLP_KEYS   LIKE IKEYF    OCCURS 0   WITH HEADER LINE.
      CLEAR GM_MATNR.
    feststehende Ausprägungen der darüberliegenden Ebenen besorgen:
      GM_HLP_KEYS[] = KEYS[].
      PERFORM FILL_KEYFELDERVALUES IN PROGRAM (PNAME)
                       TABLES GM_HLP_KEYS
                       USING  H_PLOBO.
      READ TABLE GM_HLP_KEYS WITH KEY KEYID = 'M'.
      IF SY-SUBRC = 0.
        GM_MATNR = GM_HLP_KEYS-VALUE.
      ENDIF.
    ENDFORM.
    übergeordnetes Clint der Planungshierarchie besorgen
    FORM GET_CLINT_OF_TREE USING GC_CLINT LIKE KLAH-CLINT.
      DATA: GC_HLP_KEYS   LIKE IKEYF    OCCURS 0   WITH HEADER LINE.
      CLEAR GC_CLINT.
    feststehende Ausprägungen der darüberliegenden Ebenen besorgen:
      GC_HLP_KEYS[] = KEYS[].
      PERFORM FILL_KEYFELDERVALUES IN PROGRAM (PNAME)
                       TABLES GC_HLP_KEYS
                       USING  H_PLOBO.
      READ TABLE GC_HLP_KEYS WITH KEY KEYID = 'C'.
      IF SY-SUBRC = 0.
        GC_CLINT = GC_HLP_KEYS-VALUE.
      ENDIF.
    ENDFORM.

  • HOW TO USE FUNCTION MODULE

    Hi friends,
      i have one function module which converts the number of Seconds into TIME format( HH:MM:SS)..
    the function module name is :MONI_TIME_CONVERT
    for this   we need to give the seconds as input..  that function module will convert those and it will give the out put..
    how can we define as variables..  and   can u  give me the  code for using this FM..
    how many variables can we decalr.. and how..?
    regards
    Babu

    Hi,
    pass the No of seconds in LD_DURATION
    and you get out put in LT_OUTPUT_DURATION in hours.
    Copy paste the program below
    <b>data: lv_in type sytabix,
          lv_out type SWL_PM_CVH-DURATION.
    lv_in = '76'. "76 seconds output should be 1 hrs 16 minutes
    CALL FUNCTION 'MONI_TIME_CONVERT'
      EXPORTING
        ld_duration              =  lv_in
    IMPORTING
       LT_OUTPUT_DURATION       = lv_out
              write lv_out.</b>rewards if useful,
    regards,
    Nazeer

  • How to use function module IBPP_CHANGE_IBASE

    Hello Experts,
    I am looking for a function module which can change ( or append components) an existing IBASE.
    I already got a function module IBPP_CHANGE_IBASE, but I am not able to use this FM,
    If anyone used this before then pls help me.
    Thanks,
    Rock
    Edited by: Rock on Mar 16, 2009 10:57 AM

    Hi,
    This link may give some IDEA how to proceed ...
    Link:[Re: Creation of IBASE (TA IB51) with ABAP;

  • How to use function module together with tables in Crystal Report?

    Dear all expert,
    I have the following situation where I need to use a function module in my crystal report, But how can I link the FM with the tables so that I can pass out some value from the FM to the report?
    Thank You.

    Hi,
    Hope the following helps..
    1)
    LOOP AT IT_OUTPUT.
    Call the function module to get the tracking number and store the output in the
    variable V_TRACKINGNO.
      IT_OUTPUT-TRACKING_NO = V_TRACKINGNO.
      MODIFY IT_OUTPUT TRANSPORTING TRACKING_NO.
    ENDLOOP.
    2) Date conversion
    DATA: V_CHAR(10) VALUE '2006.11.17'.
    DATA: V_DATE       TYPE SYDATUM.
    CONCATENATE V_CHAR(4) V_CHAR5(2) V_CHAR8(2) INTO V_DATE.
    WRITE: V_DATE TO V_CHAR MM/DD/YYYY.
    WRITE: / 'MM/DD/YYY Format - ',  V_CHAR.
    Please make sure to reward points for helpful answers..
    Thanks,
    Naren

  • How to use function module SALRT_CREATE_API to trigger alert in XI?

    Hi experts,
             I have read that alert can be triggered in BPM or through a FM SALRT_CREATE_API. Now how to use this FM?
    In what XI scenario I can use this FM and how?
    Any example will be really appreciated.
    Thanks
    Gopal

    Hi Gopal,
    I am not sure if any function module like SALRT_CREATE_API is used to create ALERTS.
    If you want to <b>create alerts</b>, just check this blog,
    /people/michal.krawczyk2/blog/2005/09/09/xi-alerts--step-by-step
    Next , after you have done this to <b>test your configuration</b>,
    go to T code - SE38.
    In the program , type RSALERTTEST and then click on EXECUTE button ( F8 ). In the next window, it will ask you for your ALERTCATEGORY. Just give the name of your ALERT CATEGORY and click EXECUTE.
    If you have configured your alerts correctly, you will receive a message that tells ALERT IS GENERATED and will give the ALERT ID.
    Now, go to your Run TIme workbench and then select ALERT INBOX and see if you have got the ALERT message in your ALERT INBOX.
    Finally if you are on <b>SP14 or above</b> , check this note <b>913858</b>
    and if <b>below SP14</b>, just check this blog,
    /people/michal.krawczyk2/blog/2005/09/09/xi-alerts--troubleshooting-guide
    And. to use this alerts in your BPM,
    /people/michal.krawczyk2/blog/2005/03/13/alerts-with-variables-from-the-messages-payload-xi--updated
    Regards,
    Bhavesh
    Message was edited by: Bhavesh Kantilal

  • How to use Function Module of Appraisal

    Hi,
    I want to use the standard Function Module for Appraisal like HRHAP_DOCUMENT_GET_DETAIL.
    But how to use it. What is the procedure to use standard function module.

    Hi,
    Goto SE37 and put the function module name and then execute it.
    Put the following parameters:
    MODE
    UI_MODE
    PLAN_VERSION
    S_APPRAISAL_ID
    ADMINISTRATOR
    S_DISPLAY_UI
    NO_ACTION_LOG
    Execute it. This will give you an idea of what data you will get from this function module.
    In order to use it in your code you would have to pass the import parameters depending upon your requirement and you will get your results in export parameters.
    Regards,
    Kanupriya
    Edited by: Kanupriya Madan on Jun 24, 2009 9:06 AM

  • How to use function module SAPGUI_SET_FUNCTIONCODE?

    Hi all,
    I understand that the function module SAPGUI_SET_FUNCTIONCODE is being used to manully trigger the PAI/PBO at the POV. However, I was not able to get it to even trigger anything. Need suggestion as of how to use this function module. I try to call it at the end of the POV but to no avail. Any help is greatly appreciated and rewarded.

    Hi,
    Afer POV control will not go to PBO until y pressed ENTER . for overcome this you need to set a dummy OKCODE. in the following way.
    CALL FUNCTION “SAPGUI_SET_FUNCTIONCODE”
    EXPORTING
    FUNCTIONCODE = “=”
    EXCEPTION
    FUNCTION_NOT_SUPPORTED = 1
    OTHERS = 2
    Here is the sample code
    PROCESS BEFORE OUTPUT.
      MODULES l201_blanklines.
      LOOP RK intdrad WITH CONTROL tab_x CURSOR tab_x-current_line.
        MODULES l201_init.
      FINAL LOOP.
    PROCESS AFTER INPUT.
      MODULES l201_new.
      LOOP RK intdrad.                                        
        CHAIN.
          FIELD equi equnr.
          MODULES l201_bear.
        FINAL CHAIN.
      FINAL LOOP.
      MODULES l201_end.
    Importantly
    PROCESS ON VALUE REQUEST.
      field EQUI EQUNR of modules ZZ_DMS_MULTIPLE_EQUIS.
    Importantly
    --End to screen Logic
    Modules ZZ_DMS_MULTIPLE_EQUIS
    CALL FUNCTION “F4IF_FIELD_VALUE_REQUEST”
      EXPORTING
        TABNAME = “EQUI”
        FIELDNAME = “EQUNR”
        SEARCHHELP = “EQUI”
        SHLPPARAM = “EQUNR”
        DYNPPROG = system-repid
        DYNPNR = system-dynnr
        DYNPROFIELD = “EQUI EQUNR”
        MULTIPLE_CHOICE = “X”
    TABLES
       RETURN_TAB = lt_return_tab
    EXCEPTION
       FIELD_NOT_FOUND = 1
       NO_HELP_FOR_FIELD = 2
       INCONSISTENT_HELP = 3
       NO_VALUES_FOUND = 4
       OTHERS = 5
    CALL FUNCTION “SAPGUI_SET_FUNCTIONCODE”
    EXPORTING
       FUNCTIONCODE = “=”
    EXCEPTION
       FUNCTION_NOT_SUPPORTED = 1
       OTHERS = 2
    CALL FUNCTION “DYNP_VALUES_UPDATE”
      EXPORTING
        DYNAME = system-repid
        DYNUMB = system-dynnr
      TABLES
        DYNPFIELDS = lt_dynpfields
    EXCEPTION
       INVALID_ABAPWORKAREA = 1
       INVALID_DYNPROFIELD = 2
       INVALID_DYNPRONAME = 3
       MORE INVALID_DYNPRONUMMER = 4
       INVALID_REQUEST = 5
       NO_FIELDDESCRIPTION = 6
       UNDEFIND_ERROR = 7
       OTHERS = 8
    Regards
    Sudheer

  • How to use functional module in crystal report

    Hi all,
          I have imported my functional module to crystal report,
          but when i am previewing it  i am not getting data in that, according to my functional module.
          how to run my functional module through crystal report.
    thanks in advance

    Post Author: mewdied
    CA Forum: .NET
    'EXPORT to EMAIL        ''' Code for exporting the report to Mapi (.Net Windows application)        ''' *For a Web application you must export to disk as a PDF file first.
            crReportDocument.Load(Application.StartupPath + "\World Sales Report.rpt")        crMicrosoftMailDestinationOptions = New MicrosoftMailDestinationOptions        With crMicrosoftMailDestinationOptions            .MailCCList = "[email protected]"            .MailToList = "[email protected]"            .MailSubject = "Attached exported report"            .UserName = "admin"            .Password = "password"        End With
            crExportOptions = crReportDocument.ExportOptions        With crExportOptions            .DestinationOptions = crMicrosoftMailDestinationOptions            .ExportDestinationType = ExportDestinationType.MicrosoftMail            .ExportFormatType = ExportFormatType.PortableDocFormat        End With
            'Add some error handling        Try            crReportDocument.Export()            MsgBox("Report exported successfully.")        Catch err As Exception            MessageBox.Show(err.ToString())        End Try
    Hope this helps

  • How to use function module ADDRESS_INTO_PRINTFORM in a smart form

    Hi Experts,
    I have a requirement where in the address window in the smart form output should be  country specific. For example if the customer is an Indian . The address should NAME,CITY and POSTAL CODE. I searched on web to find a function module wich will display the address in country specific format I found ADDRESS_INTO_PRINTFORM I am not sure whether this is right function module or not. If this is correct please help me in using this.
    Thanks and Regards,
    Srini..

    That function module should be able to do the formatting you're after, as long as the necessary settings are present in the country configuration. It appears the default formatting routine for India would want the postal code before the city, so you may have to change that if your requirement calls it for being after the city. But keep in mind that such config changes will have an effect on other programs that format addresses.
    The function module also has pretty extensive documentation.
    In a Smartform, you have an ADDRESS element that does the formatting for you, so theoretically you shouldn't have to use the function module though...

Maybe you are looking for