Production Order header Qty change without changing the line qty

Dear Experts,
  This is one of the requirement from my client. He has to change header planned qty without changing line planned qty in the production order. They are doing this to avoid the wip variance account posting. Can we achieve this through SDK? If so how?
Regards,
Gokul K.

Hi Gokul,
You can over write the planned quantity by the base quantity in each line.
Here is my sample fro you:
If (Not pVal.Before_Action) And (pVal.EventType = SAPbouiCOM.BoEventTypes.et_VALIDATE) And (pVal.ItemChanged) And (pVal.FormTypeEx = "65211") And (pVal.ItemUID = "12") Then
  With CType(SBO_Application.Forms.Item(FormUID).Items.Item("37").Specific, SAPbouiCOM.Matrix)
  For ii As Integer = 1 To .RowCount - 1
  .Columns.Item("14").Cells.Item(ii).Specific.value = .Columns.Item("2").Cells.Item(ii).Specific.value
  Next
  End With
End If
regards,
Csaba

Similar Messages

  • Batch determination in the production order header

    Hi,
    I'm trying to determine the batch for the production order header (AFPO-CHARG). I've set up the search strategy, added the procedure to the relevant plant/order type combination in OPL8 and created the batch search strategy to default the batch, however, when I create the order the batch does not default. Am I missing anything obvious?
    Thanks in advance!

    Hi
    Batch Search strtaegy is used to get the batch numbers of the components in the production order or get the batches in the delivery of the sales order.
    These batches can be selected based on the selection criteria and the sort rules.
    I do not completely understand what you mean by batch at heaser level.
    If you mean to say the batch number for the header material then you can not search that batch since it has to be created first.
    Hope this helps.
    Cheers

  • Hide Unit price from sales order for sales user without change authorization of document setting

    Hi all expert
    Hide Unit price from sales user without change authorization of document setting.
    I have also refer this note
    SAP B1 2005 Purchas Order,Good Reciept PO'S, and Unit Price Block
    but sill I had not getting my proper solution.
    I want to restrict sales person to see & access unit price. Here I know option of block authorization of document setting but its not good option because , In future ,if sales user wants to changes forms setting in future so Its become problematic for user. so I want do this without restrict user for form setting & only hide unit price table from him/her. also He/her able to access form setting with out unit price.
    Please reply
    Amol Nikam

    Hi Experts,
    Please Tell me Is there any option "Hide Unit price from sales order for sales user without change authorization of document setting"
    Regards/Thanks
    Amol

  • Make Scrap portion field in production order header as display only

    Hi Experts,
    We have a requirement to make scrap field(CAUFVD-GASMG) in production order header as display field only. We do not want users to enter any values here to denote the quantity scrapped in production orders. I am not aware of any configuration to make this field as display only. Please let me know which user exit or BADI available for this purpose. We do not want to use any screen variants and transaction variants and would like to restrict this at order type or plant level.
    Thanks
    Rijil

    Hello Rijil,
    If not with variants than check with enhancement.
    PPCO0006  Enhancement to specify defaults for fields in order head
    PPCO0012  Production Order: Display/Change Order Header Data
    PPCO0018  Check for changes to production order header
    Regards,

  • Subsinvprocess in the sales order header --- billing tab and in the custom

    Hello All
    there is a field SubsInvProcess in sales order header - billing- tab and in the customer master - billing tab
    what was the functionality of this field. I never worked with it
    kindly help on this one. 
    Thanks,
    prasad

    Dear Vara prasad,
    The value of this field is if you want to print the invoices that are being posted manually you can activate this field.
    It will be directly proposed from customer master to sales document, where you can change.
    Please let me know if you want any further clarifications.
    Please go through this thread also for further reference.
    Clarification for usage of Subsequent Invoice Processing in Customer Master
    Thanks&Regards
    Raghu.k

  • Header qty is less than the operation qty.

    To certain production order header qty is less than the operation qty. Please advise me.

    Dear,
    Base Quantity - Quantity of the material to be produced to which the standard values of the operation refer.
    Operation Quantity - Quantity planned for this operation.
    Base quantity and operation quantity may not always be the same, if we have partial lots delivered during the sequence of operations, the operation quantity will be equal to the lot delivered during the operation.
    Base quantity is dependent on the BOM, where it signifies the total quantity of output after using the components of certain quantity.
    In routing, you neeed maintained there operation quantity, and unit of measure of operation quantity accordingly with base quantity unit of measure.
    Check up the Processing formula used in the Scheduling tab of Work center (Use SAP002 = Machine * Oprn qty / Base qty / No. of splits)
    Hope clear to you.
    Regards,
    R.Brahmankar
    Edited by: R Brahmankar on Oct 7, 2008 11:37 AM

  • Production Order for a material without BOM and Routing

    Is it possible to create a production order for a given material without routing and BOM, I know we can
    create a production order for a material without a BOM (with a default routing) just wanted to check with
    the above criteria
    Thanks in Advance!!

    Members:
    Thank you for your valuable replies and time
    Santosh:
    Tried what you have mentioned, but system still picks up a default routing
    Kaushik:
    Maintained Default values in OPJG for the given order type, but system still picks up
    default routing
    Mangalraj:
    have no issue in creating a production order without a BOM, but I am trying to see
    is there a way where I can create a production order without a BOM and routing (not
    even default operation )
    Any suggestions on how to create a production order for a material without a BOM
    and routing (not even default one )

  • In the Production Order, Sales Quotation is displayed not the Sales Order

    Hello to All,
    I need a kind help from you.
    My scenario is as follows
    There is a Configurable Material (Finished Product)
    Sales quotation (VA21/2/3) were made for this material.
    Sales Order (VA01/2/3) with reference from the Sales Quotation were made for this same material.
    Now when I run the MRP (MD02) for this material, Planned Orders were created.
    Planned orders were converted to the Production Order.
    In the Production Order (say in Display mode), under the 'General' tab, there is a segment called 'Sales order'. In this segment, the sales order is being displayed if the Production Order is created for a sales order (MTO scenario).
    But, in my case, the Sales Quotation number is being displayed instead of the Sales order.
    My Issue which need your answers:
    Is it a standard SAP scenario?? I mean, if the production order is created for a sales order and again if the sales order is created earlier with reference to a sales quotation, then in the production order, the Sales quotation is displayed. Is it a standard?? Or it is showing wrongly? I mean, is it like that, always the sales order should be displayed in the Production order and not the sales quotation??
    Please suggest so that I can overcome this problem, if at all it is a problem.
    Some More Inputs (For your analysis/research):
    1. After the MRP run of the material the Planned Order is created. I have checked the planned order, and found tha the assignment of sales document (in this case Quotation) is done in the Planned order itslef. It is visible wthin the "Assigmnet" tab of the Planned Order.
    2. For the analysis purpose, I created one stand-alone Sales Order for the same material. I mean, without reference from any Sales Quotation. Then, when I run the MRP (md02), the Planned Order and then production order were created normally, with reference to the Sales order. This just for your kind information.
    3. I have checked the pegged requirement of the Production order in the MD04. It is showing the Sales order itself. But, if I see the production order (CO02/O03), it shows sales quotation.
    User Requirement:
    Evenif, the sales order is created with reference to a Sales Quotation, after MRP run, in the Planned and thereby subsequent production order, the Sales Order should display and not the Sales quotation.
    Please suggest.
    Thanks and Regards,
    Supriyo

    Hi
    Since your scenario is configurable material,  the system takes the reference of sales quotation only. Because the in case of configurable materials the sales quotation is the base and based on the sales quotation the sales order is created and subsequent production order.
    This is std SAP and for configurable materials the sales quotation is deciding factor
    Krishna

  • User Exit: Saving data in Production Order Header Long Text

    Hi PP Gurus,
    Can any one let me know which user exit can be used to save some data in the Long Text of Production Order Header.
    We try PPCO0007, it works well on ECC, but my client's system version is 4.7, it does not work.
    In 4.7 version, is there any other User Exit or BADI can be used to comply with this requirement?
    It's quite common requirement, hope someone can help me. Thanks.
    Best regards,
    Sun Qiang

    Hi All,
    Thank for your reply.
    After saving the text using 'SAVE_TEXT' function module and commiting it you need to update the 'ltext' field in AUFK table.
    SELECT SINGLE * INTO wa_aufk FROM aufk WHERE aufnr EQ '000012345678'.
    wa_aufk-ltext = 'D'.
    MODIFY aufk FROM wa_aufk.
    It works in Enhancement PPCO0007.
    This call can be closed. Thanks.
    BR
    Qiang

  • Production Order header Long text

    Hi ,
    I need to get the long text in the Production Order Header.
    I am aware that I would need to use READ_TEXT FM.
    What are the parameters that I need to put in?
    ID                           
    LANGUAGE                      
    NAME                          
    OBJECT
    Thanks!

    Hi Donna,
    This is the answer:
    ID                              KOPF
    LANGUAGE               EN
    NAME                        035000010000121
    OBJECT                     AUFK
    For name you have to concatenate client number + production order number.
    From my example above 035 (client number) + 000010000121 (production order number) .
    Hope it helps,
    Victor.

  • Table for field "delivered" in production order header general tab

    Hallo everyone,
    I am looking for the field "Delivered" in the production order header on tab General. Can anyone tell me in which table it is stored?
    Thanks and regards,
    Jessica

    Hi,
    Field "ELIKZ" ("Delivery Completed" Indicator) is available in Table "AUFM" (Goods movements for order).
    Here You can co-relate this with field "AUFNR" (Order Number)

  • Default of fixed batch number for production order header????

    Hi Experts,
    In SAP, when create a production order, in the production order Header view, in the "Good Receipt" Tab, there is a field "Batch" , which means "Assigns a material that is manufactured in batches or production lots to a specific batch ".
    For some special reasons, we want for some certain materials,when create production order every time,the "Batch" field will be a fixed values.
    For example,for material "AB1" ,"CD2",when create production order every time,the "Batch" field will be "2345" automatically,do not need input manually.But for all the other materials, the "Batch" field would be null ,no value.
    How can I do this? How can assign fixed batch number values to some certain materials in production order?
    If there needs some ABAP development,which user exit do I need??
    Thanks for any reply!

    Hi V.SURESH
    Thanks very much!
    I know what you mean. Default batch number in the production order eans, there is no use of using batch management.
    In fact, my purpose is just want to  deactivate the batch management for some certain materials.
    So for some certain materials,when create production order every time,the "Batch" field will be a fixed values.
    How can I do this? How can assign fixed batch number values to some certain materials in production order?
    If there needs some ABAP development,which user exit do I need??

  • OM Sales Order Header should be Closed Immediately after Lines are closed

    Hi,
    OM Sales Order Header should be Closed Immediately after Lines are closed.
    Could you tell me how to modify the header workflow, if anyone has done this...could you please share.
    Thanks

    Thanks Mano, it worked.
    I have one question in workflow, let me create new thread.
    Could you please check my other question at below.
    OM Notable able to capture Approver Rejected comments from the Note field in WF
    OM Notable able to capture Approver Rejected comments from the Note field in WF

  • Issud  qty is  greter  than  the   Reservation  qty

    Dears,
    I   Have  creted the   Resevation  100 qty  for  cost center 1.
    While  i  am    issuing  the   qty    to   cost  center system  is  allowing  more qty  than  the  reserved   qty100.
    Even  if  i  given  the  200  qty  system  is  posting the  Document .
    How  Avoid  this  Posting  and  where  i  ahve   to    cofigure  the    System   setting  please  Guide   Me.
    If  i  am   issuing the   More  qty  than  the   Reserved  qty  systemm  should  give  the   Error  message.
    Like issued qty  is  more  than  the   Reserved    qty .

    This can be controlled by setting the messages to Error in the Relevant application area.
    Go to SPRO-MM-Inv Mgmt & Phy Inv-Define attributes for System messages / use trxn code OMCQ and find the Relevant message number and set to Error and Save.
    Also Check in SPRO-MM-Purchasing-Environment-Define attributes for System messages / use trxn code OMC0 (trxn code may not work) and find the Relevant message number and set to Error and Save.
    Eg : 06 078 Target quantity exceeded by  & & etc

  • Change Production Order Header description

    Dear Gurus,
    When production order is created for a material using CO01 the order header short description is picked up as the Material Master description; however it is non-editable. I want to make this editable. Please let me know the customizing settings to make this editable.
    Thanks & regards

    Hi Manish,
    We use alternative PP BOMs. The description of the FERT material master carries the description of the alternate BOMs combined. When any one of the BOM is selected while creation of production order the order header description carries the material master description which is a combination of the alternative BOMs. We need this to be editable so that the correct description corresponding to the relevant alternate BOM can be maintained.

Maybe you are looking for

  • Doesnt show my phone as an option to sync

    i plugged in my phone to do a restore.. now whern i plug it in it doesnt show it as an option to sync... it just shows it as a "new device" or an additional "restore" Please help

  • Need an overall brief view of developing a J2EE/Swing application

    Hello there I am curious to know how does a J2EE, JFC/Swing application work? I mean the front-end is coded in Swing. The backend is, say Oracle. How is the information sent to the database and retrievd back?? I know it is not so easy to explain abou

  • Nokia x2-01 CODE ERROR

    My nokia x2-01 gives me a code error. it ASKS FOR A SECURKITY CODE EACH TYME I INSERT ANOTHER SIM AND DOES Not ACCEPT 12345. I CANT REMMEMBER SETTING up any security code The current sim it apparently accepts is nt even the ist sim card that came wit

  • New to verizon and droid

    i just bought the new galaxy nexus yesterday and was browsing around the market but there are waaaayyyy too many apps to see each one so i was wondering if there were some apps that were pretty much a must have?

  • Checking default printer before running a report

    Hi guys, I'm trying to run a report directly from a form on the Web. However, at form runtime, the only thing known is DESTYPE ('PRINTER') but DESNAME is not. What I would like the form to do first is to check the user's local machine's default print