Bapi or FM for getting consignment and nonconsignment stock in QM ?

Hi All,
Are there any FM or BAPI for QM module for getting batch stocks (consignment and non-consignment)
Rgds,
Madhuri

Hi,,
Pls try any of the below Function modules
BAPI_WHSE_TO_CREATE_STOCK      BAPI for Stock Data per Quant             
BAPI_WHSE_STOCK_GET_DETAIL     BAPI for Stock Data per Quant             
BAPI_WHSE_STOCK_GET_LIST       BAPI for Details of Stock per Material    
MM_VENDOR_CONSIGNMENT_WWW                                                                               
IVIEW_SM_CONSIGNMENT_INV_LIST  Consignment Inventory list                                                                               
MB_READ_CONSIGNMENT    
thanks
Parvathi

Similar Messages

  • Bapi/function module to get opening or closing stock for a posting date

    I am creating a report where i need to get the opening stock value and closing stock value  for the given starting date and ending date respectively for the PP report.
    The T-code for that is MB5B.
    So,can any1 plzz tell me how i can get the stock value for a starting date/ending date...
    Is there any BAPI or function module to find this out..
    or any logic?
    Thanks.

    Hi Kiran,
    You would like to findout opening and closing stock of a particular period and of a particular period....
    If we would like to findout opening and closing stock of material A as of 18 / 8 / 2008,
    then do like this.
    go to MBEW table .. there u get opening stock as on today. Today the date is 20/8/2008. from today's opening stock if we add / subtract the movements which have happened on 19/8/2008 and 18/8/2008 u'll get opening and closing stock as on 18/8/2008.
    U get the movements from MKPF ( material doc header) and MSEG (material doc item ) based on posting date. In MSEG u get movement type.
    If the movement type is 101, it means the stock is added.
    If the movement type is 102, it means the added stock is reversed.
    from today's opening stock deduct the stock with moverment type 101 and add the stock with movement type 102.
    This will give u opening stock as on 18/8/2008.
    To get closing stock of 18/8/2008 ..... the opening stock of 19/8/2008 is 18/8/2008's closing stock.

  • Function Module for Get Price  and Bonus in Sales Order

    Hi.. ABAP Guru's..
    I wanna make a function for get price and get Bonus for all material items in sales order.
    Help me for solving it.. Please.
    Thanks a lot before and after.
    Rgds,
    Asep Saepudin

    Hi,
       Welcome to SDN.
    Refer
    https://forums.sdn.sap.com/click.jspa?searchID=7085162&messageID=782207
    https://forums.sdn.sap.com/click.jspa?searchID=7085162&messageID=950526
    Regards

  • BAPI for getting Equipment and Resources for a WORK CENTER

    Hi All,
    I have a requirement where i need to get all the equipment list for a given work center. So its Interface should be like
    Input -- Work center
    Output -- Table filled with Equipment list
                   Table filled with Resource(Person) list
    Please let me know if i need to provide other additional information also.
    Thanks ,
    Abhishek

    Hello,
    I think What you providing input is right.Just would like know how will you get Person Responsible out put list??
    Please Use The table ITOB to fetch the Equipment List according to Work Center as Input.
    OBJID=Put work center ID in CRHD Table you will get the OBJID then you have use the OBJID in table ITOB for  getting the equipment data.
    Regards,
    Rakesh
    Edited by: RAKESH ASHOK MANE on Oct 1, 2010 9:13 AM
    Edited by: RAKESH ASHOK MANE on Oct 1, 2010 1:20 PM

  • Bapi - upload data for infotypes 0016 and 0019

    hello,
    Please let me know bapi to upload data for infotypes 0016 and 0019 as i am unable to find any bapi for this infotypes.
    Please use a more meaningful subject in future - I've edited it for you this time.
    Edited by: Matt on Nov 6, 2008 12:08 PM

    Hi Sunny,
    My suggestion is go txcode BAPI.
    After this in the left side of the window complete information on BAPIs will be available search out in Human resource you may get the BAPI, in the mean while some one may help you.
    Cheers!!
    VEnk@

  • Function module for getting month and year of the previous month (say -6)

    Hi,
    Is there a function module that will get you the month and year of say, a month before, and as far as 11 months ago.
    For example, say today is 6/2007. I want 7 months ago.
    How do i get this value?
    What function module or method is available?
    Points will be rewarded and responses will be appreciated.
    Thank You,
    John

    Hi
    lv_period gives the month and year which is two months earlier now as we have specified lv_months as -2.
        DATA: LV_PERIOD LIKE S001-SPMON,
              LV_MONTHS(2) TYPE C VALUE '2-',
              LV_DATUM LIKE SY-DATUM,
              LV_NEWDT LIKE SY-DATUM,
            P_SPMON LIKE S001-SPMON VALUE '200601'.
        CONCATENATE P_SPMON '01' INTO LV_DATUM.
        LV_PERIOD = P_SPMON+0(6).
        CALL FUNCTION 'MONTH_PLUS_DETERMINE'
             EXPORTING
                  MONTHS  = LV_MONTHS
                  OLDDATE = LV_DATUM
            IMPORTING
                 NEWDATE = LV_NEWDT
             EXCEPTIONS
                  OTHERS  = 1.
         IF SY-SUBRC = 0.
           LV_PERIOD = LV_NEWDT+0(6).
         ENDIF.
    WRITE :/ LV_PERIOD.
    OR
    Use the following FM for getting the year and the month based on date
    CACS_DATE_GET_YEAR_MONTH
    or
    Call Function 'CCM_GO_BACK_MONTHS '.
    Funny module: 03/31/2002 - 1 month = 02/31/2002
    OR
    RE_ADD_MONTH_TO_DATE ( Add / substract month to/from date )
    Need ur reward points.
    Best regards,
    Ravi

  • Procurement for one company and keeping stock in other company .

    We have one requirement . Company A will procure material from an Vendor and the delivery address and the stock will be stored by another company .How it can be done in SAP. The , PO & Invoice will be by A and GR by B .. Any suggestion please

    hi
    U can do it SAP, but please confirm me whether the company A & Company B are under in same client or in different client.
    Different client is nothing but , company B is toatally different company in SAP (there is no link with company A).
    Thanks
    sap-mm

  • BAPI Object Reference for Customer Accounts and Open Items

    I am building an application for a client for Purchase Card Processing using Visual Studio 2005.   I am able to use VS 2003 to create the necessary object to get the Customer List, Customer Details,  and the list of Customer Open Items.
    I am totally new to SAP,  and need some help to figure out my next steps.
    1.  What call(s) will return an Open Item (Document) given the Document Number, along with the individual line items.  With that info I can post a Level 3 transaction and get an authorization code.
    2.  What is the process to post the purchase card authorization,  essentially a payment,  back to SAP for the open item.
    3.  What is the best source for reference details on BAPI?
    Thanks in advance for any assistance.

    Hi Scott,
    the questions are quite context specific to your application, the answers for which i am not aware at this point
    to pick up the 3rd one :
    >>3. What is the best source for reference details on BAPI?
    transaction 'bapi' in a SAP system, or se37 and a search with keywords like 'docnum' or 'openitem' or similar variations might yield some results
    also when you connect to a SAP system using vs2003, you will get a hierarchial view in the server explorer, that is also a simple way of finding bapi's that could be useful to your cause
    with respect,
    amit

  • BAPI or FM for Get serial number

    Hi,
           We ahve many material for whcih we are maintaining serial numbers,  now  we are excuting some T. code with 3rd party software  and the communication is done through RFC,  as in case of Material issue  with movement type 201,  for serialize material we have to enter the serial number,  we can enter it manually  or if we click on create serial number automatically,  system get the automatic serial number, so thier  any Function al module or BAPi  for getiing serial number automatically  for the materials. which we can use in RFC.
          regards,
            zafar

    Hello,,
    ASSIGN_SERIAL_NUMBER_SD        Listing of Material Serial Nrs
    SERIAL_NUMBER_GET_MATERIALS  Get Serial Nrs
    SELECT_MATERIAL_SERIAL_NRS     Alternate method for selection of serial Nrs
    Or esle check
    Use - BAPI_EQUI_GETSTATUS  i think it should give you the info
    Or else check below given tables for your requirement
    Tables,
    SER00 General Header Table for Serial Number Management
    SER01 Document Header for Serial Numbers for Delivery
    SER02 Document Header for Serial Nos for Maint.Contract (SD Order)
    SER03 Document Header for Serial Numbers for Goods Movements
    SER04 Document Header for Serial Numbers for Inspection Lot
    SER05 Document Header for Serial Numbers for PP Order
    SER06 Document Header for Serial Numbers for Handling Unit-Content
    SER07 Document Header for Serial Numbers in Physical Inventory
    EQBS Serial Number Stock Segment
    EQSE Serial Number Records
    EQST Equipment to BOM Link
    EQUI Equipment master data
    Regards
    Mahesh Naik

  • Bapi or FM for clearing Customer and Vendor Open Items

    Hi.
    I am looking for a bapi to post incoming payments from customers (F-28) and outgoing payments to vendors (F-53). I already tried BAPI_ACC_INVOICE_RECEIPT_POST, but with no success (just created a new open document), so if somebody knows how to use this BAPI to perform the clearing please post an example.
    Thanks.
    Edited by: Divya Saxena on May 22, 2009 4:06 PM

    Hi
    Just as Rich said
    It can use the BAPI BAPI_ACC_DOCUMENT_POST but only to post the document for incoming and outcoming payment, because they are account documents.
    But there isn't a BAPI to clear the open items: u should create it.
    Max

  • Why do I need iTunes for getting podcasts and other subscriptions.

    Ok, to be fair, I do love my two iOS devices (iPhone and iPad). I have used these for just over a year now and I'm still impressed about speed and stability.
    There's one thing though that annoys the **** out of me: The inability to automatically get my subscriptions for podcasts, without having to connect my iOS-devices to my computers iTunes.
    I use a number of operating systems on a daily basis and that makes it hard to have one centralized location for an iTunes installation. This means I end up having to track releases manually and download them (through the mobile version of iTunes I might add) to my devices.
    What could possibly be the reason for Apple not to support this?
    Is there a place for such feature requests, somewhere on this site?
    If this is it then I would like ask for the following:
    - automatically sync all subscribed media directly on the iOS-device
    - timetracking between devices. Just like with the iBooks (awesome feature!)
    Message was edited by: EmilHaukeland

    Is there a place for such feature requests, somewhere on this site?
    Apple does not normally read these forums so use the following:
    [http://www.apple.com/feedback/|http://www.apple.com/feedback>

  • A solution for getting QT and iTunes to install

    OK, I have NO idea why this worked, but it did, and I haven't seen it in these forums, so I'm posting here in case it might help someone else. I couldn't get iTunes or QT standalone to install and spent many frustrating hours trying and posting messages here. I JUST got it to work by doing the following: I again deleted all Quicktime stuff from my computer by going into the Programs folder and also doing the regedit thing. I again disabled my antivirus and firewall software. I then again downloaded QT standalone. When it did its usual trick of the installer window disappearing down to the taskbar, I clicked on Start and then Shut Down. Got error messages, but then--voila--as if by magic, QT then completed installation. Hallelujah! I then successfully and uneventfully downloaded iTunes, which I am now taking for its maiden voyage. I found this solution in ilounge.com's forums, which Walt Mossberg recommended in his latest Wall Street Journal column. Praises and blessings be unto Walt and the ilounge poster!

    Mysteriously fixed - plugged my iPhone in last night to listen to some music and noticed that something was Dow.oSing from iCloud - screen showed playlists when download was finished - all my Genius playlists were populated - not sure what happened but happy I have my playlists back on my phone.

  • Minimum set of ACLs / security access required for getting MBeanHome and Runtime MBeans

    Hi,
    Where can I get information regarding the "minimum set" of ACLs and security access/permission
    required for
    a) Accessing weblogic.management.MBeanHome [Local and Admin interfaces] and RemoteMBeanServer
    interfaces
    b) Use MBeanHome and RemoteMBeanServer interface to look up MBeans [especially
    Runtime MBeans] for Cluster, Server instances, EJBs, JDBC, Execute Queues, etc?
    Any help or hint is appreciated!
    Regards,
    DKV

    "DKV" <[email protected]> wrote in message
    news:3f4e8429$[email protected]..
    >
    Hi,
    Where can I get information regarding the "minimum set" of ACLs andsecurity access/permission
    required for
    I believe this was answered in the management jmx newsgroup.

  • BAPI vs BDC for VI02/ VT02N and VL32N

    Hi All,
    I have the following questions to the experts.
    In our 4.6 version we had a custom program with in which using BDC we were doing.
    1) Delete Shipment Cost Documents ( VI02).
    2) Unpack and delete shipment ( Call Transaction to VT02N).
    3) Unpack and delete delivery (VL32N).
    Now in ECC version I want to confirm if these BDCs will work without any issues in future.
    Do we have appropriate BAPI or Function Module for replacing all these BDCs.
    I went through the forum and found many BAPIs like BAPI_SHIPMENT_CHANGE,BAPI_INB_DELIVERY_CHANGE and FMs WS_DELIVERY_CHANGE etc but want to make sure if Unpacking and Deletion both can be handled with the same BAPIs as mentioned?
    For Deleting SCD, have anyone faced any issues with using BDC in ECC or do we need to use some FM like SD_SCD_DELETE etc?
    Please advice.
    Best Regards,
    Ameesha

    Hi Amisha,
    I understand that you aalready have BDC Implementation in place for all these transactions.
    So is it Business requirement to change these to BAPIs. Yes, it is true that the implementaion should   have been done using BAPIs but as you have BDC in place Please perform testing to make sure the BDC code is still working fine.
    If code is fine then you are good otherwise you can either change BDC code to solve the Issues of go for fresh coding using BAPIs to upload/change the data.
    Regards'
    Shital

  • Project system tables for getting baseline and forecast values

    Hi all,
    I am new to Project systems and currently i am having the PS report.
    I need to pick the following values based on project definition (proj-pspid):
    --> historical baseline values like:
    1) versions
    2) created by
    3) created on
    --> historical forecast values like:
    1) versions
    2) created by
    3) created on
    Can you please let me know the tables and fileds for fetching the above values.
    Regards,
    raviraj.

    Hi,
    IMAK Appropriation requests - general data
    IMAV Appropriation request variant
    IMPR Investment Program Positions
    IMPU Texts for cap. inv. program positions
    IMTP Investment programs
    IMZO Assignment Table- CO Object - Capital Investment Prog.Pos.
    PMCO Cost structure of maintenance order
    PRHI Work Breakdown Structure, Edges (Hierarchy Pointer)
    PROJ Project definition
    PRPS WBS (Work Breakdown Structure) Element Master Data
    Check with tables

Maybe you are looking for