SRM 7 ECS : SC and PO Function Modules

Hi Gurus,
Has anybody some documentation about function modules which are triggered in extended classic regarding SC and PO.
Many thanks in advance.

What are the FM involved in PO replication to the backend?
Thanks

Similar Messages

  • GUI_DOWNLOAD and UPLOAD Function Modules?

    Hi All,
    What exactly done by GUI_DOWNLOAD and UPLOAD Function Modules?
    Akshitha.

    What you exactly want know?
    Here is the Sap documentation for both FM:
    FU GUI_UPLOAD
    Short Text
    Upload for Data Provider
    Functionality
    The module loads a file from the PC to the server. Data can be transferred binarily or as text. Numbers and date fields can be interpreted according to the user settings.
    Example
    Binary upload: No conversion or interpretation
                begin of itab,
                      raw(255) type x,
                end of itab occurs 0.
               CALL FUNCTION 'GUI_UPLOAD'
               exporting
                  filetype =  'BIN'
                  filename = 'C:\DOWNLOAD.BIN'
               tables
                 data_tab = itab.
    Text upload
               begin of itab,
                     text(255) type c,
               end of itab occurs 0.
               CALL FUNCTION 'GUI_UPLOAD'
               exporting
                  filetype = 'ASC'
                  filename = 'C:\DOWNLOAD.TXT'
               tables
                 data_tab = itab.
    Parameters
    FILENAME
    FILETYPE
    HAS_FIELD_SEPARATOR
    HEADER_LENGTH
    READ_BY_LINE
    DAT_MODE
    CODEPAGE
    IGNORE_CERR
    REPLACEMENT
    CHECK_BOM
    VIRUS_SCAN_PROFILE
    NO_AUTH_CHECK
    FILELENGTH
    HEADER
    DATA_TAB
    Exceptions
    FILE_OPEN_ERROR
    FILE_READ_ERROR
    NO_BATCH
    GUI_REFUSE_FILETRANSFER
    INVALID_TYPE
    NO_AUTHORITY
    UNKNOWN_ERROR
    BAD_DATA_FORMAT
    HEADER_NOT_ALLOWED
    SEPARATOR_NOT_ALLOWED
    HEADER_TOO_LONG
    UNKNOWN_DP_ERROR
    ACCESS_DENIED
    DP_OUT_OF_MEMORY
    DISK_FULL
    DP_TIMEOUT
    Function Group
    SFES
    FU GUI_DOWNLOAD
    Short Text
    Download an Internal Table to the PC
    Functionality
    Data transfer of an internal table form the server to a file on the PC. The Gui_Download module replaces the obsolete modules Ws_Download and Download. The file dialog of the download module is available in the class Cl_Gui_Frontend_Services.
    Further information
    TYPE-POOLS: ABAP.
    Binary download table
    DATA: BEGIN OF line_bin,
             data(1024) TYPE X,
          END OF line_bin.
    DATA: data_tab_bin LIKE STANDARD TABLE OF line_bin.
    Ascii download table
    DATA: BEGIN OF line_asc,
             text(1024) TYPE C,
          END OF line_asc.
    DATA: data_tab_asc LIKE STANDARD TABLE OF line_asc.
    DAT download table
    DATA: BEGIN OF line_dat,
             Packed   TYPE P,
             Text(10) TYPE C,
             Number   TYPE I,
             Date     TYPE D,
             Time     TYPE T,
             Float    TYPE F,
             Hex(3)   TYPE X,
             String   TYPE String,
          END OF line_dat.
    DATA: data_tab_dat LIKE STANDARD TABLE OF line_dat.
    Get filename
    DATA: fullpath      TYPE String,
          filename      TYPE String,
          path          TYPE String,
          user_action   TYPE I,
          encoding      TYPE ABAP_ENCODING.
    CALL METHOD CL_GUI_FRONTEND_SERVICES=>FILE_SAVE_DIALOG
       EXPORTING
         WINDOW_TITLE         = 'Gui_Download Demo'
         WITH_ENCODING        = 'X'
         INITIAL_DIRECTORY    = 'C:\'
      CHANGING
         FILENAME             = filename
         PATH                 = path
         FULLPATH             = fullpath
         USER_ACTION          = user_action
         FILE_ENCODING        = encoding
      EXCEPTIONS
         CNTL_ERROR           = 1
         ERROR_NO_GUI         = 2
         NOT_SUPPORTED_BY_GUI = 3
         others               = 4.
    IF SY-SUBRC <> 0.
      EXIT.
    ENDIF.
    IF user_action <> CL_GUI_FRONTEND_SERVICES=>ACTION_OK.
      EXIT.
    ENDIF.
    Download variables
    DATA: length TYPE I.
    Binary download
      CALL FUNCTION 'GUI_DOWNLOAD'
        EXPORTING
          FILENAME                         = fullpath
           FILETYPE                         = 'BIN'
        IMPORTING
          FILELENGTH                       = length
        TABLES
          DATA_TAB                         = data_tab_bin
       EXCEPTIONS
         FILE_WRITE_ERROR                = 1
         NO_BATCH                         = 2
         GUI_REFUSE_FILETRANSFER         = 3
         INVALID_TYPE                     = 4
         NO_AUTHORITY                     = 5
         UNKNOWN_ERROR                   = 6
         HEADER_NOT_ALLOWED              = 7
         SEPARATOR_NOT_ALLOWED           = 8
         FILESIZE_NOT_ALLOWED            = 9
         HEADER_TOO_LONG                 = 10
         DP_ERROR_CREATE                 = 11
         DP_ERROR_SEND                   = 12
         DP_ERROR_WRITE                  = 13
         UNKNOWN_DP_ERROR                = 14
         ACCESS_DENIED                   = 15
         DP_OUT_OF_MEMORY                = 16
         DISK_FULL                        = 17
         DP_TIMEOUT                       = 18
         FILE_NOT_FOUND                  = 19
         DATAPROVIDER_EXCEPTION          = 20
         CONTROL_FLUSH_ERROR             = 21
         OTHERS                           = 22.
    Ascii download
      CALL FUNCTION 'GUI_DOWNLOAD'
        EXPORTING
          FILENAME                         = fullpath
           FILETYPE                         = 'ASC'
        IMPORTING
          FILELENGTH                       = length
        TABLES
          DATA_TAB                         = data_tab_asc
       EXCEPTIONS
         FILE_WRITE_ERROR                = 1
         NO_BATCH                         = 2
         GUI_REFUSE_FILETRANSFER         = 3
         INVALID_TYPE                     = 4
         NO_AUTHORITY                     = 5
         UNKNOWN_ERROR                   = 6
         HEADER_NOT_ALLOWED              = 7
         SEPARATOR_NOT_ALLOWED           = 8
         FILESIZE_NOT_ALLOWED            = 9
         HEADER_TOO_LONG                 = 10
         DP_ERROR_CREATE                 = 11
         DP_ERROR_SEND                   = 12
         DP_ERROR_WRITE                  = 13
         UNKNOWN_DP_ERROR                = 14
         ACCESS_DENIED                   = 15
         DP_OUT_OF_MEMORY                = 16
         DISK_FULL                        = 17
         DP_TIMEOUT                       = 18
         FILE_NOT_FOUND                  = 19
         DATAPROVIDER_EXCEPTION          = 20
         CONTROL_FLUSH_ERROR             = 21
         OTHERS                           = 22.
    DAT download
      CALL FUNCTION 'GUI_DOWNLOAD'
        EXPORTING
          FILENAME                         = fullpath
           FILETYPE                         = 'DAT'
        IMPORTING
          FILELENGTH                       = length
        TABLES
          DATA_TAB                         = data_tab_dat
       EXCEPTIONS
         FILE_WRITE_ERROR                = 1
         NO_BATCH                         = 2
         GUI_REFUSE_FILETRANSFER         = 3
         INVALID_TYPE                     = 4
         NO_AUTHORITY                     = 5
         UNKNOWN_ERROR                   = 6
         HEADER_NOT_ALLOWED              = 7
         SEPARATOR_NOT_ALLOWED           = 8
         FILESIZE_NOT_ALLOWED            = 9
         HEADER_TOO_LONG                 = 10
         DP_ERROR_CREATE                 = 11
         DP_ERROR_SEND                   = 12
         DP_ERROR_WRITE                  = 13
         UNKNOWN_DP_ERROR                = 14
         ACCESS_DENIED                   = 15
         DP_OUT_OF_MEMORY                = 16
         DISK_FULL                        = 17
         DP_TIMEOUT                       = 18
         FILE_NOT_FOUND                  = 19
         DATAPROVIDER_EXCEPTION          = 20
         CONTROL_FLUSH_ERROR             = 21
         OTHERS                           = 22.
    Parameters
    BIN_FILESIZE
    FILENAME
    FILETYPE
    APPEND
    WRITE_FIELD_SEPARATOR
    HEADER
    TRUNC_TRAILING_BLANKS
    WRITE_LF
    COL_SELECT
    COL_SELECT_MASK
    DAT_MODE
    CONFIRM_OVERWRITE
    NO_AUTH_CHECK
    CODEPAGE
    IGNORE_CERR
    REPLACEMENT
    WRITE_BOM
    TRUNC_TRAILING_BLANKS_EOL
    WK1_N_FORMAT
    WK1_N_SIZE
    WK1_T_FORMAT
    WK1_T_SIZE
    WRITE_EOL
    FILELENGTH
    DATA_TAB
    FIELDNAMES
    Exceptions
    FILE_WRITE_ERROR
    NO_BATCH
    GUI_REFUSE_FILETRANSFER
    INVALID_TYPE
    NO_AUTHORITY
    UNKNOWN_ERROR
    HEADER_NOT_ALLOWED
    SEPARATOR_NOT_ALLOWED
    FILESIZE_NOT_ALLOWED
    HEADER_TOO_LONG
    DP_ERROR_CREATE
    DP_ERROR_SEND
    DP_ERROR_WRITE
    UNKNOWN_DP_ERROR
    ACCESS_DENIED
    DP_OUT_OF_MEMORY
    DISK_FULL
    DP_TIMEOUT
    FILE_NOT_FOUND
    DATAPROVIDER_EXCEPTION
    CONTROL_FLUSH_ERROR
    Function Group
    SFES

  • Need help on mapping of obsolete and new function module

    Hi Expert,
    We are working on a  upgradation tool in which i have to repace the obsolete function module "HELP_VALUES_GET_WITH_CHECKTAB
    " by "F4IF_FIELD_VALUE_REQUEST
    ". I am not sure about the functionalities of these function modules as i have never used it. Can anyone please help me  by providing some information abt  these FMs. Also i need to do the mapping of parameters of old and new function module. So please provide the details of mapping also. Any pointers on this will be highly appreciated.
    Thanks & Regards,
    P Sharma
    Moderator message : Duplicate post locked.  Continue with [Parameter mapping of FMs|Parameter mapping of FMs;.
    Edited by: Vinod Kumar on Jul 8, 2011 9:40 AM

    Hey Enivass,
    you can ckeck the input field "Account Number" whether it is numeric or Alphabet using *"Conversions ->Fixvalues"*
    Steps:
    1.  Extract first character of input using *" Text -> substring"*  -- start position 0 , char count 1 
    2. In Fix Value table you have to give following values:
    Dafault value : Alphabet
    key----
    value
    0----
    Number
    1----
    Number
    2----
    Number
    9----
    Number
    3.  Write logic IF "number" than  "Arithmatic -> FormatNumber   (0000000000)   -
    // for leading zeros
             ELSE
         concat with extra space        -
    Thanks

  • Functioning of Enqueue and dequeue function modules

    Hi to all
    Please tell me what is the actual functioning of HR_EMPLOYEE_ENQUEUE and HR_EMPLOYEE_DEQUEUE function modules.
    My requirement is that if any one working on same employee no. or other tcode is processing same emp no then no one able to work on thet and an error message should be displayed.
    How to do it.
    Please advice.
    Regards
    Anubhav Gupta

    Hi,
    Use the following.
    BAPI_EMPLOYEE_ENQUEUE
    BAPI_EMPLOYEE_DEQUEUE.
    Pass pernr to it.
    Regards,
    Nishant Gupta

  • Start conditions and check function modules

    Hi,
    When we apply start conditions to any particular even linkage you will find check function module as SWB_2_CHECK_FB_START_COND_EVAL. However, what if i want to implement both a custom check function module AND start conditions ?
    My requirement is to implement both start conditions and check function module.
    Is this possible ?
    Thank you,
    Nikhil.

    Hi,
    You can use both of the things, however its advisable to check all start conditions if you are using check FM.
    This is interface for custom  check FM,once you have the key value, you can put all the checks here
    *"*"Local Interface:
    *"  IMPORTING
    *"     VALUE(OBJTYPE) TYPE  SWETYPECOU-OBJTYPE
    *"     VALUE(OBJKEY) TYPE  SWEINSTCOU-OBJKEY
    *"     VALUE(EVENT) TYPE  SWETYPECOU-EVENT
    *"     VALUE(RECTYPE) TYPE  SWETYPECOU-RECTYPE
    *"  EXPORTING
    *"     REFERENCE(REFERENCE) TYPE  C
    *"  TABLES
    *"      EVENT_CONTAINER STRUCTURE  SWCONT
    *"  EXCEPTIONS
    *"      NOT_TRIGGERD
    Hope this helps.
    Regards,
    Sangvir Singh

  • No entries in Define conversion group and external function module setting.

    Hi all,
    After active bussiness function SAP Oil & Gas, my system have a problem in SPRO.
    SPRO --> IMG --> Industry solution Oil & Gas (Downstream) --> HPM --> QCI configuration --> Define conversion group and external function module setting.
    Problem appear: Has no entries in there!
    Please, help me! Thank you so much!
    Tks & best regards,
    DatHT

    Dat,
    There are few entries normally delivered by SAP and which are good for a regular implementation. It is possible that those are not copied over from the reference client. Second option is to check the BC set (if) available for this activity and pull those in. Check the SAP reference client first, most likely that has entries which you can copy over to your regular client.
    Regards,

  • Encrypt  and Decrypt  function modules

    Hi
    Please tell the function module names to Encrypt the code with key and Decrypt code with key.
    i know these function module names
    'FIEB_PASSWORD_ENCRYPT' and 'FIEB_PASSWORD_DECRYPT'
    but its not working.
    Is there any other function modules?
    if it is not there please tell the documentation of the to create  encrypt function module and decrypt function module.
    Thanks.
    Edited by: Craig Cmehil on Jul 18, 2008 10:01 AM

    try this it will do little bit closer to encription and decription
    DATA:
    g_key TYPE i VALUE 26101957,
    g_slen TYPE i,
    g_pwd type string VALUE 'Pass1234',
    g_pwd1 type xstring ,
    obj type ref to cl_http_utility.
    CREATE OBJECT obj.
    CALL METHOD obj->if_http_utility~encode_utf8
      EXPORTING
        unencoded         = g_pwd
      receiving
        encoded           = g_pwd1
      EXCEPTIONS
        conversion_failed = 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.
    CALL METHOD obj->if_http_utility~decode_utf8
      EXPORTING
        encoded           = g_pwd1
      receiving
        unencoded         = g_pwd
    EXCEPTIONS
       conversion_failed = 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.
    write:/ g_pwd.

  • Hanlding Unit Pack and Unpack Function module

    Hi All,
        Can any one know the functiona modules for PACK Handling Unit and UNPACK Handling Unit? If so please reply me.
    Thanks,
      Pranav

    Hi,
    Please check this FM.
    PACK_HANDLING_UNIT
    UNPACK_HANDLING_UNIT
    Hope this will help.
    Regards,
    Ferry Lianto

  • SE37 and test function module

    I have an importing parameter in function module interface, type BEGDA (type DATUM), default value SY-DATUM.
    When I execute test function module via SE37 and F8, the default value gets value "02....20.3" instead of 03.02.2012 as set up in SU01 for my user.
    What can be wrong?

    At the risk of also incurring your scorn, let me add that I cannot make this fail, using exactly what you have in the original post.  Obviously, something unusual is happening this client/instance, or in code that is manipulating the incoming date value.... my dd.mm.yyyy input defaulted to sy-datum shows 20120306 in begda duringe execution (in debug).  Without being able to debug the mentioned FM at every step, it would be hard to pinpoint a specific problem.

  • Pricing and Rebates Function Module

    Hi,
       I need function module for uploading the prices in  the following transaction
      VK11 : Creation of condition type
      VK12 : Change of condition type  and
      VB01 : Creation of Rebate Agreements
      VB01 : Change of Rebate Agreements
      Please, Let me the function module.
    Regards,
    M.Saravanan

    Hi,
    check the FM BAPI_PRICES_CONDITIONS for Pricing conditions .
    Because this is FM which is INBOUND FM for Cond_A02 idoc type for posting Pricing Routines,
    <REMOVED BY MODERATOR>
    Raj
    Edited by: Raj D on Jun 13, 2008 5:11 PM
    Edited by: Alvaro Tejada Galindo on Jun 13, 2008 11:12 AM

  • Delete and rename function module

    Hi,
    I have created a function module, but wanted to rename it afterwards.
    that was not possible, because I have got the message, that it´s locked in any transport requests.
    So I have copied the function and want to delete the old one now. But the same problem...
    I have removed the object entry on "function modules" in the request, but I still get the message, that
    it´s locked in the request.
    What can I do to delete and rename the functions?
    Thank you!

    hi ,
    GO to se03.
    in that you can see , search for objects in request /tasks.
    click that ,
    in the object selection screen
    in R3TR / FUGR  - 'Give that function group name'.
    you can get all the request , where that function group exists.
    Note down the requests.
    Then, go back in se03 itself.
    There u can see 'unlock objects'.
    give the transport numbers in that. It will unlock the function module.
    Hope , it vil solve it.
    Regards,
    sabari

  • BW Upgrade and Missing Function Modules

    We just upgraded our BW development system from 3.1 to 3.5 with 353 content and we found out all our customer developed function modules are missing from the upgraded version. Our custom function groups are named "ZBIW" and function modules start with "ZBW*". Would this have caused any problems? Should our modules have started with "Z_" as opposed to "Z".
    Any help is greatly appreciated.
    Thanks
    Shai

    Hi Dinesh,
    But the back up is taken prior to upgrade. I do not know if we will end up in more problems, trying to restore objects from different versions of BW.
    Thanks
    Shai

  • What is the difference using start condition and check function module

    what is the difference  between using start condition and check function module

    That's new to me, I thought a start condition was evaluated before the workflow started, and thus now workflow work item is available. That's why I think the only situation in which start conditions/check functions can't be used, is when the availability of a workflow log for investigation of exactly what stopped the workflow is a requirement.
    I suppose the <a href="http://help.sap.com/saphelp_46c/helpdata/en/4c/86bf43feca11d2a64f0060087a79ea/frameset.htm">SAP documentation</a> is in need of an update.

  • GTS tables relations and important function modules

    Hi Friends,
    I am totally new for the developments in GTS.  Wanted some help on the  tables for master data, transactional data in GTS. 
    Also what are the important function modules used in GTS.
    Anybody can give me some inputs on the above..?
    regards
    Nalin

    Well, passing a table thru the interface with no type is easy, just don't assign a structure when defining the interface.  It will then take its structure by what is being passed to it. 
    So if you would pass an internal table to it with the structure like so.
    Data: begin of itab occurs 0,
          line(1000) type c,
          end  of itab.
    Then that is the structure inside the function module. 
    Did this answer your question?   Please explain further if not.
    Regards,
    Rich Heilman

  • Crystal Reports and SAP Function Modules

    Hi
    Am very new to Crystal Reports. Am developing a new report. my question is can I link a SAP FM on crystal and will it display the results on the FM on crystal.

    Hi,
    yes Crystal Reports can leverage ABAP Functions. You can find the details in the documentation for the SAP Integration Kit
    Ingo

Maybe you are looking for

  • How to wrap the text in a popup LOV item ( Apex 4.0 )

    Hi I have a popup LOV type item with a very long string value I would like to format the item so itr will be shorter but have the string wrap to multiple lines. Can you let me know how that can be achieved ? thanks O

  • External monitor (t60p)

    When attaching an external monitor all I get is is a flickoring image of what it should have been. Is it the external port or does anybody have the same problem? It used to work, and I can't remember the excact circumstances when it stopped working -

  • Year Ago Measure group by problem.

    Hi, In my report I have two measures Revenue and Revenue Year Ago. Revenue Year ago is calculated based on the Ago functionalty and the time dimension level is "Year" AGO(Fact.Revenue, TimeDimnesion."Year", 1). The problem is that the column measure

  • Mapping - reusing other queue

    Hi guys, Is there any way how I can use already mapped values for mapping for other target element? let's say, my target document is: ><body> ><nodeA> >  <nodeB> >  <nodeC> ></nodeA> ><nodeA> >  <nodeB> >  <nodeC> ></nodeA> ></body> I have already ma

  • Customer Tool use in production

    Dear all, in my project scenario, customer will order for a tool to plant. tool will be purchased by plant with different material number. then plant will bill the tool to customer. logically after billing, only billing doc will be send to customer b