Is there any function module to get the purchase order conditions from EONP

Hi,
I want to get the EONP and EONH table details for the purchase orders with the help of function module. Can anyone tell me any function module name which would give me those details.
Thanks,
Atanu

Hi
Check with BAPI function module BAPI_PO_GETDETAIL and BAPI_PO_GETDETAIL1.
Regards
Srilaxmi

Similar Messages

  • Is there any function module to get the variables used in a query?

    Hi experts
    Please, do you know if is there any function module to get the variables used in a query?
    Thanks and regards
    Luis

    Hi Srini
    Yes, I have checked the tables but I need a function module
    Thanks anyway!
    Luis

  • Is there any function module to get the no. of days in a month?

    hi all,
    if i have the month and year then is there any FM by which i can get the no. of dayz in that month?
    regards,
    shweta upadhyay.

    Hi swetha,
    i have written my own function module,may be it helps u.
    ""Local interface:
    *"  IMPORTING
    *"     VALUE(DAY_IN) LIKE  SY-DATUM
    *"  EXPORTING
    *"     VALUE(FIRST_DAY_OF_MONTH) LIKE  SY-DATUM
    *"     VALUE(LAST_DAY_OF_MONTH) LIKE  SY-DATUM
    *"     VALUE(NUMBER_OF_DAYS) TYPE  I
    *"  EXCEPTIONS
    *"      DAY_IN_NO_DATE
      DATA: BEGIN OF DATE,
              J(4),
              M(2),
              T(2),
            END OF DATE.
      DATA: ZAHL TYPE I.
      DATA: DAYS_SUBTRACT TYPE I.
      DATA: XDATUM TYPE D.
      XDATUM = DAY_IN.
      XDATUM+6(2) = '01'.
      XDATUM = XDATUM + 35.
      XDATUM+6(2) = '01'. XDATUM = XDATUM - 1.
      NUMBER_OF_DAYS = XDATUM+6(2).
      DATE = DAY_IN.
      IF DATE-M LT JANUARY OR DATE-M GT DECEMBER.             
        raise DAY_IN_NO_DATE.
      ENDIF.
      IF DATE-J LT LOWDATE.                 
        raise DAY_IN_NO_DATE.
      ENDIF.
      IF DATE-J EQ HIGHDATE-J AND
         DATE-M EQ HIGHDATE-M.
        LAST_DAY_OF_MONTH = HIGHDATE.
      ELSE.
        IF DATE-M EQ DECEMBER.
          ZAHL = DATE-J + 1.
          UNPACK ZAHL TO DATE-J.
          DATE-M = FRIST.
          DAYS_SUBTRACT =   NUMBER_OF_DAYS - 1.
        ELSE.
          ZAHL = DATE-M + 1.
          UNPACK ZAHL TO DATE-M.
          DAYS_SUBTRACT =   NUMBER_OF_DAYS - 0.
        ENDIF.
    First of the subsequent month
        DATE-T = FRIST.
        LAST_DAY_OF_MONTH = DATE.
        FIRST_DAY_OF_MONTH = DATE.
        SUBTRACT 1 FROM LAST_DAY_OF_MONTH.
        SUBTRACT DAYS_SUBTRACT FROM FIRST_DAY_OF_MONTH.
      ENDIF.
    ENDFUNCTION.
    regards,
    nagaraj

  • Is there any function module to get the data from st06?

    Hi,
    I'm new to this forum.
    I would like to know if there is a way (maybe some function modules) to collect information like system architecture, and databases as displayed in transaction st06?
    I would like to call it from external program in order to view part of the data available in st06.
    Thanks,
    Erez Gordon.

    have a look at function group SMON.
    Not sure if these are remote enabled, otherwise create a wrapper function module (RFC).
    Edited by: Micky Oestreich on Dec 11, 2008 9:37 AM

  • Is there any function module for getting distribution list name

    Hi all,
    Is there any function module for getting distribution list name when there is same description for two distribution list name.
    or
    help me how to fetch the correct distribution name when there is same description.
    In order to send mails.
    Tell me ASAP.
    thanks
    sagar.

    http://www.sapbrainsonline.com/REFERENCES/FunctionModules/SAP_function_modules_list.html
    list of Fms

  • Is there any function module to convert the date format

    Dear ABAPers,
    Is there any function module to convert the date format from dd.mm.yyyy to dd-mmm-yyyy.
           I want to convert the date format from dd.mm.yyy to dd.mmm.yyy Eg.from 10.03.2008 to 10-mar-2009.
    Thanks & Regards,
    Ashok.

    hi,
    create custom function module or copy the below code in the report ..and use it
    the out put for below is :----Convert a DATE field into a full format date eg. March 23, 2000
    FUNCTION Z_CONVERT_DATE_INTO_FULL_DATE.
    ""Local interface:
    *"       IMPORTING
    *"             VALUE(DATE) LIKE  SY-DATUM
    *"       EXPORTING
    *"             VALUE(FORMATTED_DATE)
    *"       EXCEPTIONS
    *"              INVALID_DATE
    TABLES: TTDTG.
    DATA: BEGIN OF T_DATE,
            YYYY(4) TYPE C,
            MM(2) TYPE C,
            DD(2) TYPE C,
          END OF T_DATE.
    DATA: DAY(3) TYPE N.
    DATA: VARNAME LIKE TTDTG-VARNAME.
    IF DATE IS INITIAL.
      CLEAR FORMATTED_DATE.
      EXIT.
    ENDIF.
    check document date format
    CALL FUNCTION 'DATE_CHECK_PLAUSIBILITY'
      EXPORTING
        DATE = DATE
      EXCEPTIONS
        PLAUSIBILITY_CHECK_FAILED = 1.
    IF SY-SUBRC NE 0.
      RAISE INVALID_DATE.
    ENDIF.
    MOVE DATE TO T_DATE.
    CONCATENATE '%%SAPSCRIPT_MMM_' T_DATE-MM INTO VARNAME.
    SELECT SINGLE * FROM TTDTG WHERE SPRAS = 'EN' AND VARNAME = VARNAME.
    WRITE T_DATE-DD TO DAY.
    CONCATENATE DAY ',' INTO DAY.
    CONCATENATE TTDTG-VARVALUE DAY T_DATE-YYYY INTO FORMATTED_DATE
      SEPARATED BY SPACE.
    ENDFUNCTION.
    the output is :--Convert a DATE field into a full format date eg. March 23, 2000
    Regards,
    Prabhudas

  • Is there any function module to Change the System Status

    Dear ABAPers,
             I am working in the Customer Service Module.I want to change the System status.
    Is there any function module to change the System Status.
    Thanks & Regards,
    Ashok.

    Hi Ashok
    Service Order status update function module ?
    How to set the system status
    Check above threads,
    Regards,
    Syf

  • Is there any function module to get vc characteristics and its value using material number?

    Hi Experts,
    I am using BAPI_CLASS_GET_CHARACTERISTICS, BAPI_OBJCL_GETCLASSES to get characteristics description and its values.
    Is there any other Function module to pull this values using material number?
    Thanks in Advance.
    Ramkumar

    Have you tried this BAPI_OBJCL_GETDETAIL
    Import parameters
    MATNR value in the OBJECTKEY
    MARA in OBJECTTABLE
    Class name in CLASSNUM
    '001' in CLASSTYPE
    You will get the Class Characteristics data into these tables:
    ALLOCVALUESNUM
    ALLOCVALUESCHAR
    Jogeswara Rao K

  • Is there any Function Module will give the Transactional data of a cube?

    Hi Experts,
    I have one Infocube Zco3_BILT , I need to write a routine (BADI Program)on top of this info cube  to fetch a characterstic value in the infocube.
    F table  & Etable wont give any characterstic values.
    Is There any SAP provided FM to give characterstic values of the Infocube.
    Thanks in advance.
    Regards
    Mohan

    Hi Mohan,
    this is correct since the values are stored in different tables (fact, dimension etc) due to star sheme modelling. As far as I know there is no standard function module for this issue.
    However ABAP report RSDD_SHOW_ICUBE might help. This is the report for transaction listcube, all relevant data is build up, there you should find all necessary steps and standard reports/modules to fetch the required characteristic value. Although I do not know the exact requirement you will probably have to work with SID values.
    Perhaps this will help resolving your issue.
    Best Regards,
    Marcel

  • Is there any Function Module  to delete the  Responsibility for buyer

    Hi,
            I am able to insert a responsibility for a buyer using the FM, BBP_UPDATE_ATTRIBUTES. Can any one can tell me is there any FM to delete the responsibity for buyer. The BBP_UPDATE_ATTRIBUTES is not working for deletion and It is taking lot of time when i am trying to delete rsponsibility by using  the transactio code PPOSA_BBP .
    I found one badi, HRBAS00INFTY but there are no exporting or changing parameters in that badi to write some logic to delete.
    The  FM ,RH_BASE_UPDATE_DB_DIALOG is getting executed and updating the data base tables after the above badi got executed. can i use this FM ,RH_BASE_UPDATE_DB_DIALOG directly to delete the responsibility?I think it is not recomended.
    can any one give me some idea.

    Hi. You can use transaction PP01 instead of PPOMA_BBP.
    You might have to make some settings in table T777I to allow the responsibility to be maintained from PP01, but it it a lot faster than PPOMA_BBP, and you could use an ECATT or call transaction on PP01.
    You can also delete all the infotype using PP01, basically delete all the responsibility in 1 go if that is any use? Try all this in a test system first toget used to it though.
    Regards,
    Dave.

  • BAPI or Function Module for getting Pending Purchase Orders Information

    Dear Sir,
    We have input information comprising of  :
    List of Item Codes
    Plant
    WBS Element
    For this input data set , We want to know the list of Pending Purchase Orders information . To get the desired information , we are looking for the suitable  BAPI / Function Module which can provide the desired information .
    I understand that there is ME2L tcode availavle which can give the desired information .
    But as we need to use the information in one of our Z program , so we need the  BAPI / Function Module  .
    Kindly help us to know the suitable  BAPI / Function Module  available for getting the desired information .
    With Thanks and Rgds
    Sonia Agarwal

    Hi
    Check if this is helpfull:
    BAPI_PO_GETDETAIL
    BAPI_PO_GETDETAIL1
    regards,

  • Function Module to get the TIMESTAMP

    Hi,
    Is there any function module to get the TIMESTAMP as Outout , if i give input Time and Date.
    Or,
    If I go for the concatenate statement.. Do I need to concate the commas in to the target field?
    Because,
    I am not getting the proper result with this concatenate statement where I concatenated the YYYYMMDDHHMMSS in to the DECIMAL 15 Variable.
    Thanks,
    Naveen Inuganti.

    Hi use
    IB_CONVERT_INTO_TIMESTAMP' or IB_CONVERT_FROM_TIMESTAMP'
    Example:
    * Declaring the work variables.......................
    DATA :
      timestamp like TZONREF-TSTAMPS,
      time      like sy-uzeit,
      date      like sy-datum.
    * The following function module is used to convert the
    * time and date into GMT timestamp
    CALL FUNCTION 'IB_CONVERT_INTO_TIMESTAMP'
      EXPORTING
        i_datlo           = sy-datum
        i_timlo           = sy-uzeit
        I_TZONE           = 'INDIA'
    IMPORTING
       E_TIMESTAMP       = timestamp.
    * The following function module is used to convert the
    * above obtained timestamp to PST time zone date and time.
    CALL FUNCTION 'IB_CONVERT_FROM_TIMESTAMP'
      EXPORTING
        i_timestamp       = timestamp
        I_TZONE           = 'PST'
    IMPORTING
        E_DATLO           = date
        E_TIMLO           = time.
    write :/ 'Date and Time at PST zone is ',date, time.

  • Function module to get the sequence numbers based on PERNR & payroll period

    Hi,
        Right now i am using the function module 'CU_READ_RGDIR' to get the sequence number based on the PERNR. Once i get the data i am filtering based on payroll periods (begin date and end date). Is there any function module to get the sequence number directly based on PERNR and payroll period dates? if so could you let me know.
    Thanks
    Satya

    I think thats the only way
    CALL FUNCTION 'CU_READ_RGDIR'
        EXPORTING
          persnr          = p0001-pernr
        TABLES
          in_rgdir        = it_rgdir
        EXCEPTIONS
          no_record_found = 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.
    check whether "Pay date for payroll result" with in Start Date and
                  End date, and "Reason for Off-Cycle Payroll" is initial
      LOOP AT it_rgdir WHERE paydt >= v_begda
                             AND paydt <= v_endda AND
                             void IS INITIAL
                             AND ocrsn IS INITIAL
                             AND srtza = 'A'.
        v_seqnr = it_rgdir-seqnr.
    ENDLOOP.
    Hope this helps.
    Thanks
    Kiran

  • Function module to get the posting period based on date

    Hi to all,
    Is there any function module to get the posting period based on date?
    Regards,
    Nagesh

    hi,
    CALL FUNCTION 'FIRST_DAY_IN_PERIOD_GET'
          EXPORTING
            I_GJAHR        = GV_GJHAR
            I_PERIV        = GC_24
            I_POPER        = GV_POPER
          IMPORTING
            E_DATE         = S_FKDAT-LOW
          EXCEPTIONS
            INPUT_FALSE    = 1
            T009_NOTFOUND  = 2
            T009B_NOTFOUND = 3
            OTHERS         = 4.
        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 FUNCTION 'LAST_DAY_IN_PERIOD_GET'
          EXPORTING
            I_GJAHR        = GV_GJHAR
            I_PERIV        = GC_24
            I_POPER        = GV_POPER
          IMPORTING
            E_DATE         = S_FKDAT-HIGH
          EXCEPTIONS
            INPUT_FALSE    = 1
            T009_NOTFOUND  = 2
            T009B_NOTFOUND = 3
            OTHERS         = 4.
        IF SY-SUBRC <> 0.
          MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
                  WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
        ENDIF.
    ags.

  • Function module to get the wbs element by entering Assignment No.

    Is there any Function module to get the wbs element by entering Assignment No.???????
    Thanks and regards
    Manish Thakur

    hi Manish,
    Just look at this function module.
    function wbs_assignment_check.
    ""Lokale Schnittstelle:
    *"  IMPORTING
    *"     REFERENCE(I_COMPONENT) LIKE  RESBDGET STRUCTURE  RESBDGET
    *"     REFERENCE(I_PSPEL) LIKE  RESB-PSPEL
    *"     REFERENCE(I_RFPNT) LIKE  AFVC-RFPNT
    *"  EXPORTING
    *"     REFERENCE(E_PSPEL) LIKE  RESB-PSPEL
      e_pspel = i_pspel.
    endfunction.
    hope this helps u
    REWARD IF USEFUL
    thanks and regards
    suma sailaja

Maybe you are looking for

  • Performance issue in a package

    Hi Everyone, I have a package that process 40000 rows and it takes 5 hours to complete. I am running the package on oracle version 11.2.0.2.0. I have also enabled a trace and below query that i found to show more time SQL ID: 3pkjpbwnnd2cp Plan Hash:

  • Cannot transfer rented movie to iPod.

    Error message says already transferred to another device (not true!).  This used to work very well and then stopped.  Have not changed computer or iPod.

  • Question about WOL (Wake on LAN) Unicast method

    Hi,  We are trying to get WOL working here on our enterprise network using the Unicast method.  It seems that this method depends on the machine you wish to wake having an entry in the router/switch ARP cache.  The problem is that this cache times ou

  • Videos only Play Audio

    i have an iPod video and iTunes on an hp running windows xp. when i download a tv show, it downloads fine, but it only plays the audio, not the visual of the tv show. it does the same for podcast(idk if podcast's are supposed to have video). i was wo

  • AE CS4 Crashes on startup...

    The problem have driven me crazy...I Launch AE CS4 on winXP SP2, initializing screen shows up,but loading NOTHING...after  2 sec. ...crashes...btw, PS CS4 and illustrator CS4 run smoothly, and older versions of AE(7.0 & CS3) work well without any pro