Production order in the additoanl tab b in sales order

Hello gurus,
I have to create a new field on sales order item(additional tab b) where the production order would be filled via a batch job.
Then i have to create a z-program to populate the new field added (this would run everyday).
selection screen would have sales order(optional)
sales org (required, multiple values possible)
plant (required, multiple values possible)
date (required field representing the date from which update is to be seen)
logic:
for a particular date find all the sales order changed after that date.
read for all these whether there is a production order linked to it.
(this can be done by reading all production oreders enterd/chnged after that date.
for every sales order look for the value of variant characterstics b_sales_order & b_sales_order_item using method get_prod_order_multiple)
look for sales order item with the value of this characterstic and populate the new additional field with production order.
please advice how to proceed.
Moderator message: "spec dumping", please work yourself first on your requirement.
Edited by: Thomas Zloch on Feb 27, 2011 6:38 PM

hi,
You can changes the settings in OPU3 and also you can do it in CO03.
If you want to restrict the user for backward scheduling except for some cases then you can do this in CO03 other wise it is better to do it in OPU3 transaction. Both cases you need to enter max days for back dated scheduling.
For doing it is CO03 follow the pat from order header data screen.
Menu...
Order>>settings->scheduling parameters.
Hope this can help.
regards,
kaushik

Similar Messages

  • How to change the product category on the item level of a Sales order

    1) For each product there are Basic Product Hierarchy and Sales Product
    Hierarchy.
    2) when creating sales order, system gets the Sales Product Hierarchy
    on the Item level with the default logic.
    So our question is: how to change the logic to let system get the Basic
    Product Hierarchy on the Item Level.

    Hi,
    I believe the POSTING DATE will appear on the accounting document
    In the Accounting document, the posting date will be based on the  Billing date.
    Please let me know if you need any more details
    santosh

  • How to read overall status of line item in Tab Status of Sales Order

    Hi Friends,
    I need to read the overall status of a sales order line item in transaction VA02.
    For example line item 00010, in its status tab under processing status there is a field overall status which has value Open, Completed etc.
    I need to read the text like open, completed etc.
    Kindly help.
    Thanks,
    Pradeep

    Hi Pradeep,
    Try these tables.
    Please have a look at below tables.
    AUSP
    Characteristic Values
    CMFK
    Storage Structure for the Error Log Header
    CMFP
    Storage Structure for Errors Collected
    FMSU
    FI-FM Totals Records
    FPLA
    Billing Plan
    FPLT
    Billing Plan: Dates
    INOB
    Link between Internal Number and Object
    JCDO
    Change Documents for Status Object (Table JSTO)
    JCDS
    Change Documents for System/User Statuses (Table JEST)
    JEST
    Object Status
    JSTO
    Status Object Information
    KANZ
    Assignment of Sales Order Items u2013 Costing Objects
    KEKO
    Product Costing - Header
    KEPH
    Product Costing: Cost Components for Cost of Goods Mfd
    KNKO
    Assignment of a Cost. Est. Number to Config. Object
    KOCLU
    Cluster for Conditions in Purchasing and Sales
    KSSK
    Allocation Table: Object to Class
    NAST
    Message Status
    SADR
    Address Management: Company Data
    VBAK
    Sales Documents: Header Data
    VBAP
    Sales Documents: Item Data
    VBEH
    Schedule Line History
    VBEP
    Sales Document: Schedule Line Data
    VBEX
    SD Document: Export Control: Data at Item Level
    VBFCL
    Sales Document Flow Cluster
    VBLB
    Sales Document: Release Order Data
    VBSN
    Change Status Relating to Scheduling Agreements
    VBUK
    Sales Document: Header Status and Administrative Data
    VBUP
    Sales Document: Item Status
    VBUV
    Sales Document: Incompleteness Log
    VEDA
    Contract Data
    Regards,
    Vijay

  • How to combine the line items of 2 Sales orders into 1 delivry

    how to combine the line items of 2 Sales orders into 1 delivry
    and their process, pre-requisites and tcode

    The prerequisites are:
    1) In the customer master sales area data, shipping tab, there is a field called Order combination. u must tick that.
    2) for the two orders, the sold to party & ship to party must be same
    3) both orders must have created from same plant & shipping points
    4) the line items must have same loading grp.
    5) the both orders sheduline line date must be same.
    transaction code for the same is VL04.
    enter the required data and select the order nos to be processed.
    Do reward points if it is useful

  • How to Modify the standard layout set for Sales Order

    Hi all,
    Do we have any sap defined standard to modify the sales order,if no How to Modify the standard layout set for Sales Order,an also plz send me the step by step procedure for the same.
    Thanks in advance
    Santosh R

    Hi, Dear Ferry Lianto,
    Thank you very much.
    Commonly I know the total pricing procedures.
    But, would you please tell me how to control the CURRENCY for the subitem of a condition type as follows?
    For example, I can see the following kind of
    contents in the Tab:condition of a sales order:
    PR00     Price     130.00000      TEST     100
         Gross Value     20.12      USD     100 <-how to
         Discount Amount     0.00      USD     100
         Rebate Basis     20.12      USD     100
         Net Value for Item     20.12      USD     100
         Net Value 2     20.12      USD     100
         Net Value 3     20.12      USD     100
    VPRS     Cost     27.22      HKD
         Profit Margin     16.61      USD
    The currency of PR00:price can be controlled via tcode VK12; but how to control the currency of its subitem such as gross value, discount amountm, net value for item, net value 2, & net calue 3...
    Thanks and regards.

  • How to define the detail "Condition" item for  sales order?

    Hi, I checked the condition information of a sales order, the following contents were displayed:
    PR00     Price     230.00
         Gross Value     230.00
         Discount Amount     0.00
         Net Value for Item     230.00
         Net Value 2     230.00
         Net Price     230.00
    I can understand that the price 230.00 can be maintained via tcode: vk11, what I want to know is:
    How to define/control the following items such as:
    Gross Value     230.00
    Discount Amount     0.00
    Net Value for Item     230.00
    Net Value 2     230.00
    Net Price     230.00
    and how to control their currency?
    Thanks.

    Hi, Dear Ferry Lianto,
    Thank you very much.
    Commonly I know the total pricing procedures.
    But, would you please tell me how to control the CURRENCY for the subitem of a condition type as follows?
    For example, I can see the following kind of
    contents in the Tab:condition of a sales order:
    PR00     Price     130.00000      TEST     100
         Gross Value     20.12      USD     100 <-how to
         Discount Amount     0.00      USD     100
         Rebate Basis     20.12      USD     100
         Net Value for Item     20.12      USD     100
         Net Value 2     20.12      USD     100
         Net Value 3     20.12      USD     100
    VPRS     Cost     27.22      HKD
         Profit Margin     16.61      USD
    The currency of PR00:price can be controlled via tcode VK12; but how to control the currency of its subitem such as gross value, discount amountm, net value for item, net value 2, & net calue 3...
    Thanks and regards.

  • What is the relation between delivery num , sales order num and invoice

    what is the relation between delivery num , sales order num and invoice

    Look at VBFA Table
    goto VBFA table ,enter order number number vbelv ,vbtyp_n is C,then VBELN is the delivery
    if you enter delivery number in vbelv ,vbtyp_n is J,then vbeln is Invoice.
    here VBTYP_N is the import.
    VBFA is the sales document flow table,and very important table
    Thanks
    seshu

  • Workflow in the releasing of Credit blocked sales orders.

    Hi All,
    My Client requirement is that they need workflow in the releasing of credit blocked sales orders.
    If once sales order is blocked then it should be approved at 3 levels, then only it should be released.
    Suggestions are highly appreciated 
    Regards,
    Kumar

    Hi Kumar,
    I think you can achieve this by using Authorization Concept.
    Please find the below link
    http://help.sap.com/saphelp_nw04/helpdata/en/52/671285439b11d1896f0000e8322d00/content.htm
    Authorization levels for Credit Rep Groups
    Thanks
    Dasaradha
    Edited by: dasaradha ramireddy on Nov 28, 2011 12:53 PM

  • Do not change the payment term created a Sales Order with reference

    Hi Gurus,
    Do not change the payment term created a Sales Order with reference to a contract where the payer of the change in Sales Order.

    Hello ,
    As per my understanding , you do not want the payment terms to be changed even if the payer partner function is changed ,
    as standard sap redetermines the payment terms with change in partner function, you may use the exit
    USEREXIT_MOVE_FIELD_TO_VBAK- header level
    USEREXIT_MOVE_FIELD_TO_VBAP- Item level
    in this you could write a small code which will not change the payment terms when payer is redetermined
    hope this helps
    Thanks
    akasha

  • Need logic for calculate the balance quantity in open sales order

    hi all
    i need logic to calcuclate the balance quantity in open sales order ,
    where i am using VBAK header and VBAP item , and VBFA for document flow tables
    i need to have the balance quantity , for the open sales order
    especially taking with respect to  VBFA-VBTYP_N = M for invoice creation and N for canellation
    any one please help me

    thank you but i am clear abt it
    will you please anyother way to calucaluate the logic ,
    and i need to populate in bukets also for the terms of 5 years
    Edited by: sridhar loganathan on Nov 25, 2008 6:43 AM

  • How the system determines the Requirement type  for one sales order

    Hi,
    SAP-SD Gurus,
    Please tell me how the system determines the Requirement type  for one sales order?
    Thanks & Regards,
    Sreenivas.P

    Hi,
    System follows some search criterial to determine the requirement type
    1. First, an attempt is made to find a requirements type using the strategy group in the material master.
    2. If the strategy group has not been maintained, the system will determine it using the MRP group.
    3. If the MRP group has not been defined, the system uses the material type instead of the MRP group when accessing the corresponding control tables.
    4. If no requirements type is found here, the system assumes a special rule and attempts to find a requirements type with the aid of the item category and the MRP type.
    5. If this is not possible, a last attempt is made to find a requirements type with the item category only.
    6. If the last attempt fails, the system declares the transaction as not relevant for the availability check or transfer of requirements.
    Please check the path
    SPRO->SALES & DISTRIBUTIONS->BASIC FUNCTIONS>AVAILABILITY CHECK AND TOR->TRANSFER OF REQUIREMENTS--->DETERMINATION OF REQUIREMENT TYPE USING TRANSACTION.
    Hope it will clarify
    regards,
    santosh

  • Can I use the customer requirement number as sales order in 'Goods issue MB

    Can I use the customer requirement number as sales order in 'Goods issue MB1A'?
    Thanks,
    Tiger

    Why I used the customer requirement in MB1A as the sales order, Update was terminated.
    Thanks,
    Tiger

  • Is it posible to find out the billing date of any sales order..?

    Hi all,
    Is it posible to find out the billing date of any sales order..?
    If it is posible tell  me how to do.
    Thanks

    Hi ,
    Can you explain more on this.
    I think you want to know billing date for the sales order. Here the billing is already done.
    If so , go to vbfa table and then give the sales order number in VBELV field. You will get many records. But VBTYP_N give as M ( Invoice ) and find out the document number and then pass it in billing table VBRK and get the date of creation.
    If it is like proposed date while creating the sales order ,
    then i am not sure about it.
    Regards,
    Venkatesh

  • How to delete the subsiquent document for a sales order

    Hi,
    Please tell me the tcode to delete the subsequent document of a sales order and a sales quotation.I want to reject or delete the sales quotation.
    Please tell me the procedure.
    Currently i am trying to cancel the billing document for sales order by VF02 and try to cancel through menu bar.
    After canceling the document its still giving the message that subsequent document exists.
    Please help.
    Thanks and Regards

    in the document flow : i am finding documents which are given below :
    Doc.                                           Date     Overall Processing Stat
    Serv. notif. 00015773
    Qt For NewConnection 20022016    23.04.08   -   Completed
    Order New Connection 22460 23.04.08           -    Open
    Z New Connection 90022430 23.04.08      FI doc. not Required
    Cancel. Invoice (S1) 90023731 19.07.08    FI doc. not required
    And no accounting document created.
    Thanks and Regards
    Edited by: Birendra Choudhary on Jul 19, 2008 2:08 PM

  • Is PRODUCT RED for the latest iTouch available for sale/shipping to the Philippines?

    Is PRODUCT RED for the latest iTouch available for sale/shipping to the Philippines?

    You'd already have your answer if you'd looked in the Philippine Apple Store:
    http://store.apple.com/ph/browse/home/shop_ipod/family/ipod_touch
    Regards.

Maybe you are looking for

  • Submenu Visible in IE7

    I am unable to view submenus in IE7, Firefox or Netscape. I used the Spry Nemu Bar Horizontal and Vertical templates provided with Dreamweaver 8. Does anyone have the necessary code for this? www.co.pierce.wi.us

  • Unable to register PDK sample provider

    Hi there, I having a problem registering the provider for the new pdk samples. I followed the recommended steps and got the test page. But when I try to register the provider I get the following: >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> An une

  • Help!!!!!!!!!!a bug in my applet

    i wrote a java applet,it compiled successefully ,but when i viewed it in IE brower, i found it doesn't reach my aim,my aim is :whem i push the scrollbar the position imformation will appear in the text field,and the two vertical(horizoncal)scrollbar

  • Can a footnote be spread over two pages

    I dislike having footnotes always keeping together in a block, and shifting to the page following the footnote reference marker in the text. (And it is very problematic to fix this for each individual case especially over a book of 900 pages.) Is the

  • How do a simulate a button click from the code in BSP

    Guys, I have a push button .I need to simulate the click of that button some way through the code (in the view or controller ).Maybe by raising an button event .Has anybody done it ? Any ideas ? Thanks, Manoj