Function module to execute a Tcode

Hi,
Can any one tell me how I can call a ZTcode in a function module and execute it.. Any example???

hi tanu,
you can do this by writing CALL TRANSACTION command in the program.
if you want to skip the first screen and u need to call the teansaction in new screen you can do it as
CALL TRANSACTION 'TCODE' AND SKIP FIRST SCREEN.  " wirte your transaction name u want to call in TCODE.
thanks & Regards,
tanmaya

Similar Messages

  • Function module to execute the session

    Hi All,
    I want to know the function module to execute the session created in sm35.

    Hi,
    bdc_open_group:
    this function module is used to open the session.
    parameters related to this function module are
    client:sy-mandt
    uname:sy-uname
    holddate:sy-datum
    group: <groupname>
    keep: 'X' / ' '.
    2)bdc_insert:this function module is used to insert the
    values to the session
    parameters related to bdc_insert are
    tcode: mention the transaction code
    dynprotab: mention the internal table having structure like bdcdata.
    3)bdc_close_group:
    when ever u open the session it is must to close the session
    Hope it helps you.
    Regards Mansi

  • BAPI Function Module for SCM APO Tcode /SAPAPO/AC42

    Hi,
      I want to know the BAPI Function Modules for SCM APO Tcode /SAPAPO/AC42.
       This BAPI FM should return the column values "Remaining Prod Alloc"  and "Incoming Order Quantity" when we give
       below details as inputs for the Tcode /SAPAPO/AC42
            Product Allocation Group
            Product
            Allocation Procedure
            prod Alloc step
            Product Alloc Object (Characteristics of Product Alloc Group)
            Plant (Characteristics of Product Alloc Group)
            Customer Group 5 (Characteristics of Product Alloc Group)
        Reward points if helpful.
    Thanks,
    Mich

    Hi,
    You should be able to get the information using the standard BAPI (Assuming you are using SCM5.0) BAPI_APOPAL_INSERT in the transaction BAPI.
    ProductAllocationAPO.DataInsert
    Interface to Import Product Allocation Data  Functionality
    This method is used to adopt data from OLTP systems for product allocation in the global availability check.
    You can do the following using the method:
    Adopt new data
    You can adopt new characteristics combinations or new time series. Newly created characteristics combinations have the status Active and are therefore included in the product allocation check.
    Change existing data
    You can overwrite existing data if you have set the interface parameter ALLOW_UPDATE. You can set the status of existing characteristics combinations to Active if you set the interface parameter UPDATE_STATUS. If the characteristics combination does not exist, the system creates it.
    The product allocation quantity is overwritten for existing time series. If you also want to change the incoming orders quantity, you must set the interface parameter UPDATE_INCOMING_ORDER_QTY. If the time series does not exist, the system creates it.
    Prerequisite
    To be able to use this method, you must have made all the Customizing settings for product allocation. For more information, see the Implementation Guide (IMG) for SAP APO under Global Available-to-Promise -> Product Allocation.
    Regards
    Vinod

  • Function Module to Execute BEx Query and Save as work book.

    Hi
    I have a requirement for executing the Query after the data is loaded into the cube and save as Workbook and emailing to the user. Is there any Function module to Execute the Query and saving as Work book? . Please suggest me the way how to approach the problem.
    Thanks for your help in advance.

    Hi,
    It is possible to execute the Query and send the result as workbook vial email to the user.
    For that use should use Information Broadcaster.
    Steps:
    1. Goto information broadcaster.
    2. Choose object type as "Query"
    3.Click create new setting.
    4. Give description and choose distribution type as "Broadcast E-mail"
    5.Choose output format "XML(MS Excel)
    6.In recipient tab Give valid e-mail addres which you want to send.
    7.Save it. and give technical name
    8.Click schedule.
    9.choose "Execution with Data Change in the InfoProvider " correspondig infoprovider will be shown (check the check box)
    10. that's it. whenever data loaded in your infocube, it will be automatically executed and send to user mail.
    <removed> if u want more information let me know.
    Regards,
    Senthil Kumar.P

  • Function Module For Executing

    Hi all,
             I need a function module for executing .bat file in application server.
    Regards
    Sathish Kumar K.C

    CALL FUNCTION 'SXPG_STEP_COMMAND_START'
        EXPORTING
    *     TARGET                           =
    *     DESTINATION                      =
          COMMANDNAME                      = 'ZCOPY'
          ADDITIONAL_PARAMETERS            = AD_PAR
          OPERATINGSYSTEM                  = 'Windows NT'
          STDINCNTL                        = 'R'
          STDOUTCNTL                       = 'M'
          STDERRCNTL                       = 'M'
          TRACECNTL                        = '3'
          TERMCNTL                         = 'C'
    *     TRACELEVEL                       = 0
    *     BATCH                            =
    *     LONG_PARAMS                      =
    *     JOBNAME                          =
    *     JOBCOUNT                         =
    *     STEPCOUNT                        =
    *     CONNCNTL                         = 'H'
    *   IMPORTING
    *     STRTSTAT                         =
    *     XPGID                            =
    *     CONVID                           =
    *     EXITSTAT                         =
    *     EXITCODE                         =
    *     PARAMS                           =
    *     LAST_PROC                        =
    *     LAST_HOST                        =
    *     LAST_PROC_NUM                    =
       TABLES
         LOG                              = LT_LOG
       EXCEPTIONS
         COMMAND_NOT_FOUND                = 1
         PARAMETER_EXPECTED               = 2
         PARAMETERS_TOO_LONG              = 3
         SECURITY_RISK                    = 4
         WRONG_CHECK_CALL_INTERFACE       = 5
         NO_PERMISSION                    = 6
         UNKNOWN_ERROR                    = 7
         COMMUNICATION_ERROR              = 8
         SYSTEM_ERROR                     = 9
         CANNOT_GET_RFC_DESTS             = 10
         JOB_UPDATE_FAILED                = 11
         JOB_DOES_NOT_EXIST               = 12
         OTHERS                           = 13

  • How to attach a Function Module to a custom Tcode

    Hi All,
    I need to attach a Function Module to a new custom Tcode.I tried to create the new Tcode with option Parameter Transaction by giving the Tcode as SE37. But i am not able to give my Function module name as default.
    Do you have any idea how to do this.
    Plese help me.
    Thanks
    Manas

    Hello Manas,
    For example in the first line of your FM you write
    call screen 100.
    Then double click on 100 number and you found yourself on program of creating screen.
    Then you write need to describe your pai and pbo functions and set pf-status.
    For example, on the click of some button you execute some function.
    In transaction you directly execute operator call screen 100 by specifying
    SAPLZTEST screen 100.
    One more time: call screen 100 in FM equals call transaction 'zmytcode', which have been created to SAPLZTEST screen 100.
    You can see tcode ckm3 and function group SAPLCKM8N
    Good luck.

  • Modified Functional module not executing the inserted Code

    Hi everyone
    I've modified the IW_C_CREATE_TRANSPORT_REQUEST Functional module so that it calls the GUI_EXEC FM which calles my java script which saves the transport ID with a filename specified. The code seems to work when i test it within SAP, but when i come to use STARTRFC to call the function, the added code dosen't seem to be executing, the transport still gets created but my javascript is not being called?
    Anyone know why?
    Thanks - Peter
    Code following
    FUNCTION IW_C_CREATE_TRANSPORT_REQUEST.
    ""Local interface:
    *"  IMPORTING
    *"     VALUE(DESCRIPTION) LIKE  E07T-AS4TEXT
    *"     VALUE(TRANSPORT_KIND) LIKE  E070-TRFUNCTION DEFAULT 'K'
    *"     VALUE(LANGU) LIKE  SY-LANGU DEFAULT 'EN'
    *"     VALUE(CQ_ID) LIKE  E070-TRKORR DEFAULT 'FileName'
    *"  EXPORTING
    *"     VALUE(COMMFILE) LIKE  E070-TRKORR
    *"     VALUE(PROG_PATH) LIKE  E070-TRKORR
    *"     VALUE(CLASSNAME) LIKE  E07T-AS4TEXT
    *"  EXCEPTIONS
    *"      LANGUAGE_MISSING
    *"      NUMBER_RANGE_FULL
    *"      UNALLOWED_TRFUNCTION
    *"      NO_AUTHORIZATION
    *"      CREATE_TRANSPORT_ERROR
    CLEAR COMMFILE.
    CASE TRANSPORT_KIND.
      WHEN 'P'.
    Stücklisten für Releasewechsel
        IF NOT LANGU IS INITIAL.
          PERFORM CREATE_RELEASE_REQUEST
            USING    LANGU
                     DESCRIPTION
                     TRANSPORT_KIND
            CHANGING COMMFILE.
        ELSE.
        keine Sprache angegeben und Transportart Stücklisten
          RAISE LANGUAGE_MISSING.
        ENDIF.
      WHEN OTHERS.
    Alle anderen Transporte
      PERFORM CREATE_REQUEST
        USING    DESCRIPTION
                 TRANSPORT_KIND
        CHANGING COMMFILE.
    ENDCASE.
    *{ INSERT SM1K900042 1
    WRITE 'Entering My Pogram'.
    PROG_PATH = 'java.exe'.
    CLASSNAME = '-cp c: writeToFile'.
    CONDENSE CLASSNAME.
    CONDENSE PROG_PATH.
    CONCATENATE CLASSNAME CQ_ID COMMFILE INTO CLASSNAME SEPARATED BY ' '.
    CALL FUNCTION 'GUI_EXEC'
    EXPORTING
    PARAMETER = CLASSNAME
    COMMAND = PROG_PATH.
    WRITE 'Our path is'.
    WRITE PROG_PATH.
    WRITE CLASSNAME.
    *} INSERT
    ENDFUNCTION.
    *************************FORMS****************************************
          FORM CREATE_RELEASE_REQUEST                                    *
    Transportauftrag für Stücklisten erstellen                           *
    FORM CREATE_RELEASE_REQUEST
      USING    P_LANGU              LIKE SY-LANGU
               P_TRANSPORT_DESCRIPT LIKE E07T-AS4TEXT
               P_TRANS_KIND         LIKE E070-TRFUNCTION
      CHANGING P_COMMFILE           LIKE E070-TRKORR.
      DATA: SUBRC         LIKE SY-SUBRC,
            H_TMP_LANG(2) TYPE C,
            H_NUMBER(3)   TYPE C,
            NUMBER(4)     TYPE C.
    Anwednungslog öffnen
      PERFORM OPEN_LOG
        USING P_TRANSPORT_DESCRIPT.
    *Nummer ziehen
      PERFORM GET_NUMBER USING    P_LANGU
                         CHANGING H_NUMBER
                                  SUBRC.
      IF     SUBRC = 12.
    Fehler beim erstellen des Transportauftrags
        RAISE CREATE_TRANSPORT_ERROR.
      ELSEIF SUBRC = 11.
    Nummernkreis voll
        RAISE NUMBER_RANGE_FULL.
      ELSE.
        WRITE P_LANGU TO H_TMP_LANG.
        P_COMMFILE = 'SAPKXXXLYY'.
        REPLACE 'XXX' WITH H_NUMBER     INTO P_COMMFILE.
        REPLACE 'YY'  WITH H_TMP_LANG   INTO P_COMMFILE.
        CALL FUNCTION 'SUBST_CREATE_COMMANDFILE'
             EXPORTING
                  IV_KORRNAME          = P_COMMFILE
                  IV_KORRTYPE          = P_TRANS_KIND
                  IV_KORRTEXT          = P_TRANSPORT_DESCRIPT
             EXCEPTIONS
                  NAME_COLLISION       = 1
                  CREATE_HEADER_FAILED = 2
                  UPDATE_HEADER_FAILED = 3
                  OTHERS               = 4.
        IF SY-SUBRC <> 0.
          CLEAR P_COMMFILE.
        Fehler beim Erstellen des Transportauftrags
          RAISE CREATE_TRANSPORT_ERROR.
        ELSE.
        Transportauftrag erstellt
        Log schreiben
          PERFORM WRITE_LOGFILE
            USING P_COMMFILE.
        ENDIF.
      ENDIF.
    ENDFORM.                               "CREATE_RELEASE_REQUEST
          FORM CREATE_REQUEST                                            *
    Transportauftrag erstellen                                           *
    FORM CREATE_REQUEST
      USING    P_TRANSPORT_DESCRIPT LIKE E07T-AS4TEXT
               P_TRANS_KIND         LIKE E070-TRFUNCTION
      CHANGING P_COMMFILE           LIKE E070-TRKORR.
      CALL FUNCTION 'TRINT_INSERT_NEW_COMM'
           EXPORTING
                WI_KURZTEXT   = P_TRANSPORT_DESCRIPT
                WI_TRFUNCTION = P_TRANS_KIND
           IMPORTING
                WE_TRKORR     = P_COMMFILE
           EXCEPTIONS
             NUMBER_RANGE_FULL       = 1
             INVALID_INPUT           = 2
             NO_AUTHORIZATION        = 3
             OTHERS                  = 4.
      CASE SY-SUBRC.
        WHEN 0.
      Auftrag erstellt
      Anwednungslog öffnen
          PERFORM OPEN_LOG
            USING P_TRANSPORT_DESCRIPT.
      Log schreiben
          PERFORM WRITE_LOGFILE
            USING P_COMMFILE.
        WHEN 1.                             "Nummernkreis für Aufträge voll
          CLEAR P_COMMFILE.
          RAISE NUMBER_RANGE_FULL.
         p_error_msg-no = '735'.
        WHEN 2.                             "Unbekannter Auftragstyp
          CLEAR P_COMMFILE.
          RAISE UNALLOWED_TRFUNCTION.
         p_error_msg-no = '353'.
        WHEN 3.                             "keine Berechtigung
          CLEAR P_COMMFILE.
          RAISE NO_AUTHORIZATION.
         p_error_msg-no = '328'.
        WHEN 4.                             "Allgemeiner Fehler
          CLEAR P_COMMFILE.
          RAISE CREATE_TRANSPORT_ERROR.
         p_error_msg-no = '353'.
      ENDCASE.
    ENDFORM.                               "create_request
    FORM OPEN_LOG                                                        *
    Anwedungslog öffnen                                                  *
    FORM OPEN_LOG
      USING P_TRANSPORT_DESCRIPT LIKE E07T-AS4TEXT.
    *init application log
      PERFORM LOG_INIT USING C_APPL_LOG_TRANSPORT.
    *log header
      PERFORM LOG_HEADER
        USING C_APPL_LOG_TRANSPORT P_TRANSPORT_DESCRIPT.
    ENDFORM.                             "OPEN_LOG
    FORM WRITE_LOGFILE                                                   *
    Logfile in den Anwendungslog schreiben                               *
    -> P_TRANSPORT_DESCRIPT                                              *
    FORM WRITE_LOGFILE
      USING P_COMMFILE           LIKE E070-TRKORR.
    DATA: H_ERROR_MSG LIKE IWERRORMSG.
    *log message transport created
      CLEAR H_ERROR_MSG.
      MOVE '42'  TO H_ERROR_MSG-ID.
      MOVE 'I'   TO H_ERROR_MSG-TYPE.
      MOVE '733' TO H_ERROR_MSG-NO.
      MOVE P_COMMFILE TO H_ERROR_MSG-V1.
      PERFORM LOG_MSG
        USING C_APPL_LOG_TRANSPORT '2' H_ERROR_MSG.
    *log save
      PERFORM LOG_SAVE
        USING C_APPL_LOG_TRANSPORT.
    ENDFORM.              "WRITE_LOGFILE
          FORM GET_NUMBER                                               *
    -->  LANGU                                                         *
    -->  NUMBER                                                        *
    FORM GET_NUMBER
      USING    LANGU   LIKE SY-LANGU
      CHANGING NUMBER  TYPE C
               SUBRC   LIKE SY-SUBRC.
      CONSTANTS: OBJECT LIKE INRI-OBJECT VALUE 'SIWBTRANSP'.
      DATA: NR_RANGE LIKE INRI-NRRANGENR,
            RETURNCODE LIKE  INRI-RETURNCODE,
            ERROR_MSG LIKE IWERRORMSG.
      CLEAR SUBRC.
      NR_RANGE = '01'.
      CALL FUNCTION 'NUMBER_GET_NEXT'
           EXPORTING
                NR_RANGE_NR             = NR_RANGE
                OBJECT                  = OBJECT
                SUBOBJECT               = LANGU
           IMPORTING
                NUMBER                  = NUMBER
                RETURNCODE              = RETURNCODE
           EXCEPTIONS
                INTERVAL_NOT_FOUND      = 1
                NUMBER_RANGE_NOT_INTERN = 2
                OBJECT_NOT_FOUND        = 3
                QUANTITY_IS_0           = 4
                QUANTITY_IS_NOT_1       = 5
                INTERVAL_OVERFLOW       = 6
                OTHERS                  = 7.
      CASE SY-SUBRC.
        WHEN 00.
        WHEN 01.
          PERFORM NUMBER_RANGE_INTERVAL_INSERT
                  USING      NR_RANGE  LANGU
                  CHANGING   NUMBER
                             RETURNCODE.
        WHEN OTHERS.
          SUBRC = 12.
          PERFORM FILL_ERROR_MSG
            USING    C_MESSAGE_ERROR 736 SY-SUBRC SPACE SPACE SPACE
            CHANGING ERROR_MSG.
          PERFORM LOG_MSG USING C_APPL_LOG_TRANSPORT 1 ERROR_MSG.
      ENDCASE.
      CASE RETURNCODE.
        WHEN ' '.
        WHEN '1'.                          "Nummer im kritischen Bereich
          PERFORM FILL_ERROR_MSG
            USING    C_MESSAGE_INFO 734 SPACE SPACE SPACE SPACE
            CHANGING ERROR_MSG.
          PERFORM LOG_MSG USING C_APPL_LOG_TRANSPORT 2 ERROR_MSG.
        WHEN '2'.                          "letzte Nummer vergeben
          PERFORM FILL_ERROR_MSG
            USING    C_MESSAGE_INFO 735 SPACE SPACE SPACE SPACE
            CHANGING ERROR_MSG.
          PERFORM LOG_MSG USING C_APPL_LOG_TRANSPORT 1 ERROR_MSG.
          SUBRC = 11.
      ENDCASE.
    ENDFORM.                               "number_get
    Message was edited by:
            Peter Lai

    Hi i've tried restarting and starting the server, but it didn't help, would it have anything to do with the fact i'm callin sap which is calling JAVA from a .exe program. The .exe program is having problems connecting to the JAVA program as there is no link?
    I did a trace as well and this is what it came up with:
    Error in program 'startrfc': ======> Exception condition "NO_BATCH" raised.
    >>>> [1] <unknown>    : EXT  <ac: 7> L DDSLOCTE01 >>> CLOSE abrfcrcv.c 429 (23850562)
      -{F0776FA3-F1A7-4662-BF7A-D1352735C394}
    *> RfcReceive
            handle = 1
             Data conversion On
    Error in program 'startrfc': <* RfcReceive [1] : returns 3:RFC_SYS_EXCEPTION
    Error in program 'startrfc': <* RfcCallReceive [1] : returns 3:RFC_SYS_EXCEPTION
    >>>> [1] <unknown>    : EXT  <ac: 8> L DDSLOCTE01 >>> FREE abrfcio.c 3517 (23850562)
      -{F0776FA3-F1A7-4662-BF7A-D1352735C394}
    Trace file opened at 20070312 164006 GMT Standard T, SAP-REL 640,0,119 RFC-VER 3 818122 MT-SL
    *> RfcClose called by external program ...
            handle = 1
    *> rfcClose called by RFC-Library in file: abrfc.c, line: 532
            handle = 1
    Trace file opened at 20070312 164006 GMT Standard T, SAP-REL 640,0,119 RFC-VER 3 818122 MT-SL
    <* rfcClose
    >* RfcClose
    Any help or ideas what it could be would be great

  • Function module not executing in background due to Transactional RFC error in SM58

    Hi Team,
    I am executing a report which calls a function module in background.This in turn creates a LUW which should eventually get cleared once the processing is completed through commit statement.
    However LUW is going for an error whenever it gets executed through commit statement.
    The error message in SM58 is
    Error msg : Conversation 
    <init> not found / CPIC-CALL: 'ThSA PCMRCV' : cmRc=19 thRc=
    However when I try to excecute the function module in foreground, it works correctly as expected.
    Please note that the same report is being used for various clients and the function module is working fine in all others.Hence, I am expecting that thers is no issue with the code.
    Is there some settings which we are missing here.
    Please provide me your valuable inputs.

    Hi Divy,
    It appears to network issue. please use below SAP note to perform network analysis using NIPING.
    SAP note 500235 - Network diagnosis with NIPING
    Hope this helps.
    Regards,
    Deepak Kori

  • Does Update function module gets executed after Commit Work?

    Hi Gurus,
    I have a BAPI with a Commit work. Does update function module V1 , V2 - i need mainly about the sequence of V2, gets executed after Commit work or before Commit work.
    Thanks

    Pl refer to SAP help on the same as follows.
    https://help.sap.com/saphelp_nw04/helpdata/en/e5/de86e135cd11d3acb00000e83539c3/content.htm
    Regards,
    Naveen Vishal

  • Function Module to Execute the task backgroundly

    HI gurus
        I need to execute the workitem programatically which is possible in the SAP_WAPI_SET_WORKITEM_STATUS but I need the wiresult as 001 or 002 or 003 because this workitem task as decision task. So how I have to handle either through any FM or any coding. Please let me know the FM or codes.
    Thanks,
    Velu...

    I think you should use SAP_WAPI_DECISION_COMPLETE Function module
    WI_RESULT  field stores the unique value for each decision option.
    Thanks
    Arghadip

  • Using CREATE_TEXT function module in LSMW for Tcode: FD32

    Hi Friends,
    I have to upload texts to the transaction FD32 via LSMW by using
    CREATE_TEXT function module. If anyone has worked on this before
    then please clarify the following doutb.
    In which event (Begin of record, End of transaction etc)   I have to write the code?
    Any sample code snippet for this requiremen would be helpful to me.
    Thanks in Advance
    Murthy

    Hi,
    Thanks for your responses.
    I had found the solution on my own.
    Thanks
    Murthy

  • Function Modules to Execute Report Painter Report

    Hi Experts,
    May I know if there is any way to execute the GR55 Report Painter reports, and get the report result back as a table?
    I need this to write a program to export the result to a external system.
    Many thanks!!!
    Regards,
    Chris

    I am actually expecting a ABAP way to do so, but not to do that in foreground manually.
    I found the solution anyway by using the below sample code:
    *&      Form  frm_retrieve_data
          text:Get report painter Result
    FORM frm_retrieve_data .
      DATA:lt_params  TYPE STANDARD TABLE OF alv_s_param_wp,
           lwa_params TYPE alv_s_param_wp,
           lwa_msg    LIKE LINE OF gt_msg,
           lv_dcpfm   TYPE xudcpfm.
      CLEAR:gt_data,gt_msg.
    Set report painter Paramters
      lwa_params-pname = '$PARAMETER[$ZRYEAR0'.
      lwa_params-pvalue = sy-datum+0(4).
      APPEND lwa_params TO lt_params .
      lwa_params-pname = '$PARAMETER[$ZBUKRS0'.
      lwa_params-pvalue = 'JNPC'.
      APPEND lwa_params TO lt_params .
      lwa_params-pname = '$PARAMETER[$ZBUKRS1'.
      lwa_params-pvalue = 'JNPC'.
      APPEND lwa_params TO lt_params .
      lwa_params-pname = '$PARAMETER[$ZF-RP00'.
      lwa_params-pvalue = sy-datum+4(2).
      APPEND lwa_params TO lt_params .
      CALL FUNCTION 'CRIF_RW_WEB_CALL_REPORT'
        EXPORTING
          i_report_group = 'JNZ1'
        TABLES
          it_params      = lt_params
          et_data        = gt_data
          et_messages    = gt_msg.
      LOOP AT gt_msg INTO lwa_msg
        WHERE type = 'E' OR type = 'A'.
        gv_flg = cns_yes.
        EXIT.
      ENDLOOP.
      IF gv_flg IS INITIAL AND
         gt_data IS INITIAL.
        gv_flg = cns_nodata.
      ENDIF.
    ENDFORM.                    " frm_retrieve_data

  • Function module to execute the program in the background.

    Hi Experts,
         I have two reports i am calling report2 from report1. Here the problem is i wanted to pass the input parameters using the "submit" statement and i wanted only one field value from the report2... whcih is used in report1 and i dont wanted to display the selection screen or output of report2. i am using the submit and return and i am unable to get it... can any one suggest and send me a peace of code.. for this...
    he would be rewarded
    Regards,
    Rajashekahr.A

    if you don't want the selection screen or the output...you can use the option
    SUBMIT <RPT> EXPORTING LIST TO MEMORY AND RETURN
    this will directly execute the report without showing you the selection screen or the output..
    now you also want a value from report 2 into report1...you can set the value from report 2 into a memory variable..using EXPORT to memory id option....
    hope it helps

  • Question on Function module

    Hi,
    I have a set of ECC tables from which I need to extract the data from. Some calculations need to be made on the fly based on some of these fields. and the entire set need to be loaded into BW.
    Can any one tell me what is the best way to handle this scenario?
    In ECC there is a program which extracts the data from multiple tables and does the calculations. But, this is a non-executable Program and this is executed by a ZTCode.
    I thought of writing a function module to execute the Tcode and build an extractor based on the Function module, but the problem is, the ZTcode when executed has input value screen and can accept only one value at a time.
    I need to calculate the data for all the records not one at a time.
    Any suggestions....

    Hi,
    Create FM with required fields and then use it in DataSource and extrat then data.
    Note: Please keep Month/Fy Period in Selections so we can go for Selection wise extraction.
    Thanks
    Reddy

  • Need BAPI function module to change routing (CA12 Tcode)

    Hi Freinds,
       i have bapi function module to create bapi_routing_create,
       but i need bapi function module  to ROUTE CHANGE.
    tcode is ca12
       pls help me out .....it's urgent to me
    mail to me :[email protected]
    regards
    madhu

    Thanks Jitendra,
    I have tried to use it but I am not able to obtain a good result. I have set values for PLKO_DI_TAB and MAPL_DI_TAB, but it does not work…
    What is missing?

Maybe you are looking for

  • HT3669 I can no longer scan directly from Adobe applications.  Will this ever be fixed?

    I used to be able to scan directly from my C6100 HP printer scanner, but with the upgrade to Lion it is no longer possible.  HP indicates you have to scan from preferences and select the scanner. I have scanned documente succesfully from a Brother wi

  • Flex Builder 3 trial expired

    I installed Flex Builder 3 today (I already have Eclipse). Fired up Eclipse, created a new Flex project and I immediately get a message telling me my trial license has expired. I have never installed it before. I have obviously done something wrong b

  • No preview with placed tiff in Illustrator cc?

    While in Illustrator cc, when I place a tiff from Photoshop, the preview does not show up. I had this problem yesterday and I worked it out with help from this forum. So today I was placing images and everything was working perfect until I wanted to

  • Problem in report o/p

    Hi, My program is a classical report. when i execute the program it displays the o/p in the form of columns( that was coded in the program with uline and sy-vline commands) totally they are 22 columns in the o/p. Problem is when i am scheduling the r

  • Reaching the java file outside the package?

    Hi how can i reach the java(or class) files outside the packge(i mean one top folder) For example i have a java file in a folder named tech and i want to reach a java file in the folder named support which is under tech folder is something like that