Purpose of STATUS_READ function module

Hi ,
Can anyone explain the purpose of using STATUS_READ function module.
Regards
Rishikesh

The function module reads a status object in the status management
internal buffer and delivers all or all active single statuses of the
status object.
<b> Parameters</b>
     CLIENT----
client no
     OBJNR----
Object number of status object to be read,
                                   Object number must exist intable JSTO.
     ONLY_ACTIVE----
'Transfer Active Statuses Only' Flag
                                   Only those statuses are given that are currently active.
     OBTYP----
Object type of status object
     STSMA----
status profile assigned to the object
     STONR----
Status number, i.e. status number of the only status currently active with status number or 00 if such is not active.(00 - 99)
     STATUS----
Single statuses table
     STATUS-STAT contains the status in internal format (Ixxxx, Exxxx).
      If the STATUS-INACT field is initial, the status is active, if it is 'X'
      the status is inactive.

Similar Messages

  • Pls explain me the use and purpose of following Function modules

    pls explain me the use and purpose of following Function modules
    1. G_MAX_PERIOD_AND_OFFSET_GET
    2.  DEQUEUE_E_TABLE
    3. FI_COMPANY_CODE_CHECK
    4. G_PERIOD_GET
    5. alv_display_function
    6. G_SET_GET_ID_FROM_NAME
    thanks ,
    phyrose

    1. <b>G_MAX_PERIOD_AND_OFFSET_GET</b>
    For given No. of period & periods it gives the offset
    <b>2. DEQUEUE_E_TABLE</b>
    To Unlock the table records
    <b>3. FI_COMPANY_CODE_CHECK</b>
    To validate Company Code
    <b>
    4. G_PERIOD_GET</b>
    Returns no. of Posting period & Special period for give company code, posting date & ledger
    <b>5. alv_display_function</b> -
    No such FM exists
    <b>
    6. G_SET_GET_ID_FROM_NAME -</b> Use this module to derive the internal set Id from the name that appears on the user interface, for example, in order then to import the set (see the function group documentation).
    The function module first determines a candidate list of sets based on the set name and the class that might have been specified that could match the set name. The class can also be masked (e.g. 000+ for all FI-SL sets, including dynamic sets).

  • Status_read Function module

    hi
    i am creating custom RF transaction.
    in that i am scanning Handling unit numbers and checking with vekp table.if it is true then  i am passing this values to status_read function module, it is going to dump.
    can anybody tell me what is meant by object number in status_read function module?
    am i passing any wrong data?
    thanks and regards
    vennila.

    OBJNR is equivalent to VBAP-OBJNR or aufk-objnr
    for a given order ( production order, purchase order, sales order) the order will be assigned with a unique number which is called object number. So if u have a OBJNR of Production order / work order it will be unique for each.
    if you are testing the FM try giving the padding zeros, that might help.
    the dump might be caused because you are giving some other number in the place of object number.
    Award points if helpful

  • Purpose of the function modules BAPI_IOBJ_GETDETAIL, BAPI_MDPROVIDER_GET_ME

    Hi,
    Can any one please explain the following doubts...
    1) What is the purpose of the function modules BAPI_IOBJ_GETDETAIL, BAPI_MDPROVIDER_GET_MEMBERS and when will they be used in BW, the purpose.
    2) What are the different function modules useful in tracing the performance on the BW Side?
    Thanks & Regrads,
    Dinakar.

    HI,
    BAPI_IOBJ_GETDETAIL:
    To get the information about the InfoObjects.
    BAPI_MDPROVIDER_GET_MEMBERS:
    when you call BAPI_MDPROVIDER_GET_MEMBERS, BI hierarchies with
    time-dependent names or time-dependent structures are also evaluated with the
    current key date.
    Check this thread and the link
    List Of BAPIs used for Extraction..?
    http://help.sap.com/saphelp_nw04s/helpdata/en/9b/c1993c54966f3ae10000000a114084/frameset.htm

  • Purpose of this function module?

    Hi Abapers,
    Please let me know the purpose of this function module.
    RH_START_EXCEL_WITH_DATA.
    regards,
    vijay

    Hi vijay,
    1. Suppose i want to show some data
       DIRECTLY IN EXCEL,
       from my internal table.
    2. Just copy paste in new program.
      (it will show data from T001 Table,
       directly into excel)
    3.
    report abc.
    data  : itab like table of t001 with header line.
    select * from t001 into CORRESPONDING FIELDS OF table itab.
    CALL FUNCTION 'RH_START_EXCEL_WITH_DATA'
      EXPORTING
        DATA_FILENAME       = '\ABCdd.XLS'
        DATA_TABLE          = ITAB[]
        WAIT                = 'X'
        DELETE_FILE         = 'X'
      EXCEPTIONS
        NO_BATCH            = 1
        EXCEL_NOT_INSTALLED = 2
        INTERNAL_ERROR      = 3
        CANCELLED           = 4
        DOWNLOAD_ERROR      = 5
        NO_AUTHORITY        = 6
        FILE_NOT_DELETED    = 7
        OTHERS              = 8.
    regards,
    amit m.

  • Purpose of this function module:HR_BEN_MAP_SELOPT_TO_DYNSEL

    Hi,
    I could see in many benefit standard programs using the function module HR_BEN_MAP_SELOPT_TO_DYNSEL. I just want to know purpose of this.
    This FM does not have any documentation to know what it is.
    Please share if you know why and how it works.
    Thanks,
    Ravi.

    Speaking as someone who happens to be named Michael Broughton ;), let me note that I did not depend on trying to parse the OWB runtime repository to determine the last run status for a given mapping. I used a set of our own tables that we use to audit various processes that run against our database.
    Similar to you, we had the notion of a master process and sub-processes. So, our load could be described as:
    Insert master process row with status "Started".
    For each mapping to execute:
    insert a sub-process row with status "started"
    if the last run of the master process ran to "COMPLETE", or the last run of this master process ran to "FAILED" but there is no row for this sub-process with status "COMPLETE", then we need to run the process. run it and update the sub-process row with the return status. If status <> OK, then update master process to status "FAILED" and exit.
    otherwise, If we determined that the mapping did not need to be executed, then update the sub-process row with status "COMPLETE"
    We put in the stubs for the processes whether we need to run them or not so that if the load fails multiple times, each run will contain the complete list of mappings that were completed.
    In point of fact, if you insert the stubs when skipping over mappings during a restart then you can condense the "do I need to run this time" logic to: Run allways unless the last master process run failed but this process succeeded.
    How you want to code that query will depend entirely on how you are saving your data.
    Hope this helps. I'd offer code snippets but I away from my work 'puter 'til next week.
    Mike

  • Functional module for PM order Status

    Hi All,
    Could any body suggest me the functional module to get PM order status as on particular date or can any body explain me how can I get the status on the particular date.
    Thanks and regards,
    Basavaraj.

    Check below links. There are lot available in this forum.
    Purpose of STATUS_READ function module
    FM to get Production Order user status (CO03) and system status
    How to find work order system status & user status

  • Sap Function module

    Hello
    May I know is there any existing SAP function module that can be used to read description of status for table VBUK-KOSTA,FKSTA,WBSTA etc .. (picking status, billing status).
    Points will be rewarded if answer is helpful. TQ
    Message was edited by:
            Hui Leng Yeoh

    hi,
    Refer to this related thread
    Purpose of STATUS_READ function module
    Regards,
    Santosh

  • Function Modules for Cycle Counting in Warehouse Management.

    Hi All,
    Can anyone provide me with a list of function modules related to Cycle Counting in Warehouse Management? Also, what is the procedure to find these in SE37?
    Many thanks in advance.
    avi

    Hello Avi,
    What is the purpose of this functional module / BAPI? for Inv document creation or change or display or inventory count update or clear difference?
    Complete BAPI list is available in the first thread of this forum.
    Your answer will help us to provide accurate ansdre.
    To to SE37 -> Press F4 -> SAP Applications --> LE --> LE-WM here you will find all LE related FM or BAPI.
    Hope this helps.
    Regards
    Arif Mansuri

  • Function module VERBRAUCH_BCO

    Hi,
    Can anybody explain me the purpose of the function module
    AUFBAU_WERTETABELLE
    VERBRAUCH_BCO
    WERTE_ZU_WERKSMATERIAL.
    Within this function module we are fetching the Material consumption from MVER table based upon plant and vendor. Can i get some more details related to this function modules and exact purpose of this function modules.
    thanks,
    Revathi V.

    hi zakir,
             Function module to Explode BOM is
         CS_BOM_EXPL_MAT_V2

  • Use of Function Module SD_SALES_ITEM_MAINTAIN...

    Hi friends,
    Some one please tell me what is the purpose of the function module SD_SALES_ITEM_MAINTAIN. Can we use it to create a sales item or just to update an existing item?. Please detail me in this regard.
    Thanx in advance,
    Ram

    you can use it to update item.
    check FMs SD_SALES_DOCUMENT_READ, SD_SALES*....
    You need to use at least READ , MAINTAIN, SAVE modules.
    NOTE:
    - SD_SALES_ITEM_MAINTAIN does not set sy-tcode to VA02.... so if you have any checks in your code in userexits for VA02 - they are not oging to work.
    - it does all validaitons at once... so even if you have not changed a field - it's going to validate if the value is valid...
    - I'm sure you'll hit some other issues with this FM.
    The advantage is - works faster than VA02 in batch input.

  • Information about the function module SAPWL_READ_STATISTIC_FILES

    Hi all,
           I want to know the use of the given sap standard function module SAPWL_READ_STATISTIC_FILES.
         In this all_stats change parameter is there. what exactly it is returning i want to know and what is the purpose of this function module? There is no documentation available in english language for this.
    thanks in advance
    g.s.naidu

    Hi Mahalakshmi garu
                    Yes,  the previous thread itself has been posted by me, but till now i didnt get the purpose of that function module. as you said it reads the historical records for a day or week or month. Thats right but can you give me some more details like the same in depth.
    Thanks
    g.s.naidu

  • About Function module reltate to Enhancement

    Hi All,
    i need to know about the Usage and purpose of the function module FKK_BP_BADI_UPDATE.
    Kindly help me to know about this function module

    Hi Venkat,
    The function module BAPI_CUBE_GETDETAIL provides you the detials of infocube (including dimension, characteristics, keyfigures etc).
    Moreoverthis FM is RFC enabled; so you can call this FM from DEV and pass RFC connection of PROD to get detials of the cube in prod. This compare the structures between DEV and PROD.
    Similarly you can use BAPI_ODSO_GETDETAIL from DSO structure comparision across the system landscape.
    Thanks
    Vasu

  • Function modules RS_CONV_EX_2_IN,  RS_DS_CONV_IN_2_EX

    Hello,
    Kindly advice me what is the use / purpose of SAP Function modules RS_CONV_EX_2_IN and RS_DS_CONV_IN_2_EX ?
    I think they work only for character data type input.  What about  other data type like currency ?
    Thanks,
    ANand

    Hello,
    Yes, I have debugged these function modules. But need some details about them.
    My question:
    I have one field on my screen which is character 20. I am putting some amount into this field.
    Now I want to check the input entered by used whether it is valid or not.
    Since the screen field is character, user can input anything.( I mean some alpahbets and other character other than number).
    I want to accept only numeric values and reject any alpahbets and character other than
    '0123456789.,'.
    Please advice me 1) How can I do it?
    2) Whether the above function modules will be useful for it?
    Thanks and rgds,
    Anand

  • What are the parameters of Function Module

    Hi,
    What are the parameters of Function Module?

    Function Modules are special external subroutine stored in a central library. The R/3 system provides numerous predefined function modules that you can call from the ABAP/4 programs.
    All the function Modules are created under the Function Groups. Function Groups are nothing but the related group of function modules.
    The function modules can be maintained through T.CodeSE37 and T.Code SE80.
    In general the function module has the following components.
    Documentation:
    This is the place where you can find the discription/purpose of the function module.
    Import & Export Parameters.
    Import parameters correspond to the formal input parameters of subroutines. They pass data from the calling program to the function module.
    Export parameters correspond to the formal input parameters of subroutines. They pass data from the function module back to the calling program.
    Table Parameters.
    Table parameters are internal tables. Internal tables are treated like changing parameters and are always passed by reference.
    Exceptions.
    Exceptions are used to handle error scenarios which can occur in the function modules. The function modules checks for any type of error and raise exception and returns SY-SUBRC value to the calling program.
    Source Code:
    the programming logic of the function module is written in this source code.
    Rewards if useful.

Maybe you are looking for

  • How to display a help page as part of a extension

    Jdev team, Any extension developer, I am in the process of building an extension for JDev 10.1.3. I have seen showdialog extension sdk samples project, that has some code for displaying help but it doesn't work if I deploy. Can anyone let me know the

  • Solaris 10 problem

    I'm using a server with AMD Opteron 252 CPU and chipsets Nvidia CK8-04, Geforce2 MMX 400. Solaris 10 installation goes smoothly. Except when installation is done and machine is rebooted, this error message appears before loading the Common Environmen

  • Error encountered attempting to contact AdminServer

    I have configured a domain-wide administration port(7077) for my cluster.      <Domain AdministrationPort="7077" AdministrationPortEnabled="true" However when I start the managed server I got following errors: <Sep 19, 2002 10:24:28 AM EDT> <Error> <

  • Keychain not generating keys for email certificates

    In trying to set up email signing for two different machines I ran into a problem when adding email authentication certificates from Comodo.  After downloading the .p7s files each of the users double clicked the files, adding them to their key chains

  • Can you rename the destops in the misson control

    Can i rename the destops rather than having dashboard, destop1, destop2 etc. Can i name the destop1 to something else?