Function Module for Revision Level.

Hi all,
Is there any function module to retrieve details of MM and PO Revision Level..
In MM it is present in basic View..in AEOI table..,but i still go for function module.
Thanx in advance

Hi,
BAPI_PO_DETAIL1
REVISION_LEVEL_SELECT
CCAP_REV_LEVEL_MAINTAIN
Also,
1.You can see this revision changes history in the version tab itself.
2.You can also get from PO - Environment - Header changes details.
3.Check the table EREV Version in Purchasing in SE16. This will give all the required details for the PO.
4.You can fetch the data from this table to appear in the PO print out.
If you want to know the material revision level as of some date then you can use function module REVISION_LEVEL_SELECT. Pass material & date and it will tell you the active revision on that date.
If you want to know the table, then AEOI where you can enter the material no in field OBJKT & AETYP as 41 (Material). You will get the list of revision levels for the material.
thanks & regards,
ShreeMohan

Similar Messages

  • Function Module For Item Level Details of a Sales Order

    Hi Guys,
    I have to get the item level details for a particular sales document no ..I want to know if there is any function module existing for the same.
    Also I need any function module for getting the contact information such as contact form (KNVK-ANRED),contact name(KNVK-NAM1),contact name(KNVK-NAMEV),Contact number (KNVK-TELF1).
    Please let me know if anyone is aware of it.
    Thanks in Advance,
    Mayank

    <b>SD_SALES_DOCUMENT_READ</b> Reads sales document header and business data: tables VBAK, VBKD and VBPA (Sold-to (AG), Payer (RG) and Ship-to (WE) parties)
    <b>SD_SALES_DOCUMENT_READ_POS</b> Reads sales document header and item material: tables VBAK, VBAP-MATNR
    <b>SD_DOCUMENT_PARTNER_READ</b> partner information including address. Calls SD_PARTNER_READ
    <b>SD_PARTNER_READ</b> all the partners information and addresses
    <b>SD_DETERMINE_CONTRACT_TYPE</b>
    In: at least VBAK-VBELN
    Exceptions: NO CONTRACT | SERVICE_CONTRACT | QUANTITY_CONTRACT
    <b>SD_SALES_DOCUMENT_COPY</b>
    <b>RV_ORDER_FLOW_INFORMATION</b> Reads sales document flow of sales document after delivery and billing
    SD_SALES_DOCUMENT_SAVE create Sales Doc from the copied document
    SD_SALES_DOCUMENT_ENQUEUE to dequeue use DEQUEUE_EVVBAKE
    RV_DELIVERY_PRINT_VIEW Data provision for delivery note printing
    SD_PACKING_PRINT_VIEW
    SD_DELIVERY_VIEW Data collection for printing
    called from RV_DELIVERY_PRINT_VIEW, SD_PACKING_PRINT_VIEW
    RV_BILLING_PRINT_VIEW Data Provision for Billing Document Print
    regards
    vinod

  • Bom explosion function module for bypassing phantom materials

    hi,
    function module "cS_BOM_EXPL_MAT_V2" is used to explode the componensts of first level only.
    In my case there are components at first level are phantom assemblies so i want to drill down further to arrive at E or F part which may be at 2nd or 3rd level.
    please suggest any BAPI or function module for the above requirement.
    Thanks.
    Kumar

    Dear Kumar,
    check with following input values for the Functional Module
    FTREL                                                    
    ALEKZ                                                    
    ALTVO                                                    
    AUFSW                                                    
    AUMGB                                                    
    AUMNG                                      0.000         
    AUSKZ                                                    
    AMIND                                                    
    BAGRP                                                    
    BEIKZ                                                    
    BESSL                                                    
    BGIXO                                                    
    BREMS                                                    
    CAPID                           PP01                     
    CHLST                                                    
    COSPR                                                    
    CUOBJ                           000000000000000000       
    CUOVS                                                    
    CUOLS                                                    
    DATUV                           13.05.2008               
    DELNL                                                    
    DRLDT                                                    
    EHNDL                                                    
    EMENG                                      2.000         
    ERSKZ                                                    
    ERSSL                                                    
    FBSTP                                                    
    KNFBA                                                    
    KSBVO                                                    
    MBWLS                           X                        
    MKTLS                           X                        
    MDMPS                                                    
    MEHRS                           X                        
    MKMAT                                                    
    MMAPS                                                    
    SALWW                                                    
    SPLWW                                                    
    MMORY                           1                        
    MTNRV                           S7690339                 
    NLINK                                                    
    POSTP                                                    
    RNDKZ                                                    
    RVREL                                                    
    SANFR                                 
    SANIN                                 
    SANKA                                 
    SANKO                                 
    SANVS                                 
    SCHGT                                 
    STKKZ                                 
    STLAL                           1     
    STLAN                           1     
    STPST                           0     
    SVWVO                           X     
    WERKS                         5501  
    NORVL                                 
    MDNOT                                 
    PANOT                                 
    QVERW                                 
    VERID                                 
    VRSVO                           X     
    I'm using this FM with the above input parameters and I'm getting the necessary details perfectly.
    Please check & revert back.
    Regards
    Mangalraj.S

  • Function module for customer debit note/credit note

    Hi
    Can you please tell us the function module for the following:
    1. Customer debit note
    2. Customer credit note
    Also, we would like to have function module for extracting GL balances at business area/profit center level.
    Regards
    S.Radhakrishnan

    Hi
    We are looking for function module for posting FI Invoice/credit memo using FB70/FB75.
    Also, we need function module for extracting GL balances at business area/profit center level.
    Regards
    S.Radhakrishnan

  • Function Module for Dollar Amount

    Hi All,
    I have a requirement where a REFX contract once created has to go through a series of approvals. How do I get the dollar amount on the contract so that it can be routed to the proper level for approval? Is there a function module for this?
    Thanks a lot in advance.

    Hi Amlan,
    For the condition (amount) on contract you can get using..
    BAPI_RE_CN_GET_DETAIL or
    API_RE_CN_GET_DETAIL
    And if you doing currency conversion there are lot of FM.
    Thanks
    Veman

  • Function module for Change document for Business partner

    Hi Experts,
    Could any one send me the sample code of function module for CDHDR and CDPOS tables for extracting the change date along with role.
    Eg :
    BPRole Changd on crtd by crtd on Business partner
    ZCASH 30.11.2011 NHALLAL 24.11.2011 0001000237
    CRM000 03.12.2011 NHALLAL 24.11.2011 0001000237
    I wanted to catch up the changed date and changed role from CDHDR (base table) and CDPOS(cluster table - item level).
    Might be involved with creation of extract structure.
    Any sample codes are appreciated. Thanks.
    Regards,
    Janardhan

    resolved

  • Function module for submitting order in CRM B2B

    Hi Experts,
    we are customizing the CRM B2B functionality. as per our reqruirement, we have 3 types of orders (docuemnts) to submit. for each order we have differnt  extra fields data need to be sent to the back end system in the Header level and item level.
    In this case still we  can not use the standard function module to submit the document.
    need to use the same standard functiona module or need to create the z function module for submitting all three orders.
    Please advice.
    I have another question. What the standard functiona module name for submitting the order?
    Adavance Thanks

    HI
    We need not create any custom FM to send in extension data. Just extend the class which is called on save and overirde the
    customer exits available there.
    From the sales document object  get header and itemlist.
    ItemList itemsData                = salesDocument.getItems();
    HeaderData header                = salesDocument.getHeaderData();
    header.addExtensionData();
    ItemSalesDoc[] items = itemsData.toArray();
    for (int k = 0; k < items.length; k++) {
      ItemSalesDoc item = new ItemSalesDoc();
      item = items[k];
      item.addExtensionData();
    The header and item extension datas will be available in the respective place holders in the methods in BADI
    CRM_ISA_BASKET_ITEMS   CHANGEITEMS_BEFORE_ORDER  IT_EXTENSION
    CRM_ISA_BASKET_HEAD    CHANGEHEAD_BEFORE_IL         IT_EXTENSION
    The method name and place holder in backend also given above.
    Hope this helps
    Regards
    Antony

  • Functional module for automatic creation of pur requisition & pur order

    hello,
    what is the functional module for automatic creation of puchase requisition and automatic creation of purchase order which we will assign in action box in service order processing management.
    please let me know as early as possible
    regards,
    rajesh kumar raju

    Hi,
             Please check with following.
    IDOC_INPUT_ACC_PURCHASE_REQUI
    IDOC_INPUT_ACC_PURCHASE_ORDER
    /ISDFPS/OR_PURCHASE_ORDER_CR
    BS01_PURCHASE_DOCUMENT_CREATE
    CO_MP_CREATE_PURCHASE_ORDER
    Thanks & Regards
    Sadhu Kishore

  • Function module for calculating planned and actual cost of production order

    Hi ,
    Do we have any standard function module for calculating planned and actual cost for production order?
    i need to implement this in a Z-report.
    Thanks
    Srini

    Hi,
    try below function module
    CRMCO_GET_PLAN_ACTUAL_COSTS
    CO_IH_GET_PLANNED_COSTS_TOTAL
    Regards,
    Sankaran

  • How to create the INBOUND Function Module for INBOUND IDOCs

    Hi Friends,
    Can any Suggest me How to proceed to Create an INBOUND Function Module for Processing the INBOUND IDOCS
    which are recieved from XI Server ?
    I am working in SAP-ISU
    Here i will recieve the INBOUND IDOCs for the Meter Reading Orders.
    We have a Standard INBOUND FUNCTION MODULE
    IDOC_INPUT_ISU_MR_UPLOAD
    which Uploads the Meter Reading Results.
    I copied the Same function Module into ZIDOC_INPUT_
    and working on it.
    Can any one suggest me, whether i am going in correct way or not.
    In IDOC_INPUT_ISU_MR_UPLOAD Inbound fun module,
    BAPI_MTRREADDOC_UPLOAD is used to Update or Insert the Meter Reading Results,
    My requirment is to Insert and Update the Meter Reading Orders which are Inbounded from XI.
    Can I Use the Same BAPI
    BAPI_MTRREADDOC_UPLOAD
    to Update the below fields,
    EABL-SERNR
    EABL-ZWNUMMER
    EABLG-ABLESGR
    EABL-V_ZWSTAND
    EABL-N_ZWSTAND
    EABL-ABLHINW
    EABL-ZSKIPC
    EABL-ADAT
    EABL-ATIMTATS
    EABL-ADATTATS
    EABL-ATIM
    EABL-ZMESSAGE
    EABL-ABLESER(Meter reader number)
    Kindly Suggest me,
    Thanks in Advance,
    Ganesh

    Hello Ganesh
    I think you are going completely astray with you z-function module for IDoc processing.
    If you look at TABLES parameter METERREADINGRESULTS (type BAPIEABLU ) of BAPI_MTRREADDOC_UPLOAD you will find many of the requested fields already:
    EABL-SERNR => BAPIEABLU-SERIALNO
    EABL-ZWNUMMER =>REGISTER
    EABLG-ABLESGR
    EABL-V_ZWSTAND
    EABL-N_ZWSTAND
    EABL-ABLHINW
    EABL-ZSKIPC
    EABL-ADAT
    EABL-ATIMTATS => ACTUALMRTIME
    EABL-ADATTATS => ACTUALMRDATE
    EABL-ATIM
    EABL-ZMESSAGE
    EABL-ABLESER(Meter reader number)
    Field EABL-ZMESSAGE appears to be custom field (at least I cannot find it on ECC 6.0). If this field was added using include CI_EABL then you probably can get these values into the BAPI using the EXTENSIONIN parameter.
    Check routine CHECK_UPLOADRECORDS in the BAPI which allows two extension structures:
    - BAPI_TE_EABL
    - BAPI_TE_EOSB
    Not surprisingly BAPI_TE_EABL contains the include CI_EABL.
    Regards
      Uwe

  • How to config Check Digits function module for Student Number Validation

    Hi SLCM Experts,
    In the SAP-SLCM, How to use check digits function module for validate student number.  Just only config it or need to customizing program.
    *Any idea to student number validation in SLCM?*
    Best Regards,
    Suvatchai K.

    Hi ,
    Can you expalin it further ?
    You configure the St. no in piq_matr . And set it  as external or internal no. range which suits your business .
    What is the validation you are looking for ?
    Regards
    Gajalakshmi

  • Function Module  for FB01 Vendor line items postings in 3.1 Version

    Hello all,
    Is there any Function Module  for FB01 Vendor line items postings in 3.1 Version. I do not want to go for BDC. Please suggest.
    Thanks,
    Subba

    Hi,
    search for function module ACCPOSTING* or get development class of transaction FB01 and goto SE80, enter development class - and search in function group's function module.
    Cheers.
    ...Reward if useful.

  • Function Modules for uploading the file

    Hi experts ,
                      I have a requirement to download a file (csv) from my local sytem (say desktop) into an internal table first and then update the contents of the same internal table into the database table.
    Can anybody provide me with a sample program for doing the same or at least the name of function modules for the same.
    Prompt replies will be rewarded.
    TIA
    Abhishek

    Hi Abhishek,
    How to use INSERT Statement..
    Check this Sample Program..
    TABLES:MARA.
    DATA:ITAB LIKE MARA OCCURS 0 WITH HEADER LINE.
    START-OF-SELECTION.
    ITAB-MATNR = '123ABCDA'. .
    ITAB-MBRSH = 'C'.
    ITAB-MTART = 'FERT' .
    ITAB-MEINS = 'KG' .
    APPEND ITAB.
    ITAB-MATNR = '123ABCDB'. .
    ITAB-MBRSH = 'C'.
    ITAB-MTART = 'FERT' .
    ITAB-MEINS = 'KG' .
    APPEND ITAB.
    LOOP AT ITAB.
    INSERT MARA FROM ITAB.
    MODIFY MARA .
    ENDLOOP.

  • Function modules for the following

    Hi,
    I want to know the function modules for the following purposes.
    1) Check whether a date is valid or not
    2) Calculate the no of days between two dates.
    Expecting an early response.
    Thanks n Regards,
    Amit

    Hi,
    PARAMETERS: p_list LIKE t009b-bumon AS LISTBOX
                         VISIBLE LENGTH 11 OBLIGATORY ,
                p_list1 LIKE t009b-bdatj OBLIGATORY.
    SELECTION-SCREEN POSITION POS_HIGH.
    PARAMETERS: p_list2 LIKE t009b-bumon AS LISTBOX
                          VISIBLE LENGTH 11 OBLIGATORY,
                p_list3 LIKE t009b-bdatj OBLIGATORY.
    Calling Function Module for calculating no of days between the
    selected period
        CALL FUNCTION 'NUMBER_OF_DAYS_PER_MONTH_GET'
             EXPORTING
                  par_month = p_list
                  par_year  = p_list1
             IMPORTING
                  par_days  = ws_n_days.
        CALL FUNCTION 'NUMBER_OF_DAYS_PER_MONTH_GET'
             EXPORTING
                  par_month = p_list2
                  par_year  = p_list3
             IMPORTING
                  par_days  = ws_n_days1.
    For Concatenating the month and year into the date format
        CONCATENATE  p_list1  p_list ws_i INTO ws_c_date1.
        CONCATENATE p_list3  p_list2 ws_n_days1 INTO ws_c_date2.
      date = ws_c_date1 - ws_c_date2.
    In the above sample code the selection screen has month and year as input.
    Also check this link
    http://www.sapdevelopment.co.uk/tips/date/datehome.htm
    Check FM
    <b>RP_CALC_DATE_IN_INTERVAL</b> Add/subtract years/months/days from a date
    <b>SD_DATETIME_DIFFERENCE</b> Give the difference in Days and Time for 2 dates
    <b>Also for checking valid date:</b>
    U can specify the date field as
    Select-options:  s_date like likp-date(similar to ur requirement)
    This itself ceck for the valid date no seperate validation needed.
    Thanks & Regards,
    Judith.

  • Function Modules for Data and Time

    Hi all,
              I need 2 function modules for date and time. when we pass current data(sy-datum) and current time (sy-uzeit) into function modules, shoud get date in <b>dd/mm/yyyy or dd.mm.yyyy</b> and time in<b> HH:MM:SS</b> formats.
    Thanks in advance

    Hi Ranjith,
    i think this will b usefull for you..
    SAP Bar Chart Function Modules and what they are used for
    Function module
    Used for
    BARC_GRAPHIC_PBO
    Starting bar chart at PBO time, using a graphic profile (parameter PROFILE)
    BARC_GRAPHIC_PAI
    Analyzing data returned by the graphic
    BARC_SET_TIME_AXIS
    Setting start and end of time axis
    BARC_SET_OPTIONS
    Setting options
    BARC_ADD_CHART
    Creating a chart
    BARC_SET_CHART_ATTRIB
    Setting chart attributes
    BARC_ADD_SECTION
    Creating a section on the time axis
    BARC_SET_SECTION_ATTRIB
    Setting section attributes
    BARC_ADD_RIBBON
    Adding a ribbon to the time axis
    BARC_SET_RIBBON_ATTRIB
    Setting attributes for ribbons in the chart
    BARC_ADD_GRID
    Adding a time grid
    BARC_SET_GRID_ATTRIB
    Setting grid attributes
    BARC_ADD_LAYER
    Adding a layer (graphic elements)
    BARC_SET_LAYER_ATTRIB
    Setting layer attributes
    BARC_ADD_LINE
    Adding a line
    BARC_ADD_CALENDAR
    Creating a calendar
    BARC_SET_CALENDAR_ATTRIB
    Setting attributes for a calendar
    BARC_ADD_TIME_PROFILE
    Creating time profiles
    BARC_SET_TIME_PROFILE_ATTRIB
    Setting attributes for time profile
    BARC_ADD_INTERVAL
    Adding a time interval
    BARC_SET_INTERVAL_ATTRIB
    Setting time interval attributes
    BARC_ADD_TIME_OBJECT
    Creating a time object
    BARC_CONVERT_DATE
    Creating a date string in bar chart format
    BARC_REVERT_DATE
    Converting a date string in bar chart format to date and time
    BARC_ADD_DATELINE
    Creating a date line
    BARC_SET_DATELINE_ATTRIB
    Setting dateline attributes
    BARC_GET_PROFILE_CONTENTS
    Obtaining profile contents for customizing a chart
    BARC_GET_COLUMN_WIDTH
    Selecting new column width
    BARC_SET_COLUMN_WIDTH
    Setting the column width
    BARC_GET_TEXTINDEX
    Obtaining the text index of a field
    BARC_SET_LABELS
    Positioning the chart display
    BARC_SET_COLUMN_ATTRIB
    Setting column attributes
    BARC_SET_ROW_ATTRIB
    Setting row attributes
    BARC_SET_ROW_HEIGHT
    Setting the line height
    BARC_SET_MAXCHARTS
    Setting the maximum number of charts sent
    <b>If its usefull reward points
    </b>

Maybe you are looking for

  • Connect macbook to a sony trinitron

    i would like to connect my 2008 macbook to my sony trinitron model kv24fs120 (has white, red & white and s video) and use this tv as monitor. how can i do this? thank you

  • Which Palm do I have? And how do I disconnect it from its cradle?

    Just bought an older palm that seems in perfect working condition from the local reuse center. Seems in perfect operating order. But there's no identifing marks as to which model it is.  If it helps, the serial number is 10JG14017Y5M-O.  Next problem

  • Transferring data from MS SQL Server to Oracle through Oracle's Stroed Procedure

    Hi, I need to access 3 tables of MS SQL Server database through oracle's Stroed procedure. Is It possible? if yes how to do? is there any way of accomplishing this?

  • Transfer posting between plants

    hi, i tried to make a transfer posting  between plants(301), we have WM in From-plant (1010), but we don't have WM also serial numbers in Dest -  plant (1013). so how can i make this. Now,in material master data for 1010- i assign serial number profi

  • Numbering Files On Import

    When I import files, using an Aperture counter, it seems I only have two options. Pickup numbering where it left off, or reset back to 1. Is that true? I'd like to be able to add images to an existing Project using the same name and pick up where the