How to create a routine call in FM (FI Module)

How to create a routine call in FM (FI Module)

Anu,
I've attached a really short example that does something like what you're talking about.  It just compares the user's username and password a pre-determined username and password and then "logs the user in" based on that comparison.  Like Greycat said, you probably want to store this username and password info in some sort of file on the PDA that's in an encrypted format for both security and flexibility of your application.
I hope this helps,
Justin D.
Applications Engineer
National Instruments
Attachments:
LoginVI.vi ‏17 KB

Similar Messages

  • How to create a service call for more then one item

    Hi All,
            How to create a service call for more then one item. i.e. the service call should be logged for more then one item

    As you noticed this is not possible by design.
    Maybe you could have a dummy item for that purpose and register the real items to be handled in a UDT...
    HTH

  • How to create transaction routine formula(ie, TOUPPER)

    how to create transaction routine formula(ie, TOUPPER)

    Hi Murali,
    Welcome to SDN!!
    Goto the transfer rules and select whichever info-object you want in upper case. You would options line constant, formula and routine. Select formula and enter as TOUPPER(). The incoming data for the info-object would be converted to upper case.
    Bye
    Dinesh
    (Assign points if useful)

  • How to Create Customer by BAPI or by Function Module

    Hi all,
    I am new to this forum...
    Please can anyone tell me how to Create Customer by BAPI or by Function Module.....?
    I have tried many of the function modules posted in the threads.. but it couldn't help me out...

    > The only official solution is batchinput and idoc (CREMAS).
    Note that when an IDoc exists, it is often possible to call the function module that is just behind it (see WE57 transaction). SAP would not support that direct call, but if you need to contact SAP support about an issue, you can create the IDoc manually and there's no reason that this issue doesn't arise.
    The only difference with the IDocs is that you don't have any IDoc stored in the database, and even no log in database (so you won't be able to see anything in WE02, etc.).
    Note that it is important to know if this function module does a database commit or not: you can look at the BDFG transaction (I assume there's no BAPI related as it is the initial assumption of my post) to see if IDoc packet processing is allowed or not: if packet processing is allowed, there's no database commit in the function module, otherwise there's one.

  • How to create a login interface in labview PDA module?

    How to create a login interface in labview PDA module? So that it checks with a list of usernames and passwords and allow to go to another VI?
    Anu

    Anu,
    I've attached a really short example that does something like what you're talking about.  It just compares the user's username and password a pre-determined username and password and then "logs the user in" based on that comparison.  Like Greycat said, you probably want to store this username and password info in some sort of file on the PDA that's in an encrypted format for both security and flexibility of your application.
    I hope this helps,
    Justin D.
    Applications Engineer
    National Instruments
    Attachments:
    LoginVI.vi ‏17 KB

  • How To Create a URL Call in WebDynpro

    Hy All,
    i want to call a URL (WWW) directly from a WebDynpro-Application. But i found no stuff how to do this.
    URL myUrl = new URL("http://www.google.de");
    wdThis.wdInterfaceViewController().wdFirePlugStartAppExit(myUrl);
    I know how to read parameters of the URL, but i have Problems to create a URL-Call.
    Who can help ?
    Do I need a urlConnection ?
    Thanks for help.
    By Jürgen

    Hello Abdul, hello Sam,
    thanks for help !
    I have tested both and it is ok !.
    If i want to use the "external Link" in my Window, i have know thte Problem.
    I use the LinkToURL-Control with the Propertie "_SELF" and allways a new Browser Window come up! Where is my fault ?
    I have tested it with the following properties "_SELF, _PARENT, _TOP".
    Regards
    Jürgen

  • How to create inbound JIT Call Manually?

    Hi All,
    Currently I am doing SAP JIT configuration. I have created the JIT Customer.
    Now I need to get a JIT call to determine the schedule lines in the scheduling agreements. In real scenario, JIT call comes through Idoc from the customer side.
    But I need to create JIT Call manually to do the configuration. So , How to create it? Is it Possible?
    Thanks,
    Anbazhagan E

    Use transaction JIT1
    Put in the Sold to customer number and the Ship to Partner description, just like in the first section of JITV, and put a unique value for this JIT Customer is the "Ext. JIT Call No." field.
    When you hit enter you will get the Call Components grid or both the Component Groups and the Call Components Grids (depending on what Maintenance Mode you selected on JITV).
    Let's assume your Mtce Mode = 3 - Discrete Material / Summ JC. Therefore you only get the Call Components grid on transaction JIT1.
    You need to fill in certain fields at a minimum, more depending on the JIT Call Configuration.
    Bare minimum, you need:
    1) Customer material or Material (if you fill in one, when the program finds the matching LZJ SA, it wil default the other)
    2) External Status (ex. ECRE or CR or whatever External status you have defined and linked to the CREA action in configuration)
    3) Planned Ship date or Planned Requirement date
    4) Quantity
    If when entering the Customer material or Material, the Sales Document and Sales Item is not populated, that means you do not have a matching LZJ type SD scheduling agreement in the system. Or the data you are entering on JIT1 does not exactly match.
    The SA must be there before you can do JIT1.
    The JITV entry must be there before you can set up the SA.
    Hope this helps at a basic level.
    You may need to enter additional data at the header of the Inbound JIT Call, or at the Call Components level, depending on a particular scenario or to correctly find the SA.
    If you have EDI that has come in and you want to create a similar JIT Call. Use the [Propose JIT Call button]
    On the 1st screen, enter the Sold to, Partner Desc and new JIT Call number.
    When you get to the 2nd screen, click the Propose JIT Call button, and enter the JIT Call you want to copy from. You just need to enter the External Status and new Planned Date. The materials and quantities and other fields get copied from the source JIT Call.

  • How to create own routine in VOFM or else where?

    hi
    please tell how I can create own routine in VOFM or else where?
    I want to create
    Condition formula for alternative calculation type
    for my pricing procedure
    (example -calulation type column in pricing procedure-routine no 12)
    thank you

    hi sudhir
    in VOFM only.
    go inside & select pricing in requriment.
    create a new routine number from 900 & above.
    for this you need an access Key & generate it from SERVICE.SAP.com
    but you need SID for that.
    and proceed with the logic with the help of an ABAPER & then every thing is compleleted then activate the routine created.
    hope this clears your issue.
    balajia

  • How to create relationship to call PO13 in ABAP program.

    Hi,
    Could anybody help me how to create relationship (like PO13) in abap program. Do we have any Function modules or any other way?
    Regards,
    Ram.

    Hi,
    You can use function module RH_INSERT_INFTY. There are plenty of threads of the forum on how to use it.
    Donnie

  • How can I use system call in kernel loadable module?

    Hi,
    I want to use system call (shmat, mmap,...) in kernel module.
    When kernel module is loaded, it cause system error (undefined symbol name 'shmat', 'mmap').
    How can I use system call in kernel module ?
    Thanks in advance.
    david joo

    You cannot use system calls in the kernel modules.
    Read 'Writing Device Drivers' answerbook - it lists the set of interfaces (known as DDI/DDK) that are supposed to be used instead.
    Hope this helps...
    --I.

  • How to create MAC JNI call to launch the native email client

    How to write JNI code to call native default email client on MAC OSX and add attachment in that email client. Thanks plz help in this regard.

    Which suggests that you want to open the actual email client, rather than using java itself to send the email.
    However it doesn't answer why.
    At any rate that requires the following.
    1. A platform specific way to run the email client. If you can't figure out how to do this from the command line (nothing to do with java) then you can't do it in java.
    2. A way to manipulate an application that is running. The Robot package is intended for that. It might or might not do it. If not then you would need to find or create something else to do this.
    3. Custom scripts for each possible email client which is fed into part 2 to make it do something.
    Obviously a lot of work especially the last as that part might vary not only by vendor by also by version and user configuration.

  • How to create custom routine in standard transaction

    Hi all,
           Can anybody suggest me how to write a custom routine in a standard transaction?
    My Requirement : In standard transaction ' VTFL ',  For each target and source there will be a standard routine assigned, for COPYING REQUIREMENTS. Each routine serves a particular functionality.  I need to develop a new functionality. For that, I need to develop my own routine. 
    Please give me an idea of how to develop a custom routine and include that routine in this standard transaction ( VTFL ).
    Any Suggestions are appreciated.
    Thanking you in advance,
    Regards,
    Murali Krishna T

    Piyush,
    The best way is to create a region in Jdeveloper and import it to server.
    Finally create a flexible region using personalization and specify the path the Custom region.
    This will help you to have a better control as well as alignment issue to be resolved.
    Regard,
    Gyan

  • How to create command button called 'Remarks' and Check box in ALV GRID?

    Hi, Experts,
    Requirement is: in the ALVE GRID report output, user select a record by clicking the check box and pressing the button 'Remarks' it will take me into other transaction from the output list.
    Please help me out.
    Reward points.
    Sekhar

    Hi Chandra Shekar,
    Check the following sample program. 2 things to remember.
    1. Check the callback subroutine PF_STATUS_SET and create PF status for the program.and also ur REMARKS button in the application tool. Comments are made every where wherever those are needed. After creating Pf status execute the report.
    2.Once you select records by selecting checkboxes, u have to press on Refresh button( that is there on application toolbar), then only for selected records, CHECK field in the internal is updated. After that press on REMARKS button .
      REPORT zvenkat_alv_grid.
      TABLES:t001.
      "Types
      TYPES:
            BEGIN OF t_1001,
              check TYPE c,
              bukrs TYPE t001-bukrs,
              butxt TYPE t001-butxt,
              ort01 TYPE t001-ort01,
              land1 TYPE t001-land1,
            END OF t_1001.
      "Work area
      DATA:
            w_t001 TYPE t_1001.
      "Internal table
      DATA:
            i_t001 TYPE STANDARD TABLE OF t_1001.
      " ALV Declarations
    * Types Pools
      TYPE-POOLS:
         slis.
    * Types
      TYPES:
         t_fieldcat         TYPE slis_fieldcat_alv,
         t_events           TYPE slis_alv_event,
         t_layout           TYPE slis_layout_alv.
    * Workareas
      DATA:
         w_fieldcat         TYPE t_fieldcat,
         w_events           TYPE t_events,
         w_layout           TYPE t_layout.
    * Internal Tables
      DATA:
         i_fieldcat         TYPE STANDARD TABLE OF t_fieldcat,
         i_events           TYPE STANDARD TABLE OF t_events.
    *&    start of selection
      START-OF-SELECTION.
        PERFORM get_data.
    *&    end-of-selection.
      END-OF-SELECTION.
        PERFORM build_fieldcatlog.
        PERFORM build_events.
        PERFORM build_layout.
        PERFORM list_display.
    *&      Form  get_data
      FORM get_data .
        SELECT bukrs
               butxt
               ort01
               land1
          FROM t001
          INTO CORRESPONDING FIELDS OF TABLE i_t001
          UP TO 30 ROWS.
      ENDFORM.                    " get_data
    *&      Form  build_fieldcatlog
      FORM build_fieldcatlog .
        CLEAR:w_fieldcat,i_fieldcat[].
        PERFORM build_fcatalog USING:
                 'CHECK' 'I_T001' ' ',
                 'BUKRS' 'I_T001' 'BUKRS',
                 'BUTXT' 'I_T001' 'BUTXT',
                 'ORT01' 'I_T001' 'ORT01',
                 'LAND1' 'I_T001' 'LAND1'.
      ENDFORM.                    "BUILD_FIELDCATLOG
    *&      Form  BUILD_FCATALOG
      FORM build_fcatalog USING l_field l_tab l_text.
        w_fieldcat-fieldname      = l_field.
        w_fieldcat-tabname        = l_tab.
        w_fieldcat-seltext_m      = l_text.
        IF  l_field = 'CHECK'..
          w_fieldcat-checkbox = 'X'.
          w_fieldcat-edit     = 'X'.
        ENDIF.
        APPEND w_fieldcat TO i_fieldcat.
        CLEAR w_fieldcat.
      ENDFORM.                    " build_fieldcatlog
    *&      Form  build_events
    *       text
      FORM build_events.
        CLEAR :
              w_events, i_events[].
        w_events-name = 'TOP_OF_PAGE'."Event Name
        w_events-form = 'TOP_OF_PAGE'."Callback event subroutine
        APPEND w_events TO i_events.
        CLEAR  w_events.
        w_events-name = 'USER_COMMAND' .
        w_events-form = 'USER_COMMAND' .
        APPEND w_events TO i_events.
        CLEAR w_events.
        w_events-name = 'PF_STATUS_SET' .
        w_events-form = 'PF_STATUS_SET' .
        APPEND w_events TO i_events.
        CLEAR w_events.
      ENDFORM.                    "build_events
    *&      Form  build_layout
      FORM build_layout .
        w_layout-colwidth_optimize = 'X'.
        w_layout-zebra             = 'X'.
      ENDFORM.                    " build_layout
    *&      Form  list_display
      FORM list_display .
        DATA:
              l_program TYPE sy-repid.
        l_program = sy-repid.
        CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
          EXPORTING
            i_callback_program = l_program
            is_layout          = w_layout
            it_fieldcat        = i_fieldcat
            it_events          = i_events
          TABLES
            t_outtab           = i_t001
          EXCEPTIONS
            program_error      = 1
            OTHERS             = 2.
        IF sy-subrc <> 0.
          MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                  WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
        ENDIF.
      ENDFORM.                    " list_display
    *&      Form  top_of_page
      FORM top_of_page.
        DATA :
         li_header TYPE slis_t_listheader,
         w_header  LIKE LINE OF li_header.
        DATA:
              l_date TYPE char10.
        WRITE sy-datum TO l_date.
        w_header-typ  = 'H'.
        CONCATENATE sy-repid ':' 'From Date' l_date INTO w_header-info SEPARATED BY space.
        APPEND w_header TO li_header.
        CLEAR w_header.
        w_header-typ  = 'S'.
        w_header-info = sy-title.
        APPEND w_header TO li_header.
        CLEAR w_header.
        w_header-typ  = 'A'.
        w_header-info = sy-uname.
        APPEND w_header TO li_header.
        CLEAR w_header.
        CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'
          EXPORTING
            it_list_commentary = li_header.
      ENDFORM.                    "top_of_page
    *&      Form  pf_status_set
      FORM pf_status_set    USING extab TYPE slis_t_extab.
        "Procedure to set own pf-status.
        "1.Goto Transaction code SE41
        "2.give program = SAPLKKBL and status = STANDARD_FULLSCREEN.
        "3.Click on Application toolbar STATUS button
        "4.Give ur program name Status name that is to be used in the program using SET pf-status statement
        "5.Create ur button REMARKS.
        SET PF-STATUS 'STATUS1' EXCLUDING extab.
      ENDFORM.                    "pf_status_set
    *&      Form  user_command
      FORM user_command USING ucomm LIKE sy-ucomm
                        selfield TYPE slis_selfield.
        CASE ucomm .
          WHEN 'REMARKS'."When u click on remarks button.
            LOOP AT i_t001 INTO w_t001 WHERE check = 'X'.
              WRITE :/ w_t001-bukrs, 'Checked'.
            ENDLOOP.
        ENDCASE.
      ENDFORM.                    "user_command
    I hope that it helps u .
    Regards,
    Venkat.O

  • How to create JCo to call R3 transaction

    Hi Expert,
    I am new to CRM Webshop. Can someone tell me whether it is possible to call R/3 transaction from JCo?
    I need to call transaction /AFS/ATPS and display the screen to the user.
    Thanks

    You can not use JCo to call any R/3 (or another SAP) transactions. JCo, the Java Connector can only be used to call RFC function modules from any Java based application.
    So, you can not "call transaction /AFS/ATPS and display the screen to the user" using CRM Webshop.

  • How to create a Drop down with values in Module Pool for a screen field.

    Hi all,
    I have created a Screen on which one field is created Say Bank Name. I would like to give some spcific value for this fileld where user can select only seeing in drop down cann't enter.
    Can anyone tell how can we do it ?

    Hi,
    The selected value key will be stored in the parameter.
    eg: Refer below code. Here if i select Vinod then po_name will be 1. After this read i_values WITH this key and get the actual value.
    PARAMETERS: po_name(30) TYPE c VISIBLE LENGTH 20 AS LISTBOX.
    TYPE-POOLS: VRM.
    DATA: i_values TYPE vrm_values,
          wa_values LIKE LINE OF i_values.
    AT SELECTION-SCREEN OUTPUT.
      wa_values-key = '1'.
      wa_values-text = 'Vinod'.
      APPEND wa_values TO  i_values.
      wa_values-key = '2'.
      wa_values-text = 'Kumar'.
      APPEND wa_values  TO i_values.
      wa_values-key = '3'.
      wa_values-text = 'Reddy'.
      APPEND wa_values  TO i_values.
      CALL FUNCTION 'VRM_SET_VALUES'
           EXPORTING
                id              = 'PO_NAME'
                values          = i_values
           EXCEPTIONS
                id_illegal_name = 1
                OTHERS          = 2.
    START-OF-SELECTION.
    READ TABLE i_values INTO wa_values WITH KEY key = po_name.
    MOVE wa_values-text TO w_name. " This will be ur actual value.
    Thanks,
    Vinod.
    Edited by: Vinod Reddy Vemuru on Jul 8, 2008 4:16 PM

Maybe you are looking for