Batch wise stock for a Purchase order

Here, i am receiving the goods from the customer for jobwork, while receiving the material (cloth) itself i wont receive the design what i have to print on the material.(For eg customer will send me some 5000 mtrs, he wont mention the design for that. but we have to give a lot number for the whole 5000 mtrs, then after 1 week he will give design for 2000 mtrs. and also he will tell 2000 mtrs 4 colors i have to divide that 2000 mtrs into 4 different batches and i have to bring it in to stock. and also i have to see the report that customer issued 5000 mtrs and for 2000 mtrs he had given program remaining 3000 mtrs he has to give program(Design)).
what i did is i created new doc type in PO (customer Cloth Receipt)
I made number range for that doc type as what they are currently maintaining now (so that number will be lot number, it will be the identification for that customer to track the material what he have supplied)
i created the new output type so that i can give the printout as an acknowledgement to customer
i created the customer as vendor
i did inbound delivery for that material what i have received (5000 mtrs) from customer(Vendor)
when i receive the program(design) for 2000 mtrs 4 different batches
i did GR against the inbound delivery so that while doing GR i can create 4 different batches and i can bring that 2000 mtrs into stock.
Pls guide me some steps where i can make this process simple......

Hi Jurgen,
Thanks for your reply. I am not looking for any analysis report or LIS report.
i am looking for simple ageing report for a date entered by the user. I got the logic and tables for the current date but if i need to refer the stock ageing of previous date like my stock ageing at 30-06-2010. I am not able to get any tables where i can have the batch stock for a given date or a month.
The report output format to be
stock <=30 days
stock>30 and <=90
stock>90 and <=180
stock>180 days
The criteria for calculation will be the date entered by the user in the input screen. If the user enters the date as 30-06-2010 then all the stock received in the month of june and still lying in my storage location will fall the category <=30 and display in the report.
Stocks received in the month of march, april and may will fall under the category "stock >30 and <=90".
If I can get the batch wise stock for a particular month , I can pick the posting date of the Goods receipt from the batch number and calcuate my ageing (i.e date entered in the input scren of the report 30-06-2010 - batch posting date).
I am also referring to the note which you have sent but in the mean while if you can help me to identify the tables where I can get the batch stock for a particular month.
Thanks
Fazal.

Similar Messages

  • Batch wise stock for a given period or month

    Hi,
    My company wants to implement stock ageing report in MM.
    We manage the stocks in Batches. For us the main criteria for stock ageing is batch creation date.
    The report should run stock ageing based upon the date range given as an input screen
    For ex : date range in input can be of today or as of 30.06.2010.
    If the report is run as of today then I am able to get the batch stock from table MCHB . Quantity from field "CLABS"  and the batch creation date from the field "ERSDA"
    But if the report to be run as of 30-06-2010. Then I am not able to get the data from MCHBH as of 30.06.2010.
    I have checked for one material in the table and as per stock it should be 351 as of 30-06-2010 but in the MCHBH table for the month 06. year 2010 it is showing as 136 pcs only.
    As our LIS tables are not getting populated correctly I am not able to check those tables too.
    Can any one guide me with the logic or the table where I can get the batch stocks for a particular month.
    I need Material, Batch, Quantity month and year .
    Please advice how can i get the data and from which table.
    Thanks you for your support in advance.
    Regards
    Fazal

    Hi Jurgen,
    Thanks for your reply. I am not looking for any analysis report or LIS report.
    i am looking for simple ageing report for a date entered by the user. I got the logic and tables for the current date but if i need to refer the stock ageing of previous date like my stock ageing at 30-06-2010. I am not able to get any tables where i can have the batch stock for a given date or a month.
    The report output format to be
    stock <=30 days
    stock>30 and <=90
    stock>90 and <=180
    stock>180 days
    The criteria for calculation will be the date entered by the user in the input screen. If the user enters the date as 30-06-2010 then all the stock received in the month of june and still lying in my storage location will fall the category <=30 and display in the report.
    Stocks received in the month of march, april and may will fall under the category "stock >30 and <=90".
    If I can get the batch wise stock for a particular month , I can pick the posting date of the Goods receipt from the batch number and calcuate my ageing (i.e date entered in the input scren of the report 30-06-2010 - batch posting date).
    I am also referring to the note which you have sent but in the mean while if you can help me to identify the tables where I can get the batch stock for a particular month.
    Thanks
    Fazal.

  • Problem for Goods Receipt for Subcontracting Purchase Order

    Dear all,
    Presently, we are using SAP version 4.6C and we need to introduce GR for
    Subcontracting Purchase Order. We have developed a ABAP program to handle
    subcon Goods Receipt by uploading flat-files from our subcontractor. The
    scenario is as follows :
    Goods Receipt for Subcontracting Purchase Order
    1. In the ABAP program, function BAPI_GOODSMVT_CREATE will be used for goods
    movement.
    2. Data provided to the function are as follows :
    - Posting date
    - Document date
    - Material number
    - Plant
    - Storage location
    - Batch
    - Movement type (101)
    - Quantity
    - Purchase order number
    - Purchase order item
    - Movement indicator (B - Goods receipt for purchase order)
    3. The function will do data verification and automatically determine GI
    item for subcon stock:
    - Movement type (543)
    - Special stock (O - parts prov. vendor)
    - Material
    - Quantity
    - Plant
    Our problem is that :
    Only the GR item in the interface is to be transferred and the GI item is
    determined by the system. So, the quantity for subcon stock cannot be
    changed using this BAPI. Then the system will continue processing the goods
    receipt and create material document.
    Manually, by using transaction code MIGO, the user can display the subcon
    stock data and then change the quantity.
    By using transaction code MB01, after the user fills in all the GR fields,
    the system comes to line item 002 (subcon stock data) and then quantity can
    be changed.
    As per user requirement, quantity for GI item must be same with the quantity
    that has been transferred to subcon vendor in Delivery for Subcon
    (transaction code VL02N).
    We cannot achieve this requirement by using the BAPI mentioned above. Would
    appreciate any valuable help from anyone who is able to help us on this
    matter. Are there any other BAPI's that can help us to achieve the same
    result ?
    Thank you in advance and best regards.

    As far as i understood the problem I suggest u to create the
    BDC according to user actions that are performed in he manual
    operation.
    I can't say that the BAPI performs the exac solution what you want.
    I have done some BDC work using MB01 and suggest you to be careful
    and try to keep the complete in the logic as some chages in rows in BDC will
    change the complete scenario.And throw correct quantity val in correct
    material
    row.
    This methodology will help u even in mass uploads.
    Or in case of automation u can perform the call transaction BDC in
    background mode.
    so As per my understanding bdc program is the solution. pls try and let me
    know.

  • Automatic account postings (for Intercompany Purchase order and Sales order

    Hi all,
    I need some help related to the automatic account postings (for Intercompany Purchase order and Sales order)which i can set for the follwoing scenarios. I have looked on the forms and searched alot but not able to a single solution to solve both the pupose. if one scenario works the other doesnt. Please advise.
    I have created the master data
    Customer receiving--G001
    Sales Org.--GXIN
    Distr. Channel- 01
    Division - 00 
    Company code receiving - G1
    customer supplying- V001
    company code for supplying- V1
    2 different scenarios
    1- Intercompany Purchase order in which a Customer receiving- G001, gets stock replenishment NB purchase order from supplying company V1- GI  and GR of stock is done. Biling document for customer receiving G001 is created. But now I need a way to do the opposite side posting at the supplying customer -V001-- this I do using an Idoc which creates a Invoice receipt for creditor(supplying customer) V001.
    2. Sales order-- A customer X001 of company code G1 buys stock from the company code V1. the customer G001 of company code G1 bills the customer X001, but the intercompany billing doc/ invoice is created for the customer G001 by company code V1.  then now i want an automatic account posting to be created at the supplying customer V001 via idoc.
    Can this be achivable via Idoc with automatic account postings.   
    Please let me know if it doesnt make sense. thanks to all in advance
    cheers
    Jasmeet

    Hi all,
    For the Sales order and automatic posting we have created an output type ZR4N- this is creating a batch input session which can be triggered to be processed autmatically.
    For the intercompany Purchase order -from Invoice we are creating a different output RD04 (sap standard) which creates invoice receipt at the vendor side.
    Rest of the settings are defined using SAP standard functionality within transaction OBCA, OBCB, OBCC, OBCD,OBCE
    thanks for viwing the post
    Cheers
    Jasmeet

  • Split Valuation of Materials for which Purchase Order exists.

    Hi,
    I want to do the split valuation of materials for which Purchase Order already exists and GR has taken Place.
    Is there any way to do it?
    Regards,
    B P Singh

    Hi,
    Yes, you can.
    Please start transaction MM02 and set the valuation category > you will get an error message > click on 'Display Errors' button and SAP will say what hinders you from the change.
    - you should set the stock level of your material in previous and current period to 0 (it is possible with posting date in the past; MB1A201 > after material master settings you can set back the stock level via MB1A202)
    - delete transactional data (including your PO)
    - mark batch records with DF and archive them
    - etc
    BR
    Csaba

  • Good receipt problem for subcontracting purchase order

    Good receipt problem for subcontracting purchase order
    with account assignment type ‘E’.
    After update to ECC 6.0. Do good receipt for subcontracting purchase order with account assigment 'E'.The system show the error message(KI235)----Two cost elements (Change in Stock (Subcontracting)&Outside processed fee) haven't CO account assignment.but the field status  for sale order is option entry , when I default cost center for the cost element  in OKB9.the system post the material document and generate the following accounting document.
    Doc.Type : WE ( Goods receipt ) Normal document
    Doc. Number    5000056065       Company code    1000         Fiscal year     2007
    Doc. date      2007.12.04       Posting date    2007.12.04   Period          12
    Calculate Tax
    Doc.currency   HKD
    tm PK Account    Account short text   Tx Cost Ctr   SaleOrder               Amount
    1 89 13500000   Stock-Work in proces                   1007823  10             274.4
    2 96 21210010   GR/IR Clearing                             1007823  10             205
    3 91 41010102   Chg in Stock(Subcon)    10901099  1007823  10            274.4
    4 86 41031000   Outside processed fe     10901099  1007823  10            205  
    5 99 13500000   Stock-Work in proces                    1007823  10            69.4
    6 81 41010101   Cost of Prod (Subco)                      1007823  10           69.40
    My problem is:
    When use MIGO to do good receipt for subcontracting Purchase order, for consumption account((Change in Stock (Subcontracting)-41010102&Outside processed fee--41031000) ,why the system don’t recognize the sale order filled as CO account assignment?

    Dear fanny chen
    Did you get a solution for your open question?
    I`m facing the same problem, so any help yould be appreciated.
    Regards

  • What is a Statastical Good Receipt for the Purchase Order?

    Hi,
    What is a Statastical Good Receipt for the Purchase Order?
    What are the effects of the same in the documents like the po,stock (quantity and value), invoice verification etc?
    Thanks
    Regards

    Hi,
    In general the Statical GR done for Thirdparty Purchase Order.
    As no stocks updated at plant, its only record purpose.
    If you don't  done this GR , also you can able to do MIRO.
    The MIRO passed without any error.
    Regards

  • Data Migration for Open Purchase Order

    Hi, All,
    Is there anyone know how to Count the volume for Open Purchase Order. What's the normal strategy for the Data Migration and Cut-over stage?
    My client want to know how many Open Purchase Order in the legacy system and then determine manual or automatic data migration. If manual, how to do? If automatic, how to do? Because all materials and vendors, plants are different number. How to track? How to find out to match between new and old?
    Thank you very much

    JC,
    Sounds a bit early to be making decisions about the realization phase.  It doesn't sound like you have finished the Blueprinting phase yet, much less the testing phase.
    Anyhow, in my experience I typically use LSMW (Legacy system migration workbench) to load MM master data (material masters), Inventory (WIP, RM, FG, etc) Purchasing Master data (Vendors, Purchase Info Records, Source Lists, Quota Arrangements), and Purchasing transactional documents (POs, PurReqs, Scheduling Agreements, etc).  Depending on the complexity and volume of data, it  may be necessary to write custom programs to load the data.  You will find this out during your requirements gathering.
    It is uncommon but possible to load all of these data manually.  I have never run across a client that wants to pay a consultant's hourly rate to sit at a terminal to peck away loading master data, so if the client intends to have his own users enter the data manually, the project manager should make provision that there will be qualified TRAINED client employees available for this data entry.  I did help with a portion of a conversion once manually; of Sales Credits, but there were only about 30 SD docs to load.   I did this the evening before go-live day, while I was waiting for some of my LSMW projects to complete in the background.
    A good opportunity to 'practice' your data loads is right after you have completed your development and customization, and you have gotten the approval from the client to proceed from the pilot build to the full test environment.  Once you have moved your workbench and customization into the client's test environment, but before integration testing, you can mass load all, or a substantial portion of your conversion data into the qual system.  You can treat it like a dry run for go-live, and fine tune your processes, as well as your LSMW projects.
    Yes, it is good practice to generate comparisons between legacy and SAP even if the client doesn't ask for it. For Purchase orders on the SAP side, you could use any of the standard SAP Purchasing reports, such as ME2W, ME2M, ME2C, ME2L, ME2N.  If these reports do not meet the requirements of the client, you could write a query to display the loaded data, or have an ABAPer write a custom report.
    You didn't ask, but you should also do comparisons of ALL loaded data - including master data.
    It sounds like you are implying that the client wants YOU to extract the legacy data.  For an SAP consultant, this is not very realistic (unless the legacy system is another SAP system).  Most of us do not understand the workings of the myriad legacy systems.  The client is usually expected to produce one or more legacy system technical experts for you to liase with.  You normally negotiate with the technical expert about every facet of of the data migration.  In addition, you will liase with business users, who will help you and the implementation team to logically validate that the final solution (turnkey SAP production system, fully loaded with data) will meet the client's business needs.
    Finally, you mentioned how do you track the mapping of master data between legacy and SAP.  There are many ways to do this.  I normally try to get the legacy person do the conversion on his end, eg, when he gives you the load file, you would like to have already translated the master data and inserted the SAP relevant values into the file.  If this is not possible, I usually use MS Access databases to maintain a master map, and I perform the mapping on a PC.  If your data package is small, you can probably get by using MS Excel or similar.
    Good Luck,
    DB49

  • How to set up automatic payment for the purchase order

    Hi, All,
    I have one question how to set up automatically payment for the Rent Office purchase Order?
    There is the requirement from the client. They want to create one kind of purchase order for the Office Rent, then pay the fees in the certain time of every month to the vendor for the rent fees without any invoice. Whatu2019s the normal solution for this kind of purchase order? Is it ERS? Or something else?
    Please give me the details and business flow. Also please tell me how to setup in the SAP and T-code.
    Thanks in advance

    Either you can set up ERS or you can pay directly from the FI side.
    Prerequisites
    Evaluated receipt settlement must be flagged in the purchase order item.
    The vendor must be flagged as being subject to ERS in the vendor master record.
    The goods receipt must refer to a purchase order.
    Goods-receipt-based Invoice Verification must be defined for the purchase order item.
    A tax code must have been maintained in the purchase order item.
    The order price of the materials may not be an estimated price.
    If you flag a vendor as being subject to ERS, the system sets the ERS indicator as a default in each item when you create a purchase order for the vendor. You can prevent this happening for certain vendors by flagging the info record for the material and the vendor as not being subject to ERS.
    In Purchasing, you can delete the default ERS indicator in a purchase order item.
    Choose Logistics Invoice Verification ® Automatic Settlement ® Evaluated Receipt Settlement (ERS).
    The selection screen appears.
    You can use the following criteria to narrow down selection of the transactions to be settled:
    Company code
    Plant
    Goods receipt posting date
    Goods receipt document
    Fiscal year of the goods receipt
    Vendor
    Purchase order and order item
    You can define the selection criteria for the invoice documents by:
    Delivery
    Purchase order
    Purchase order item
    Goods receipt document
    Credit memo
    Invoice
    Currency
    Choose  Execute.
    The system issues a log for Evaluated Receipt Settlement, which displays the following:
    Settled
    In line with your selection criteria, the system displays all the order items that were settled (or if you are working in test mode, which would have been settled).
    Could not be settled
    In line with your selection criteria, the system displays all order items for which ERS is defined but could not be settled. It also lists the reasons.
    If the system reports being unable to invoice a transaction, you should exclude the transaction from ERS to avoid it being included in the log the next time ERS is run.
    Select the item and choose Exclude from ERS.
    The system also generates and possibly sends a message to inform the vendor(s) about the transaction settled, depending on the settings in Customizing.
    You can display the following environment information for the order items selected. To do this, choose Goto ®:
    Display purchase order
    Display invoice
    Display material document
    Display long text

  • Report for released purchase order

    Hai guru's
    this is second time but i did't get any good replay please consider this, i want any standard report for released purchase order,means(i released two backdated po today next day i verify the report ME2n,those po are not display, the system take only document date not released date, now i am using CDHDR through this i got the report. but it is big process, so once check this and send your valuable solution.
    Prasad

    Hi Krishna,
    You could use Me2N with the dynamic selection coupled with normal selection screen.
    In Dynamic selection(3rd icon in screen).....you can select for which company code, release indicator as released....and save it as default variant.
    hope this should solve your query
    Sk.

  • Unable to preview Contract Terms for Standard Purchase Order

    Unable to preview View Contract Terms for Standard Purchase Order,displays error
    We have defined the same contract terms and Document type layouts to documents Contract Purchase Order and Standard Purchase Order.
    Created a Contract PO,Attached a template able to preview the contract template in PDF successfully
    Created a Standard PO,Attached a template not able to preview the contract template in PDF
    Displays the foll error
    Problem: The system could not generate the PDF document.
    Reason: The system detected an error in the following code/object.
    Code: XML
    Object: PO
    Action: Please contact the system administrator and try again
    ### Steps to Reproduce Problem ###
    Steups
    Created a custom XSL-FO template for Contract template and defined it for Standard PO and Contracts PO.
    Steps to Reproduce
    1.Create a PO,give any category of 100 Qty
    2.Click Terms and CLick Author Contract Terms\
    3.Select the custom Template ,Click Apply Template
    4.Click Preview.
    Following error displayed
    Problem: The system could not generate the PDF document.
    Reason: The system detected an error in the following code/object.
    Code: XML
    Object: PO
    Action: Please contact the system administrator and try again
    Please Note:The above scenario works for Contracts PO.
    The problem is only for Standard PO
    We have reviewed note:454479.1
    The file version of POXVCOMB.pls 115.69.11510.28
    But we have another test instance this also has the same version , the scenario works fine
    So we are confused why this is reproducible only for a particular instance with same file versions
    If anyone can suggest a solution pls give me a reply
    Already SR is logged for the same -SR 3-1272761221, awaiting reply from support

    Please reply if any update on the above query is present.

  • Urgent - How to change Item category for Open Purchase Order

    Hi Team,
    Lil bit tricky issue.
    My client has asked us to change the existing Item Category values, Combinations, Category Set etc. Its been changed and uploaded successfully.
    The question here is how we need to handle the category for Open Purchase Order. How to update the same.
    Do we need to do manually or any other way ?
    Please advice
    Regarads,
    John

    Hi John,
    This is reallly a tricky issue!
    I guess you cannot change the category of an existing PO's.
    This field will be greyed out once we save the form...there were no profiles/other setups to enable this field.
    For all new PO's since you have changed the new category value that should not be a issue.
    Lets wait for some of our colleuges opinion.
    I guess PO cancel should be the final option if we dont hear any new work arounds.
    Thanks
    -Arif.

  • DELIVERY COMPLETED indicator for Services Purchase Order

    hello experts,
    i'm working in SAP with R3 4.7 for developing funtion / BAPI for a mobile web application for services purchase order.
    i have a big problem:
    is it possibile to set the DELIVERY COMPLETED indicator (<i>ELIKZ</i>) in services purchase order via BAPI or Function Module?
    <i>I'm working with BAPI_PO_CHANGE but and i succeded with material PURCHASE ORDER but not with SERVICES PURCHASE ORDER</i>.
    can anyone help me?
    thanks in advance,
    Eliana

    For material:
    Delivery completion (DCI) tick available at line item level for each material (EKPO- ELIKZ)so you can check for the each material in PO the DCI is available or not.
    For Services:
    As Service code (Service line items) are maintained in details screen of Header line item. So whenever the DCI (Delivery completion indicator) marked for that Header line item it means that all the service line items are marked as DCI for that Header line.
    DCI indicator can mark manually in Change PO mode and automatically when service entry done as final for that Header line.
    So you can check the DCI for service same way as you do for material
    Hope it will help you
    Regards
    Vikrant

  • Multiple Vendors for one Purchase order in delta load

    Hello,
    While Extracing data from 2LIS_02_SCL we are getting 2 vendors for a singe purchase order , as we know that for a purchase order we cannot have multiple vendors.
    When i checked data in deta queue (RSA7) we are able to see only single vendor for 1PO, but when we load to bw and checked data in PSA we are getting 2 different vendors for same PO.
    Regards,
    Vasu.

    Hello,
    As per my understanding you are getting data upto delat queue (RSA7) Correctly and you are getting incorrect data at PSA level In bw.
    i think you must have some customer exit in ECC for the datsource 2lis_02_scl. so i would say that there may be some problem in the code since the customer exit code will get triggered after RSA7 and before PSA in BW..
    Additionally you can cross check in RSA3 with update mode as 'D' which gives  delta before loading to BW.
    Debugging option :
    Load data to BW and pick the PO having multiple vendors and in ECC dubug using RSA3 with update mode as "R" inorder to fing the problem in customer exit code.
    Hope this helps you..
    Regards,
    Srikanth.

  • Error during Post Goods Issue of Material in VL02N for STO Purchase Order

    I am getting one error message during Post goods issue of Material for STO Purchase order.
    I am doing the Post goods issue in T code VL02N
    Error is " Account type D is not defined for Document type WL"
    What is the settings required to be done.
    Thanks,
    Shailendra

    Please check Plant customer master reconsilation account properly maintained or not in XD03 transaction.

Maybe you are looking for

  • HP LaserJet 3030 printing gets "is not connected" message

    When I send data to print, the printer appears to power off then restart with "Scanner Bulb warming up" message on the printer.  Then I get a message on my computer that the printer is not connected. This occurs with either a USB cable attached direc

  • Calling transactional BAPI from Web Dyn Pro

    Hi, I am trying to call an RFC from web dynpro, unfortunately I'm a java person rather than ABAP so am struggling a little.  The Bapi is BAPI_BPCONTACT_CREATEFROMDATA, which a colleague has wrapped up so that it saves data from memory and then commit

  • Sapscript label prints - problem with high print quantity

    Hello, we are printing labels out of deliveries using sapscript. To allow print copies, I have set the DIALOG to 'X' on the function call for OPEN_FORM (see below). We usually print 1 copy for each label. It is working fine for low quantities like fo

  • Safari 4 crashes on window close

    Hey guys, I keep getting safari crash everytime I close a safari window or a tab. Crash log follows Process: Safari [5624] Path: /Applications/Safari.app/Contents/MacOS/Safari Identifier: com.apple.Safari Version: 4.0.2 (5530.19) Build Info: WebBrows

  • I can not connect to my Time Capsule, rescaning for the device does not work.

    I used extra Len Cable to connect to my MacBook but still it can not find the Time Capsule. What are my other options to try reconect the Time Capsule again?