Abap function module for material standard price.

Dear Team,
Can anyone tell me the abap function module for getting material  standard price respective of date and material code as input.
I have observe table MBEW, where we will get standard price of a material for last change date. Not getting any table where price is coming out wrt of Date for a same material.
Thx in advance
Rgds
sp
kolkata

HI.
FM MSR1_MD_MATPRICE_GETLIST  should help.u.
Regd,
AS

Similar Messages

  • Function modules for material and description

    Hi,
    Pls let me know the function module for material and description.
    Regards,
    Bala

    Hi,
    Please use FM: MD_MATERIAL_GET_TEXT
    Reagrds
    Raju

  • ABAP function module for Customer Specific Status

    I am looking for a standard ABAP function module that will return the customer specific status for a person. 
    Please let me know if any exists.
    Thanks,
    Harini

    Customer specific status for a person .
    Could you pleasee give more details...for what purpose  you are trying to get the status of a person. so that it will be easy for everyone to search

  • Function module for Material

    Hi,
    I have an text table /bic/tmaterial and an internal table ITAB.
    In a function module, i need to get the material numbers of /bic/tmaterial which are not present in ITAB-material(material is a field in internal table ITAB) and for those material no's i need to make an entry in the structure ZSTRUCTURE(which also contains a material no field).
    Help me in the code to make the above functionality possible.
    Please help as soon as possible
    Thanks & Regards,
    Pra
    Edited by: Alvaro Tejada Galindo on Apr 9, 2008 12:08 PM

    With out more information, this code will get you started.
    DATA:
      BEGIN OF mat_rec,
        matnr TYPE matnr,
      END OF mat_rec,
      it_tab     LIKE STANDARD TABLE OF mat_rec,
      zsturcture LIKE STANDARD TABLE OF mat_rec,
      it_file    LIKE STANDARD TABLE OF mat_rec.
    "" read your file into it_file.
    zsturcture = it_tab.
    LOOP AT it_file INTO mat_rec.
      APPEND mat_rec TO zsturcture.
    ENDLOOP.
    SORT zsturcture.
    DELETE ADJACENT DUPLICATES FROM zsturcture.

  • ABAP Function module for BW

    Hello Gurus,
    I am not an ABAPer, I work in BW module.
    I have a requirement to write a routine which will check the following logic
    In BW, I have a field called Posting Date (0PSTNG_DATE). This field is currently set to sy-datum. But i need to write a routine which will find last friday's date and update this field with friday's date.
    Eg: If sy-datum = 03/09/2007 then i need to populate posting date field as 31/08/2007.
    Sy-datum can be any day of the week. But it should always write last week friday's date.
    Is there any standard function module which i can use here.
    Thanks in advance.
    Cheers
    POPS

    Hi,
      call function 'DAY_ATTRIBUTES_GET'
           exporting
                date_from                  = sy-datum
                date_to                    = sy-datum
                language                   = sy-langu
           tables
                day_attributes             = i_day
           exceptions
                factory_calendar_not_found = 01
                holiday_calendar_not_found = 02
                date_has_invalid_format    = 03
                date_inconsistency         = 04.
    if i_day-weekday > 5.
       v_friday = sy-datum - ( i_day-weekday - 5 ).
    endif.
    if i_day-weekday < 5.
       v_friday = sy-datum - ( i_day-weekday + 2 ) .
    endif.
    if i_day-weekday = 5.
       v_friday = sy-datum.
    endif.

  • Function module for material susbstitution in kotd001

    Hi can anyone tell me the function module used for substitution materials in
    kotd001 table.
    points are awarded for everyone.
    thanks
    kishore.

    Hi venkat,
    can you check the below function modules.
    PRODUCT_LIST_EXCLUSION           Material listing & material exclusion      
    PRODUCT_SUBSTITUTION             Material substitution                      
    Thanks
    Ramakrishna

  • Function Module for material determination

    Hi All,
    Using Material determination technique we are forcing a material A to be taken as B.
    we need to use the same logic in other custom developed application, if anyone worked on similar requirement, wanted to know are there are any function modules which will return these results.
    Thanks in Advance
    Regards,
    Kishore Yerra

    Hi,
    Check this link.It is explaining about copying materials.
    http://sap-img.com/abap/bapi-to-copy-materials-from-one-plant-to-another.htm

  • ABAP Function Module for Output File Compression of HTML file

    We would to compress a HTML file that is created during a daily batch run so that it can be sent to the concerned users by email.
    THerefore we are looking for a Function Module and code that can do this for us.
    Please help.
    You can contact me at [email protected]
    Thanks.
    Suresh Rao

    We would to compress a HTML file that is created during a daily batch run so that it can be sent to the concerned users by email.
    THerefore we are looking for a Function Module and code that can do this for us.
    Please help.
    You can contact me at [email protected]
    Thanks.
    Suresh Rao

  • ABAP Function module for Display amount in word

    Dear all,
                Suppose amount is 100 and currency is USD then text display like 0ne hundred dollar. and suppose amount is 100
    and currency is INR then text display like One hundred rupees.can you please suggest me what is the function module to used in smart forms.
    Thanks and Regards,
    Raheem.
    Moderator Message: THE MOST FAQ question in SCN forums. And you never bothered to search.
    Edited by: kishan P on Mar 1, 2012 2:19 PM

    fm SPELL_AMOUNT

  • How to create a Z Function module for the standard FM VIEW_KURGV?

    Hi all,
    There is a requirement to the change the functionality of the standard FM VIEW_KURGV. This FM is being used in a Z report. Hence, I have a copied this FM to a Z FM ZVIEW_KURGV after having created the Z Function Group ZV05E. However, there are a number of standard routines which are present in the standard FM VIEW_KURGV which need to be also created in the Z FM ZVIEW_KURGV. Please advise how to proceed.
    Thanks and regards,
    Anishur

    Instead of copyg the std fm to z, do the following,
    1. Go to se37 open FM VIEW_KURGV in display mode.
    2. Click on the spiral icon on the top.
    3. Then in menu go edit->enhancment options -> show implicit enhancement
    4. """""""""""""""""""""" kind of lines will appear in the cde, just rt click on the line at the place u want to insert the code and select
         enhancement implementation create.
    5. Give apropriate name for thi , it will inset a n place to write your code.
    This is an std sap methodology and is supported in upgradde also.

  • A Function or BAPI to get Material Standard Price?

    Hi All,
    I need a Function or BAPI to get the Material Standard Price when the following Criteria is given;
    1. Material Code
    2. Plant
    3. Period
    4. Year
    5. Company Currency (Optional)
    I need only the Standard Price and Price Unit. Please give me a example with sample values.
    Thanks,
    Kishan

    Sri:
    I need only the Standard Price and Price Unit
    there is no specific FM for that.
    you need to write small select query in FM than use this custom FM into your program.
    Amit.

  • Issue in creating web service for a ABAP Function Module

    Hi,
    now i'm learning how to create web service for a ABAP Function Module. I used the following steps.
    1. select the Function Module, named "zws_test".
    2. in the context menu, select "create->proxy object". so we enter into wizard.
    3. in the wizard, press the radio button "Service Provider".
    4. in the next page, press the radio button "Existing ABAP Objects(Inside Out)".
    5. In the next page, Enter the "zws_test_prvider" as Service Definition and select "Function Module" as Endpoint Type.
    6. in the next page, enter "zws_test" as Function Module and mark the "Mapping der Namen" button
    7. in the next page,select "PRF_DT_IF_SEC_LOW" as Profile and mark "Deploy Service".
    8. Save in the local package.
    9. then it will pop up a window with title "WSDL Source". i selected "URL/HTTP Destination" and press "OK".
    10.in the next page, i enter the URL as "http://hostname:portnumber/", and press "OK".
    11. then it will pop up a window with title "Display logs". A record with error message "HTTP error(return code 404, message "Not found")" appears.
    12. i press "ok" and a service provider with name "zws_test_prvider" appears in my local package.
    13. i use "zws_test_prvider"'s URL to create a service consumer "ZCO_WS_TEST_CONSUMER" and logic portal "LP1".
    14. But when i test my service consumer "ZCO_WS_TEST_CONSUMER", it will throw an exception "cx_ai_system_fault" with errortext "SOAP:14 Unexpected element -el=definitions ns=http://schemas.xmlsoap.org/wsdl/".
    15. I use t-code SM59 to test connection  and get the following info.
          Status HTTP Response     200
          Status Text                      OK
          Duration Test Call             328 ms.
    who can give me the reasons about item 11 and 14, and explain me how to create service provider and service consumer for a Function Module.
    Thanks in advance
    Johnney

    have you seen this weblog
    /people/thomas.jung3/blog/2004/11/15/bsp-150-a-developer146s-journal-part-xiii-developing-abap-webservices

  • Crystal Reports for VS2010 using a custom SAP ABAP function module data source

    I recently worked with Crystal Reports 2011 and was able to connect and retrieve data from our R/3 system via an ABAP function module. While researching other features, I found this version that can be installed into Visual Studio 2010. The parameters are not very user friendly in Crystal Reports so I was hoping to create a custom dialog to collect my report parameters.
    Does anyone know if I were to install Crystal Reports for Visual Studio 2010, would I be able to design a front-end selection screen in a Visual Basic form and then pass the input to through the Crystal Reports connection to my ABAP function module to retrieve the data filtered on the back-end by the selection screen parameters and return the results to be reported in the Crystal Reports output?
    I am using Visual Studio 2010 Professional Visual Basic with the .NET Framework 4.0 on 32-bit Windows 7. I was able to connect to our R/3 system in Crystal Reports 2011, so if I were to install Crystal Reports for VS2010, would there be a similar way of connecting to SAP?
    Any assistance or direction would be greatly appreciated.
    Thanks,
    Bryan

    Hello Bryan
    I don't know for sure, but I doubt this will work in CRVS2010. Only hope is that the utility available for download in this KBA will point you in the right direction.
    - Ludek
    Follow us on Twitter
    Got Enhancement ideas? Try the SAP Idea Place
    Share Your Knowledge in SCN Topic Spaces

  • Standard BAPI or Function Module for FB01posting

    Hi Experts,
    My requirement is as follows.
    Invoice details would be sent across from Middleware to SAP and for which I have developed a Custom Remote Enabled Function Module. The Function Module needs to post the data using FB01 Transaction.
    I had planned for recording a BDC for FB01 and post the data, however, we are on the verge of getting upgraded from 4.7 to ECC 6.0. To avoid problems that we might face for change of screens in ECC 6.0, I would prefer using a BAPI or Function Module for FB01 posting, if available, instead of BDC.
    Data coming from Middleware are as follows.
    HEADER:
    BKPF-BLDAT :  Document Date
    BKPF-BUDAT : Posting Date
    BKPF-XBLNR: Reference (Invoice#)
    BKPF-BLART : Document Type
    BKPF-BUKRS : Company Code
    BKPF-BKTXT : DocHeader Text
    BKPF-WAERS : Currency
    LINE ITEM:
    BSEG-LIFNR : Vendor no
    BSEG-WRBTR - Total amt -Debit/Credit -Vendor
    BSEG-ZUONR : Assignment field
    BSEG-EMPFB : Alternative Payee
    BSEG-UZAWE : Payment Method Supplement
    BSEG-ZTERM : Pmt terms
    BSEG-KOSTL : Costcenter
    BSEG-HKONT : GL AccountNumber
    BSEG-WRBTR : Amount for GL
    BSEG-SGTXT : Line item text
    The Vendor Line Item would be one where as GL line items could me more than one.
    Can any of you suggest me a standard BAPI or Func Mod?
    Points will be awarded for valuable inputs.
    Thanks to all!!!!

    You can use RFBIBL00 program for FB01 postings. Go through the program help on how to use this program.
    This program requires a file to be on application server in a certain format.
    You may also refer the program RFBIBLT0 on how the file format should be.
    Hope this helps.
    Thanks,
    SKJ

  • Standard function module for checking the sales organization and plant

    Hi all,
        Does have standard function module for checking the relationship between sales organization and plant?
    Thanks a lot!
    Nina

    hi
    good
    check these BAPIS
    BAPI_SALESGROUP_GET_DETAIL     Sales Group: Display Name                                                
    BAPI_SALESOFFICE_GET_DETAIL    Sales Office: Display Name                                               
    BAPI_SALESOFFICE_GRP_EXIST     Sales Office / Sales Group: Existence Check                              
    BAPI_SALESORG_EXIST            Sales Organization: Existence Check                                      
    BAPI_SALESORG_GET_DETAIL       Sales Organization: Display Data                                         
    BAPI_SALESORG_OFFICE_EXIST     Sales Organization / Sales Office: Existence Check                       
    PLANT=>
    BAPI_PROMO_GETSITEPLANNING     Detailed Data for the Plants Involved in a Promotion   
    thanks
    mrutyun^

Maybe you are looking for

  • HP Proliant 380 G4 / SmartArray 6 / HP driver / No Floppy disk.

    Hello! And here I am with a "nice" problem: I want to run Solaris on a HP Proliant 380 G4 series with SmartArray 6. HP kindly provide drivers for Solaris 10 on their homepage. Those drivers need to be extracted to a floppy disk. Now here is where the

  • SAP Query-SQ01,SQ02,SQ03

    Hi, One query was created in Development client and a transaction code was created for the same and transported to QA & production. But I am unable to see the same in QA cliet or production client. this was done by SAP implementation team and i do no

  • Sapccmsr register on Business Connector

    Hi, we want to monitor Business Connector 4.7 running on windows. so I download the OScol and sapccms agent and used the SAPNote 704349 used INSTALL WIN.SAR to install OScol and sapccmsr and then when I tried to register sapccmsr I am having followin

  • Adobe AIR for mobile expectations and misconceptions?

    Hello, I am somewhat confused by the content published by Adobe which claims that AIR for Android or iOS publishing creates a fully native app. For example, in this Adobe Developer Connection article (http://www.adobe.com/devnet/logged_in/abansod_iph

  • I cannot dowload adobe reader on my mac 10.0.3

    I cannot finish installing adobe reader on my Mac, using 10.9.3, Safari 7.0.4. Please advise! Thank you!