Function Module for GL open Itmes

Could any body from forum tell me that "there is any Function Module for General Ledge open Items".
Rgds,
Raju

Try the below FMs
BAPI_AR_ACC_GETOPENITEMS -->  Customer account open items at a key date
BAPI_AP_ACC_GETOPENITEMS -->  Vendor Account Open Items at a Key Date
Hope this helps.
Thanks
Balaji

Similar Messages

  • Function Module for GL Open Items

    Could any body from forum tell me that "there is any Function Module for General Ledge open Items".
    Rgds,
    Raju

    user exit F1040001 can be found in SMOD...and this is for
    Reserve for bad debt - calculate percentages
    This is only one available for FBL3N.
    Regards,
    Velumani

  • BADI or function module for updating open purchase orders

    Hi all,
    Does anyone know of a BADI or function module which can be used for updating item prices in open purchase orders?
    All helpful answers are highly appreciated!
    Regards,
    MV

    1 ) execute this program  in se38 .enter the input as transaction code  for which you want list of User
    Exit.
    REPORT z_find_userexit NO STANDARD PAGE HEADING.
    *&  Enter the transaction code that you want to search through in order
    *&  to find which Standard SAP® User Exits exists.
    *& Tables
    TABLES : tstc,     "SAP® Transaction Codes
             tadir,    "Directory of Repository Objects
             modsapt,  "SAP® Enhancements - Short Texts
             modact,   "Modifications
             trdir,    "System table TRDIR
             tfdir,    "Function Module
             enlfdir,  "Additional Attributes for Function Modules
             tstct.    "Transaction Code Texts
    *& Variables
    DATA : jtab LIKE tadir OCCURS 0 WITH HEADER LINE.
    DATA : field1(30).
    DATA : v_devclass LIKE tadir-devclass.
    *& Selection Screen Parameters
    SELECTION-SCREEN BEGIN OF BLOCK a01 WITH FRAME TITLE text-001.
    SELECTION-SCREEN SKIP.
    PARAMETERS : p_tcode LIKE tstc-tcode OBLIGATORY.
    SELECTION-SCREEN SKIP.
    SELECTION-SCREEN END OF BLOCK a01.
    *& Start of main program
    START-OF-SELECTION.
    Validate Transaction Code
      SELECT SINGLE * FROM tstc
        WHERE tcode EQ p_tcode.
    Find Repository Objects for transaction code
      IF sy-subrc EQ 0.
        SELECT SINGLE * FROM tadir
           WHERE pgmid    = 'R3TR'
             AND object   = 'PROG'
             AND obj_name = tstc-pgmna.
        MOVE : tadir-devclass TO v_devclass.
        IF sy-subrc NE 0.
          SELECT SINGLE * FROM trdir
             WHERE name = tstc-pgmna.
          IF trdir-subc EQ 'F'.
            SELECT SINGLE * FROM tfdir
              WHERE pname = tstc-pgmna.
            SELECT SINGLE * FROM enlfdir
              WHERE funcname = tfdir-funcname.
            SELECT SINGLE * FROM tadir
              WHERE pgmid    = 'R3TR'
                AND object   = 'FUGR'
                AND obj_name = enlfdir-area.
            MOVE : tadir-devclass TO v_devclass.
          ENDIF.
        ENDIF.
    Find SAP® Modifications
        SELECT * FROM tadir
          INTO TABLE jtab
          WHERE pgmid    = 'R3TR'
            AND object   = 'SMOD'
            AND devclass = v_devclass.
        SELECT SINGLE * FROM tstct
          WHERE sprsl EQ sy-langu
            AND tcode EQ p_tcode.
        FORMAT COLOR COL_POSITIVE INTENSIFIED OFF.
        WRITE:/(19) 'Transaction Code - ',
        20(20) p_tcode,
        45(50) tstct-ttext.
        SKIP.
        IF NOT jtab[] IS INITIAL.
          WRITE:/(95) sy-uline.
          FORMAT COLOR COL_HEADING INTENSIFIED ON.
          WRITE:/1 sy-vline,
          2 'Exit Name',
          21 sy-vline ,
          22 'Description',
          95 sy-vline.
          WRITE:/(95) sy-uline.
          LOOP AT jtab.
            SELECT SINGLE * FROM modsapt
            WHERE sprsl = sy-langu AND
            name = jtab-obj_name.
            FORMAT COLOR COL_NORMAL INTENSIFIED OFF.
            WRITE:/1 sy-vline,
            2 jtab-obj_name HOTSPOT ON,
            21 sy-vline ,
            22 modsapt-modtext,
            95 sy-vline.
          ENDLOOP.
          WRITE:/(95) sy-uline.
          DESCRIBE TABLE jtab.
          SKIP.
          FORMAT COLOR COL_TOTAL INTENSIFIED ON.
          WRITE:/ 'No of Exits:' , sy-tfill.
        ELSE.
          FORMAT COLOR COL_NEGATIVE INTENSIFIED ON.
          WRITE:/(95) 'No User Exit exists'.
        ENDIF.
      ELSE.
        FORMAT COLOR COL_NEGATIVE INTENSIFIED ON.
        WRITE:/(95) 'Transaction Code Does Not Exist'.
      ENDIF.
    Take the user to SMOD for the Exit that was selected.
    AT LINE-SELECTION.
      GET CURSOR FIELD field1.
      CHECK field1(4) EQ 'JTAB'.
      SET PARAMETER ID 'MON' FIELD sy-lisel+1(10).
      CALL TRANSACTION 'SMOD' AND SKIP FIRST SCREEN.
    2) Second way is to go to transaction code SE93 .enter transaction code click on display.
    There you will see the package. Copy that package name.
    Go to transaction code se84
    Enhancements -customer exits-enhancementsu2014enter package there and execute.
    You will get list of exits.
    3) BAPI for PO change is
    BAPI_PO_CHANGE

  • Function module for customer open item aging report

    Hi all,
    Please let me know the FM for customer open item aging or which FM is used in tcode S_ALR_87012178 to get the age wise open item of customer.
    Thanks in advance
    Regards
    Puneet

    <b><u>Part4</u></b><br />
    <br />
    <pre class="jive-pre"><code class="jive-code jive-java"><font color="red">&quot;&#38;----</font>
    <font color="red">&quot;*&#38;      Form  process_data</font>
    <font color="red">&quot;&#38;----</font>
    FORM PROCESS_DATA .
      DATA : L_TOTAL_TMP(15). <font color="red">&quot; LIKE BSID-DMBTR. </font>
      CLEAR :  L_TOTAL,LPD_TOTALS.
    <font color="red">&quot;* As per Customer accumulate the amount.</font>
    <font color="red">&quot;* For overdue items.</font>
      CLEAR : L_TOTAL_TMP.
      LOOP AT L_OPENDUE_LT.
      CONDENSE L_OPENDUE_LT-DMBTR NO-GAPS.
      L_TOTAL_TMP = L_TOTAL_TMP + L_OPENDUE_LT-DMBTR.
        AT END OF KUNNR.
          LPD_TOTALS-KUNNR = L_OPENDUE_LT-KUNNR.
          LPD_TOTALS-LPD_TOTAL = L_TOTAL_TMP.
          APPEND LPD_TOTALS.
          CLEAR : L_TOTAL_TMP.
        ENDAT.
      ENDLOOP.
      CLEAR :  L_TOTAL,LOA_TOTALS.
    <font color="red">&quot;* As per Customer accumulate the amount.</font>
    <font color="red">&quot;* For Open Items.</font>
      CLEAR : L_TOTAL_TMP.
      LOOP AT L_OPENDUE_LE.
        CONDENSE L_OPENDUE_LE-DMBTR NO-GAPS.
        L_TOTAL_TMP = L_TOTAL_TMP + L_OPENDUE_LE-DMBTR.
        AT END OF KUNNR.
          LOA_TOTALS-KUNNR = L_OPENDUE_LE-KUNNR.
          LOA_TOTALS-LOA_TOTAL = L_TOTAL_TMP.
          APPEND LOA_TOTALS.
          CLEAR : L_TOTAL_TMP.
        ENDAT.
      ENDLOOP.
    <font color="red">&quot;* Get ageing data based slabs, and duedate.</font>
      PERFORM AGEING_DATA.
      LOOP AT L_BSID.
    <font color="red">&quot;* Move the data to final internal table.</font>
        MOVE L_BSID-KUNNR TO FINAL_DATA-KUNNR.
        MOVE L_LANDX TO FINAL_DATA-LANDX.
        MOVE L_PSTLZ TO FINAL_DATA-PSTLZ.
        MOVE L_NAME TO FINAL_DATA-NAME1.
        MOVE L_PHONE TO FINAL_DATA-PHONE.
        MOVE L_SORTL TO FINAL_DATA-SORTL.
        MOVE L_BSID-ZTERM TO FINAL_DATA-ZTERM.  
        MOVE L_BUSAB TO FINAL_DATA-BUSAB.        
        READ TABLE LPD_TOTALS WITH KEY KUNNR = L_BSID-KUNNR.
        IF SY-SUBRC EQ 0.
          MOVE LPD_TOTALS-LPD_TOTAL TO FINAL_DATA-LPD_TOTAL.
        ENDIF.
        READ TABLE LOA_TOTALS WITH KEY KUNNR = L_BSID-KUNNR.
        IF SY-SUBRC EQ 0.
          MOVE LOA_TOTALS-LOA_TOTAL TO FINAL_DATA-LOA_TOTAL.
        ENDIF.
        READ TABLE AGE_DATA WITH KEY KUNNR = L_BSID-KUNNR.
        IF SY-SUBRC EQ 0.
          MOVE AGE_DATA-CURAMT TO FINAL_DATA-CURAMT.
          MOVE AGE_DATA-AMT1 TO FINAL_DATA-AMT1.
          MOVE AGE_DATA-AMT2 TO FINAL_DATA-AMT2.
          MOVE AGE_DATA-AMT3 TO FINAL_DATA-AMT3.
          MOVE AGE_DATA-AMT4 TO FINAL_DATA-AMT4.
          MOVE AGE_DATA-AMT5 TO FINAL_DATA-AMT5.
          MOVE AGE_DATA-AMT6 TO FINAL_DATA-AMT6.
        ENDIF.
        ENDIF.
        APPEND FINAL_DATA.
        CLEAR: FINAL_DATA.
      ENDLOOP.
    ENDFORM.                    <font color="red">&quot; process_data</font>
    </code></pre>

  • Function Module for Opnning Balance

    Hello All,
    Is there any Function Module for getting Openning Balance of Customer and Vendor on a particuler Date.
    Point Assured.
    Thanks & Regards,
    Message was edited by:
            SAPLOVER

    Hi
    Check the fun module
    K_CO_OBJECT_BALANCE_GET
    use the tables BSID and BSAD to get the Customer Opening Balances
    and BSIK and BSAK for the Vendor opening Balances
    Regards
    Anji
    Message was edited by:
            Anji Reddy Vangala

  • Function module for open sales order and open PO

    hi all,
    can anyone please tell me that is there any function module to get open sale order  and also for open purchase order?
    regards saurabh.

    Hi ,
    In EKPO Table u select this fields  Purchase Document no and Item no of Purchsing Document , Material no , and Purchase Order Qty.
    In MSEG Table u select this fields Purchase Document no and Item no of Purchsing Document , Material no , and  Qty.
    Both Tables having  Purchase Document  no , So  Purchase Doucment no throguh  u will get the Material and qty , Finally u Subract the both Material Qty's .
    u will get the Open Po For particular Material.
    If ur not getting ,Inform me .
    Regards ,
    Shankar GJ

  • Function Module for open Purchase Order & Sales Order?

    Hi, commonly I read the data from tables and calculate the open quantity for sales order and purchase order, but I want to know, are there any standard function modules for getting the list of open "purchase order" and "sales order" respectively?
    Thanks and Regards.

    hi Ren,
    u can check all these bapi's related to salesorder
    BAPI_SALESORDER_CHANGE Sales order: Change Sales Order
    BAPI_SALESORDER_CONFIRMDELVRY Sales Order: Confirmation of Delivery; Document Flow Update
    BAPI_SALESORDER_CREATEFROMDAT1 Sales order: Create Sales Order
    BAPI_SALESORDER_CREATEFROMDAT2 Sales order: Create Sales Order
    BAPI_SALESORDER_CREATEFROMDATA Create Sales Order, No More Maintenance
    BAPI_SALESORDER_GETLIST Sales order: List of all Orders for Customer
    BAPI_SALESORDER_GETSTATUS Sales Order: Display Status
    BAPI_SALESORDER_SIMULATE Sales Order: Simulate Sales Order
    May be this FM can help you
    MB_ADD_PURCHASE_ORDER_QUANTITY (Reading and adding open purchase order quantities)
    Regards,
    Naveen

  • Function module for Open Sales Orders.

    Can u any one tell me is there any standard function module to
    retrieve OPEN-SALES orders. I tried to debug VA05 but not of use...
    Thanks in advance,
    Sanjay.

    hi
      you can get open sales orders from vbuk and vbup
        SELECT
             A~VBELN
             A~GBSTK
             B~GBSTA FROM VBUK AS A
             INNER JOIN VBUP AS B
             ON AVBELN = BVBELN  INTO TABLE T_OPENS
             FOR ALL ENTRIES IN T_VBELN WHERE A~VBELN = T_VBELN-VBELN
            AND  A~GBSTK IN ('A','B')
             AND B~GBSTA IN ('A','B').
    in t_vebeln table is haveing sales orders by user selection you can get it like this
    regards,
    varma

  • Function module for GL account open items at a key date

    Is there a function module for "GL account open items at a key date" similar to following for customer and vendor accounts?
    BAPI_AR_ACC_GETOPENITEMS Customer account open items at a key date
    BAPI_AP_ACC_GETOPENITEMS Vendor account open items at a key date
    If not, please suggest any alternatives. I am looking to capture the output of FBL3N (GL account line item display) in a program.
    Thank you in advance.
    Prasanna Pujari

    hi,
    please go through the below link i think it will help u.
    http://sapfunctional.com/FI/GL/Balance.
    Regard
    Abhishek Tripathi

  • BAPI or Function Module to get open orders and open quotation details

    Hi,
    I have requirement to get all the open orders(as in VA05) and all the open quotations( as in VA25) for a sold-to-party. Could you please let me know if there are any BAPIs or Function Modules for the same.
    Thanks,
    Surekha.

    Hi,
    Check if the below helps:
    1.  BAPI_SALESORDER_GETLIST for VA05
    2. BAPI_QUOTATION_GETDETAILBOS for VA25.
    Regards,
    Vivek

  • Is there any function module which gives open invoices &open amount?

    Hello All,
    I want to use function module which gives open invoices with open amount.
    I know 'CUSTOMER_OPEN_ITEMS'  'BAPI_AR_ACC_GETOPENITEMS' function which gives open invoices but does not give open amount.
    Can anyone help me to find such function?

    From this BAPI ,
    BAPI_AR_ACC_GETOPENITEMS, You got amount for items in lc_amount field of lineitems table parameter.
    I hope, it will helpful to you.
    by
    Prasad GVK.

  • Function module for background jobs email

    hi abaper's
                     i hace to create a function module for background jobs this function module have to send an email automatically when a background job is assigned or processed in background.
    thnks n regards
    pardeep kumar

    hi dear
    open this site
    https://weblogs.sdn.sap.com/pub/wlg/781. [original link is broken] [original link is broken] [original link is broken]
    <removed by moderator>
    Edited by: Mike Pokraka on Aug 8, 2008 12:48 PM

  • Creation of function module for updating the ztable

    Hi,
    I am sending the requirement for ceation of function module for updating the ztable.
    Requirement----
    Table Updation rule (New record)
    While creating a new record the calling function will export the following to the table handling function.
    Table field     Probable Values
    ZORDERNO------->     Sales Delivery no in case of sales orderShipment no in case of transfer order
    UNAME----
    >     User ID
    ZORDTYPE----
    >     SALEOR in case of sales orderTRANSF in case of transfer order
    ZREFDOCNO----
    >Sales Order no in case of sales orderPurchase Order no in case of transfer order
    ZREFDOCNO1----
    >Delivery no in case of transfer order
    The table handling function will calculate the following fields
    Table field     Probable Values
    ZREQNO----
    >Running serial number (incremented by 1 for each new record)
    ZREQDAT     -
    >System date
    ZREQTIME----
    >     System time
    ZSTATUS----
    >OPEN (for all new records)
    Before inserting a new record the table handling function will always check if a previous record exists for the same order / shipment no. if record exists the function will not insert a new record.
    Table Updation rule (Status Update)
    While updating a record the calling function will export the following to the table handling function.
    Table field     Probable Values
    ZORDERNO----
    >Sales order no in case of sales orderShipment no in case of transfer order
    ZSTATUS----
    >CANCEL if cancellation successfulERROR if cancellation not possible (order already processed)
    The table handling function will calculate the following fields
    Table field     Probable Values
    ZSTATDAT----
    >System date
    ZSTATTIME----
    >     System time

    Do you have to create/update new record in Ztable through Function Module ?
    or you need to write FM only for validation?
    Any how, you need to create a Program with Input values for the fields of Ztable, and for rest of fields the Value can be calculated based on input as per your requirement.
    Let me know clearly what exactly u need ?
    Regards,
    Kiran

  • Function Module to calculate Open Contract Quantity

    Hi All,
    Is there a function module to calculate Open Contract Quantity?
    Thanks.

    Hi Ravi,
    Thanks for the reply.
    For this FM, i need to pass the Sales Doc Number. Is there an FM where i can pass the contract number?
    Best regards,
    Sindy

  • Function Module for putting Flat File into Application Server

    Hi Pals,
         what is the   Function module for putting my flatfile into application server..
    because i dont have  authorizations to  put my flatfile  into application server directly..
    I know one function mudule is there for that ...so,  can you suggest me.. what is the function module... for that..
    thanks.. and points will be assigned..
    chitti

    Hi,
    well normally you use the method GUI_UPLOAD of class CL_GUI_FRONTEND_SERVICES to upload a file from your client pc. Then you use the abap statements open dataset, transfer and close dataset to put the file to the app-server.
    kind regards
    Siggi

Maybe you are looking for

  • Clients disconnect because of Capabilites change

    Hi all, recently we migrated AIR-LAP1131AG APs from a 4402 WLC running 4.1.185.0 release to a 5508 running 7.6.130.0. After we did that some clients constantly disconnected and reconnected. I strongly assume it has something to do with the additional

  • Find keyword used in Web Dynpro Application?

    Hi folks, I have a simple question with regards to Web Dynpro for ABAP: Is it possible to search in my application for a keyword that I have used? For e.g., I wish to search for the keyword "loop" to find out which parts of my program have this match

  • PS CC 2014 Win: LCS files?

    I'm used to use .lcp lens correction profile files with Lightroom and have produced some myself, but I wonder how the correction works with the Photoshop lens correction filter: The manual says that I need .lcs files, and it even tells me where to pu

  • Phone wont sync to my itunes

    My computer was just reformatted from vista too windows 7 so i had to download itunes again, now my phone wont do anything is there a way i can fix this without screwing up my phone??

  • Windows 7 Home Premium on X200

    My X200 came with Vista Business. I wish to install Windows 7 Home Premium. An upgrade from one to the other isn't an option. What's the easiest way of getting all the Lenovo specific software reinstalled if I opt for a clean install? Is it possible?