Inventory scenario need material document

Hi,guys,
Our customer need to add material document as a free characteristic when they use in the Inventory overview report. The report initially shows the inventory quantity and amount with every material for every month. I want to use the stardard dataflow which use cube 0IC_C03 which extract data from BF and BX. But it doen't contain material document.
So what should I do to achive the requiement? Can I use a addional dso to extract from BF PSA layer and join with cube 0IC_C03? If in that case, how can I join them? and would that result into a pour query performance? or any good ideas?
Hope someone could give me a detailed suggusion.
Thanks a lot!

Hi,
It is not a problem, by default 0IC_C03 won't contains any document no, but you can see that in DataSOurces, so you add the Infoobejct in InfoSOurce and ten in Cube then map it and activate the Transformations. Here you will get errors while activating the Transformations (in case of if added in InfoSource and CUbe) and activating the Transformations, so you need to add the newly added one in Start routine of the Transformations. i.e. you need to balance the SOURCE_PACKAGE and DATA_PACKAGE fields equally.
I also added that in my 0IC_C03 cube.
Thanks
Reddy

Similar Messages

  • Need material document number

    Dear all,
        I have an issue.  Inorder resolve it i need run a run aset up in OL1BW using the material document number.
    I have the process order, period, plant and material, but i need to find the corresponding material document number. Can anyone help me how to proceed further?
    The datasource is 2lis_03_BF.
    Pls also diferntiate between material and materail document number.
    Thanks..
    Regards
    Santhosh Kumar N

    The source for 2LIS_03_BF, as Arun pointed out, are R3/ECC tables MSEG and MKPF.
    Material - Refers to the material number, or part number, that is being managed. Typically, the material on an R3/ECC system is an 18-byte generated number to identify it to the system and has an industry accepted part number (Manufacturer Part Number) as a conversion exit so that you can enter either on R3/ECC and get the correct material number.
    Material Document - Refers to the internal document used for tracking the movement of a material. Examples of material movements would be goods receipts and goods issues. MKPF is the Material Document header table and MSEG has the Material Document line items.
    To find the Material Documents, you're going to have to query the MKPF table in your R3/ECC environment to get the document ranges needed for the setup jobs that you plan on executing.

  • Get Material Document Number and Material Document Year

    Hi everyone,
    Right now, i'm developed idoc program. I need material document number (MBLNR) and material document year (MJAHR).  I have information only BAPI2017_GM_HEAD_01 and BAPI2017_GM_ITEM_CREATE. Is there any FM to get this value ? Thank you
    Regards,
    Satria

    Ok, i will explain with more detail about my problem
    Here my pseudocode :
    -  Get data with type BAPI2017_GM_HEAD_01 from Idoc (let we say this X)
    -  Get data with type BAPI2017_GM_CODE from Idoc (let we say this Y)
    -  Get data with type BAPI2017_GM_ITEM_CREATE from IDoc (let we say this Z)
    -  IF Y-GM_CODE <> "06" THEN
           CALL FUNCTION 'BAPI_GOODSMVT_CREATE'
               EXPORTING
                   GOODSMVT_HEADER = X
                   GOODSMVT_CODE     = Y
               TABLES
                    GOODSMVT_ITEM      = Z
       ELSE IF Y-GM_CODE = "06" THEN
           CALL FUNCTION 'BAPI_GOODSMVT_CANCEL'
                EXPORTING
                     MATERIALDOCUMENT = ???
                     MATDOCUMENTYEAR = ???
                    GOODSMVT_PSTNG_DATE = ???
    I know that material doc and mat doc year is in table MKPF. But the problem is they are  the primary key, so how i use X,Y,Z in select operation to MKPF? or is there another way using FM ? Thank you
    Regards,
    Satria

  • How to cancell material document in decentralized scenario

    Dear All,
    How to cancel material document in a decentralized WM (WMS)??? I know that in a centralized scenario I should use MBST or VL09. Is there any solution?
    I would be grateful if you help me.
    Piotrek

    Dear Piotr ,
    If you want to cancel/reverse material document posted , you will enter into MBST and reverse it only.
    For goods issues with delivery use VL09 as you have mentioned.
    Other solution is enter material without referente , but you can have problem with traceability if you control receipts in your enterprise, because you have done one receipt without purchase documents.
    And to finish you can adjust your stock doing an inventory document and adjust stock.
    Best regards,
    Carlos Moçatto

  • Physical Inventory documents mass delete and reference in material document

    Dear Experts,
    I have 3 questions,
    1. Is there any option to mass delete physical Inv documents
    2. How can i know if the physical inventory documents are posted  (MI07) or not yet
    3. If i see any material document of mov type 701 or 702, there is no reference of physical Inv Doc # in it. How can i know that this material document is created as a result of which physicl Inv document.
    Appreciate your help
    SAPXPT

    Hi,
    "1. Is there any option to mass delete physical Inv documents"
    Yes You can delete the Physical Inv Documents with MIAD but for that you need to maintain one variant with it and copy all the Document no. in TEXT file paste in the in Archiving Selection's.
    "2. How can i know if the physical inventory documents are posted (MI07) or not yet"
    Please check ISEG table and provide the time Period as search menu so that you can see all the Doc's posted on today's date.
    "3. If i see any material document of mov type 701 or 702, there is no reference of physical Inv Doc # in it. How can i know that this material document is created as a result of which physical Inv document."
    go to MB59 and check the Material documents with respect to Movement type and date. and the difference you will see in MMBE as per the movement used.
    Regards,
    Ninad Kshirsagar

  • Need info on badi or exit before creation of Material document number?

    hi experts,
    we have two systems one is general R/3(4.6 C) and another system is GTS (NW 2004)system.
    while creation of GR a check from R/3 is made to GTS through GTS plug in installed in R/3
    and after which the document number is created...
    now i need a BADI between the check is made in GTS and material document no. creation
    where i can throw a message by checking in R/3 LFA1 table whether the vendor is SPL check or not.
    for this i am using MB_DOCUMENT_BADI and the method is MB_DOCUMENT_BEFORE_UPDATE
    where i am querying the zfields from LFA1(R?3) for SPL check happened in GTS (this is updated in some other interface)
    if in this badi if any error message is populated it is directly going for dump..
    please suggest me what can i do..
    Thanks in advance
    S.Janagar

    problem solved by myselves.
    by using popup to inform function module i am able to throw error message
    Edited by: Janagar Sundaramoorthy Nadar on Nov 19, 2009 7:01 PM

  • Material document line item - inventory valuation affected ?

    Hello
    In the framework of building a stock report, I'm trying to know if a material document line item has affected inventory valuation that is to say if a corresponding accounting document line item has been posted.
    Explored solutions :
    - there is no link between MSEG and BSEG
    - I tried to look at Quantity string (BUSTM) in MSEG and looked at Quantity strings parameters in T156M but couldn't find a parameter of the value string mentionning if it affects inventory valuation or not
    Thanks a lot in advance for your inputs
    Regards

    Hi,
    MKPF is for material document header table MSEG is for material document item table
    Creation date will be at the header table, use document number to link both the tables.
    Regards
    Merwyn

  • Need an IDOC EDI STEPS for material document(MB03)

    HI ALL,
    i need an IDOC for material document. For example, user in SAP make material document (t-code MIGO or MB11), then automatical is downloading outbound IDOC, which contain information about material document.HOW TO PROCESS IT THROUGH EDI .GIVE THE STEPS.

    like below you can do your settings
    The EDI Configuration required to be done for Transfering IDoc to non SAP System is.
    1. First of all, we need to identify the Transaction Data which is required to be Transfered to external System.(Ex: Sales Order Data or Shipment Data or Delivery Related Data).
    2. Secondly, Identify the IDoc Type & Message Type. IDoc Type can be found in Transaction WE30 & Message Type Can be explored in Transaction WE81.
    3. After that, assign the IDoc Type to Message Type in WE82.
    4. Identify the Selection Program (Outbound) which is generally a Function Module in the Form of IDOC_OUTPUT_<Message Type>. Example, if the Message Type is ORDERS, the FM will be IDOC_OUTPUT_ORDERS.
    5. Assign the Function Module to a Process Code in WE41 (Process Code for Outbound).
    6. Configure Port Definitions in WE21 for which the RFC destinations are to be maintained in Transaction SM59.
    7. Maintain Partner Profiles for the Outbound Message Processing in WE20.
    8. Last, but not the Least, we need to Focus Mainly on Message Control Configuration which is nothing but maintaining the Output Type for the Outbound IDoc to be Triggered for the Sales Order Application or Delivery Application.
    i. In Message Control Configuration, we'll maintain
    a. Condition Tables
    b. Access Sequences
    c. Output Types
    ii. To Create the above elements, we can go to SPRO Transaction and do the same depending on the Application Area such as Sales / Shipping / Logistics Execution etc.
    iii. For Output Types & Access Sequences, we can go to the Transaction NACE or VK01 in which we'll maintain the Output Types / Access Sequences & Condition Records.
    Please note that all the above steps may not be needed if we are using some of the Standard Elements provided by SAP such as Message Type, Process Code, IDoc Type & Selection Program as many of the Standard SAP Applications have their own Elements for different Application Areas.
    For example, if you want to send an Order Confirmation IDoc when the Sales Order is saved, you can use the Message Type ORDRSP, IDoc Type ORDERS05 & Selection Program as IDOC_OUTPUT_ORDRSP.
    However, Message Control Configuration is the Key Factor and is required for all the Applications as per the Customer's / Client's Requirements.

  • Need help abt Purchase order and material document number

    1)Is there any releation ship between Purchse order number and material document number?
    2) I found aBAPI to get the goods receipt details. That is BAPI_GOODSMVT_GETDETAIL. But it is excepting Material document number and material document year as input parameters.Is there any BAPI to get goods receipt details by using purchase order number?

    hi kiran
    check this thraed. this gives you relatinship between Purchse order number and material document number
    Retrieving Accounting Document number based on PO numbers
    BAPI to get goods receipt details by using purchase order number is
    BAPI_GOODSMVT_CREATE
    thanks
    Sachin

  • Need to check PO Posting date at schedule line and material document level

    HI All,
    I am facing an issue to reconciliation data with ECC.
    Issue :
    we have a PO,item,schedule line with delivery date, scheduled qty and quantity received from EKET table
    we have PO,item,Material document,movement type,posting date with quantity received from EKBE table
    the standard extractor 2LIS_02_SGR is providing data at
    PO,item,schedule line,material document,movement,posting date
    as if now we are using this extractor to get the posting date at schedule line level.
    can some one let me know how exacty the EKET and EKBE table are joined ???

    Hi,
    The data for the datasource 2lis_02_sgr can be compared in ECC using ME80FN transaction.
    Please check the below Link for all the details reragrding 2LIS_02_SGR datasource.
    [http://help.sap.com/saphelp_dm40/helpdata/en/69/063f3f2615e07fe10000000a114084/content.htm]
    Hope this helps..
    Thanks,
    Nagarjuna

  • Reference Physical Inventory document number in Material document

    Dear Experts ,
    Where in material document posted through PI can i find the refernce PI document aginst which the postings have beend done .
    Regards
    Anis

    Hi,
    Try this report-s_p00_07000139 ,may be useful for the same,select the required field from layout.
    Please confirm.
    Regards,
    Sandesh Sawant

  • Automatic TO creation and confirmation for a Material document

    Hi Dear All,
    i am new to MM andWM.
    I have to customization for auto transfer orders and confirmations for material documents what ever created with 101 movement type in Inventory Management. I have down configuration like below.
    SPRO->Logistics Execution->Warehouse Management->Activities->Transfers-> Set Up Autom. TO Creation for TRs / Posting Change Notices
    Double click on ‘control data ‘tab
    Hear for my warehouse I given input like   Auto TO = ‘1’,
                                                                             AddId = ‘select check box’.
    And in ‘Assign control’ tab for 101 movement type I have given input like below.
    Automatic TO = ‘1’.
    TO item can be confirmed immed. = ‘tick checkbox’
    Propose Confirmation = ‘tick checkbox’.
    Foreground/Backgrnd = ‘D’.
    After creating of Material document I am executing report RLAUTA10 in SE38.When I execute this report system showing message like ‘TO processing finished: TR total:   17, TO created:    0, Errors:   17’.
    If I check header details of transfer requirements in LB03, i am not seeing ‘Tick Mark’ in Auto TO Creation field.
    Can any one tell me what the mistake i have down or if i need to do any further configuration. Please help me regarding this concern?
    Thanks in Advance..

    Dear Steve,
    Thanks a lot for giving reply with what I need to do, but I am unable to see result.
    I have down configuration like below even though system not processing Auto TO creation. Can you explain me if I have down any mistake below.
    Click on ‘Assign’ button,
    Press on ‘New entries’
    WhN = ‘900’
    Reference Movement Type = ‘101’
    Movement indicator = ‘B’
    Movement type for Whse Mgmt = ‘101’
    TR create Transfer Requirement = ‘X’
    Immed.TO Creation
    Mail confirmation for background processing = ‘01’.
    GR date = ‘2’

  • BAPI_GOODSMVT_CREATE - Error while posting a Material Document

    Hi Experts,
    We are  trying to do the material document posting using the transaction "MB1C" manually in SAP. The movement type which we are using for the same is "261".  While doing this is, it is asking for a work order number and the Recipient number. We gave the Recipient Number as "123". Material document is created successfully.
    Again using the same transaction  "MB1C" , we are trying to do the reversal of the material document which we posted previously against another work order number for the same material and the serial number if the material is serialised and as well as for the non serialised material.
    Both this case, in SAP the material document is created succesfully. This is done manually in SAP.
    When we are trying to create the material document using the BAPI 'BAPI_GOODSMVT_CREATE', for the above scenario, posting the material document '261' movement type for one work order and the reversal for another work order '262' movement type for the same material (whether it is a serialised or non serialised) we are getting the eror as "RE Qty. transferred exceeded 1 PC: 50,003,695 C001 USED 1200".
    We are passing the following at the item level. MATERIAL Number, Plant, STGE_LOC, ENTRY_QNT, MOVE_TYPE, BATCH, ORDERID, RESERV_NO,  RES_ITEM, ACTIVITY, XSTOB for reversal.
    We are passing the GM_CODE as '05'.
    Please let us know what needs to be changed inorder to create the material document properly without getting errors.
    Thanks in Advance,
    Mohan.

    Hi,
    We fixed this issue by removing the reservation number of the material when we are trying to post the material document with the movement type "262".
    The reason for removing the reservation number for the movement type "262"
    The reservation number is getting created against a work order when we trying to create the work order in IW32. This reservation number is used for validating the stock while we are trying to consume and doing the reversal.
    SAP is allowing us to reverse the consumed quantities only based on the reservartion number and hence we got this error.
    To fix this error, if we are trying to reverse a particular material against a different work order for which it has been consumed previiously, remove the reservation number and item number and try posting the material document.
    Hope this solution will solve your issue:)
    Thanks and Regards,
    Mohan.

  • Multiple Posting change notice created for one material document

    Hi All,
    The scenario is that the user needs to transfer material from unrestricted to quality stock type. while doing so the storage type is different than the actual storage type for the material. Meaning if the material is normally stored in high rack storage type, when it is found that the material is damaged or expired it need to be moved to the quality storage type. For this the user will first create  material document in IM with movement type 322 transferring material from unrestricted stock to qualtiy stock. A PCN will be created in back ground which will in turn be converted manually by the user to a TO. while doing so the user will pick the quant manually from the required storage type and select the destination storage type as the quality or quanranntine area.
    The issue here is that system creates one PCN for each material document line item. The requirement is that the system should create only one PCN with multiple lines for one Material document.
    The setting in the movememnt type clearly says that it will behave as it is behaving.
    Is there any other way or setting by which we can create one PCN with multiple line items for a material document.
    Would look forward to your replies.
    Regards,
    Jeetendra

    Thanks and Sorry for the delayed reply. We have now convinced the users that the system behaviour is standard and we cannot change the same.
    To your question about the need to have one PCN with multiple lines please note that the setup is such that when material document is created for transferring material from unrestricted to quality and vice versa this document is created with multiple materials in one go. Now when the PCN is to be converted to TO then the user ends up in creating number of TO's equal to the number of lines in the Material Document. We wanted to avoid this and hence this was posted in SDN.

  • Please provide logic for schedule lines and material document Quantity.

    Hi ABAPers,
    Please help in the following context.
    Is there any connecting or refrence field for which a particular schedule line item are considerd for the goods reciept of a particular material document.
    Also provide the logic.
    19                    34
    15
    14                   35
    11
    10
    If 19 15 14 11 10 are schedule lines, and 34 35 are two recived quantities,
    Then how can be the possible permutations and combinations logic to find out that, 34 = 19 + 15 and
           35 = 141110.
    Thanks in advance...

    Niles Raut wrote:
    Hello Gurus,
    >
    > This is intracompany STO scenario with delivery. There is one STO for quantity say 1000 pc created in 2008. Delivery and PGI done for 1000 qty in 2008.  Goods are received in receiving plant for qty 1000 in 2008. Now this delivery document is archieved and user has reversed the GR material document in 2010. Now this reversal material docuemnt has zero material qty becasue the delivery was archieved(which is the probable reson)
    >
    > When I want to cancel this reversal material document it gives error that "Qty and / or "delivery completed" ind. or final issue ind. are missing" which is logical since material document has zero quantity.
    >
    > Is there any sap notes or any other way to fix this?
    >
    > Please guide.
    >
    > Regards
    > Nilesh
    Where is actually the problem, if one only reversed 0 quantity?
    Why do you think you need to reverse this reversal again?
    why with year 2010?
    Dont you do anual inventories?  Such stock counts have corrected your stock anyway. if you start cancelling older movements then you create stock inconsistencies again.

Maybe you are looking for

  • WRT54G2 DNS errors when connecting online to PS3... at a loss for ideas...

    Im having dns problems ever since PSN went back online and i cannot connect to the internet with my PS3 or log onto PSN. At first i would get dropped as soon i joined an online game, and it was running very slowly, but now it wont connect at all. Wir

  • ADOBE FLASH PLAYER UPDATE

    I have a Macbook Pro. My Adobe based downloaded info such as video's etc does not want to operate, it flags 'Flash out-of-date'. I have tried downloading the 'official' compatible Adobe update from the 'only update' recommended from these pages, but

  • Isync 2.4 and the Nokia 9300

    Ok, I know it's an old telefon but I'am waiting for the iphone. Does Anybody know how to get the Nokia 9300 work again? I doubled the Folder Nokia-9300i.phoneplugin and changed the text in the MetaClasses.plist but not with success. Whar else do I ha

  • Pdf report

    Hi, I am new to the oracle reports so i need your kind advise, suggestions for the follwoing: I have to create 6 pdf reports, each one will have 4 sub sections, user will click the print button on the form and then it will prints these 6 reports inlu

  • Auto, instant, direct download of photos?

    Aloha, I'm hoping to take photos while my camera (Nikon SLR) is attached to my computer and have the photo files quickly and automatically appear on my computer in iPhoto. I tried doing this with the normal cord used for downloading and it didn't wor