Update a Customise status massage/Qty in Sales Order line at PGI

Dear Gurus,
We are new to SD and we are willing to implement a status update or the PGI Qty in the Sales order line level, at a PGI by using a Out bound Delivary or shipment document. We are willing to customise  condition group field  (VBKD-KDKG1) in addtional data A. is there a posibility of doing this or any other solution we can do for this. Your kind replies will be highly appriciated at this time.
Thank.....
Pubudu & Jeewana.

Hi,
It is possible through user-exit/Badi.
To update PGI Status you can use user-exit "MB_CF001-Customer Function Exit in the Case of Updating a Mat. Doc." Or you can use BAdi "MB_DOCUMENT_UPDATE".
To update Shipment document status you can use BAdi "BADI_LE_SHIPMENT-BadI: Shipment Processing".
But how will you handle the partial delivery cases?

Similar Messages

  • Revenue Recognition based on User Status of assigned Sales Order line item

    Dear Community members,
    We have requirement to recognize / de-recognize revenue posted to WBS for calculation of RA, based on the 'User status' of the assigned Sales Order line item.
    To elaborate requirement further -
    1) WBS Element - XXX - 10 ( with operative indicator - Plan/Bill/Account Assign)
    2) Sales Order(SO) Line Items assigned to the above WBS -
    - SO No -  123 Line Item 10 - Actual Rev - $ 300 - User Status - EXE (Meaning this work is in progress , partial payment received thus actual revenue for RA at WBS is 'Zero'
    - SO No -  124 Line Item 20 - Actual Rev - $ 400 - User Status - COMPL(Meaning this work is Complete , all payment received thus actual revenue for RA at WBS is $400
    - SO No -  125 Line Item 10 - Actual Rev - $ 800 - User Status - EXE (Meaning this work is in progress , partial payment received thus actual revenue for RA at WBS is 'Zero'
    As per WBS reports Actual Revenue posted to WBS XXX-10 is $ 1500 ( $300$400$800) , however since two SO line items ( SO 123 /line item 10 and SO 125 / line Item 10 ) are NOT having User status 'COMPLETE', the actual revenue posted by those line items $ 1100/- ($300 + 800)  should not be included as Actual Revenue for RA at WBS level.
    Thus Actual Revenue for RA at WBS XXX-10 should be $ 400 /- ( the revenue posted by SO 124/line item 20 which has user status as 'COMPLETE')
    How do above can be achieved?? Is there any standard solution for this?? Is any SAP Note available for this (I too am looking for one but not found any ) ?? do we need any enhancement , Customer exit etc
    Thanks in advance
    with regards

    Hi,
    Thanks. You are right that the 'Completed Contract Method' would defer revenue recognition. However, the status checked would be of the RA object (WBS Element in this case, as RA key is on WBS and RA is being calculated on the WBS).
    However, our requirement is to check the user status of the Sales Order Line items assigned to the WBS element and filter the revenues posted based on the active user status of individual Sales Order Line item.
    Please give you inputs.
    Thanks in advance
    With regards

  • Sales order line for Non Stock items progressed to Closed status, need to be Cancelled.

    Hi,
    First time posting to this community, I hope someone can help.
    Currently we have a setup where non stock items are being added to sales order lines (charges, etc.).
    These lines are being progressed through to Closed status automatically.
    Users are reporting that they have entered the line in error and would like to change the status of the line to Cancelled.
    We are unable to return the material (RMA) as it is non stockable/transactable etc.
    Current workaround is to adjust the stock and make finance aware so that the line does not get invoiced.
    However, the system still shows that the line is closed (i.e. provided to customer) which is not correct.
    Is there any way of getting the line to a status of cancelled?
    Your help is very much appreciated.
    Regards
    Tim

    Hi Arif,
    Many thanks for the warm welcome.
    I'm thinking the only course of action I have for future, is to make the items stockable/transactable/returnable such that an RMA can be performed if added in error.
    We can put a large qty into stock at zero value.
    Thanks for your help in any case.
    Tim

  • Credit re-block after confirmed qty in Sales order

    I have a problem with credit checking in sales order. Credit goes on hold again after I comfirmed qty in sales order.
    My steps are as follow. (I don't have stock in warehouse but I need to create sales order).
    1. Create a sales order 120 L
    2. Credit goes on hold and it is not confirmed qty
    3. VKM3 or VKM4 to release credit block. qty is still not confirmed as I don't have stock.
    4. Add stock 120 L to warehouse
    5. VA02 to update confirm qty 120 L in schedule line
    6. After saved the order, credit goes on hold again.
    Why credit reblock again? Please advise. Thank you very much.
    Darin

    hello, friend.
    the sales order goes under credit control again each time you re-determine schedule lines.  i believe the system considers the following possibilities:
    1.  customer credit situation has changed over time
    2.  material selling price has changed over time
    3.  material cost of goods has changed over time
    however, let's wait for the other consultants to give their opinions.
    regards.

  • External Sales Order lines remain in Internal Req Requested status

    Hi
    Customer sales order lines are fulfilled by IR-ISO. When line progresses, it is set to have Internal Req Requested status. A scheduled program runs amd IR are created. However, sales order line status does not change to Internal Req Open. It remains in Internal Req Requested status.
    As a work around, workflow is rewound to 'Check ATR Qty' which is customized activity and then status changes to Internal Req Open.
    What could be the reason that workflow is not setting the status to Internal Req Open?
    Please help.
    Regards,
    Apps version : 12.0.4

    I think you better file this question in the Order Management group because they know the internals of headers, lines, etc. Unless there is something specific to the execution of the workflow process and you would like to modify it. You would have provide more details here.
    Regards,
    Alejandro

  • Backorder qty on sales order

    Hi
    When doing a sales order for item A, Qty = 100 (In stock = 90, Available = 90), the open qty (rdr1.OpenCreQty) on the sales order line = 100. In previous versions (if my memory serves me correctly) the open qty should be 10).
    Only when copying the sales order to an invoice, does the open qty on the sales order change to 10. Therefore when running the backorder report it also shows 100 on backorder and will only show the correct backorder qty once the order is invoiced.
    Did something change or is this a bug as I suspect.
    Client is on 2007A PL35.
    Regards

    Query for back order items.
    SELECT T1.[ItemCode],  SUM(T1.[OpenQty]) AS 'Back Order Qty' FROM ORDR T0  RIGHT OUTER JOIN RDR1 T1 ON T0.DocEntry = T1.DocEntry
    WHERE
    T0.[DocDate] BETWEEN '[%0]' AND '[%1]'
    GROUP BY T1.[ItemCode]
    ORDER BY T1.[ItemCode]
    Jeyakanthan

  • When running the workflow background process for drop shipment order, sale order line's status gets automtically closed instead of awaiting shipping

    Hello friends,
    I am created a drop shipment order with all the setups done . now i have booked the sale order as source type external. but when i run the workflow background process , after completing the report when i check the sale order line status it changes to "closed" instead of "awaiting shipping".
    Plz guide me if i have missed something in the setups.
    thanks,
    Sachin

    Hi Sachin,
    pls check the below notes from MOS
    Drop Ship Sales Order Cycle In Order Management (Doc ID 749139.1)
    Vision Demo - How To Create A Drop Ship Sales Order/Purchase Order (Doc ID 1060343.1)
    Thanks
    -Arif.

  • How to enter serial number for sale order line  which is in shipped status

    Hi All,
    We have 2 different items which are defined as Serialized at Sale order issue at item definition.
    In one sale order,User has forgot to add serial number to one of the item at Ship confirm stage.
    He has entered serial number correctly to other item.
    Now the both Sale order lines are in Shipped status if we view them through Shipping>transactions.
    I am technical guy and new to OM.Could you please let me know the process to enter the serial number for the item to which user has missed it
    Thanks,
    Satya

    Hi Satya,
    Since the item is already shipped, you cannot enter serial number for this line.
    you have to enter serial numbers after pick confirm only.
    check this note
    How to Enter Serial Numbers in the Shipping Transactions Form [ID 1235403.1]
    As a workaround for the previous lines do RMA and try to receive the goods back to your subinventory.
    For all new transactions follow the above notes.
    Thanks
    -Arif.

  • This field cannot be updated as there are open sales order lines

    When trying to enable Item Attributes then I am getting a message "This field cannot be updated as there are open sales order lines". I cancelled the Sales Order ( which was having only 1 sales order line and that is also cancelled) but still I am getting the same message.
    How to overcome this problem.
    Khan

    Thanks Karthik & Sandeep........
    Issue got fixed. There was an open Sales order Line because of that line the issue was coming. After cancelling that SO Line, Users were able to update the Item field.
    Regards,
    Khan.
    http://moreapps4u.blogspot.com/

  • Sales order line with status calcelled picked by auto invoice program

    I cancelled  one line in Sales Order and Shipped remaining lines
    after Ship Confirm process ,I ran workflow background process.
    I am getting cancelled line information to AR interface tables
    when I run Auto invoice amount is sitting in Unearned account
    The status of cancelled line -  Cancelled
    Flow status code is cancelled
    INVOICE_INTERFACE_STATUS_CODE I AM SEEING is YES for that line.
    Why the cancelled Sales order line is picked by auto invoice program?
    Thanks,
    John

    Hi Ivruksh,
    Thanks for the reply, the reference you gave was not actually related to the issue I had, let me put it this way,
    Our Auto Invoice Job is scheduled at midnight, it runs and process only few CM's, rest of them are left behind with out any error message in error tables. Al I can see in the ra_interface_lines_all table is interface_line_id is populated, which shows that the Auto Invoice program has picked all the records but it is processing only few, the rest are left out with out any error message.
    Interestingly, when I tried to run those stuck CM's Individual one by one its gets successfully processed.
    Is anyone faced with similar kind of issue, kindly let me know of any solutions you guys had.
    Thanks in advance.
    Regards
    Srinivas

  • Update the price related to condtions in Sales Order

    Hi all,
    I want to update the price related to condtions in Sales Order from input file. I am using bapi 'BAPI_SALESORDER_CHANGE' to for this.
    the code for this
        wa_conditions-itm_number = wa_itab-itm_number.
        wa_conditions-cond_value = wa_itab-kbetr.
        wa_conditions-cond_type  = 'ZPSV'.
        wa_conditions-cond_count = wa_itab-kwmeng.
        APPEND wa_conditions TO it_conditions.
        wa_conditionsx-itm_number =  wa_itab-itm_number.
        wa_conditionsx-cond_count = wa_itab-kwmeng.
        wa_conditionsx-cond_value = 'X'.
        wa_conditionsx-cond_type  = 'ZPSV'.
        wa_conditionsx-updateflag = 'U'.
        APPEND wa_conditionsx TO it_conditionsx.
    But this is creating a new line in conditions instead of updating the existing line, I want to update the exsting line with new condition rate instead of creating a new line.
    i have tried by   lv_logic-pricing = 'B'.
    But it works when values are maintained in vk11.
    Please help me if you have any soultion for this.

    hi siya,
    plz refer to the following threads
    Re: problem using Bapi_Salesorder_Change
    http://www.sapfans.com/forums/viewtopic.php?p=160339&sid=bf9e3219db318d89596f7e911462416f
    i hope it helps.
    arjun

  • Prevention of delivery when using "user status profile" for a sales order?

    Hi,
    I have used "user profile status" in the sales order "as a work flow" for releasing the sales order.
    The user profile are as follows
    a) 10: created
    b) 20: Released
    But I believe I am still able to create the delivery when the order status is still "10" created.
    Any advise, user exit or workaround or should this happen.
    Usefull answers will be rewarded.
    Thanks

    Dear Rajiv,
    Please go through this SAP help link it will help you about Status Management in the sales order processing.
    http://help.sap.com/saphelp_47x200/helpdata/en/dd/560629545a11d1a7020000e829fd11/frameset.htm
    I hope htis will help you,
    Regards,
    Murali.

  • Sales Order Line item status with Resource Related Billing

    Hi
    The Resource related billing is done based on the costs accumulated on account assigned WBS Element. The WBS Element system status is set 'Finally Billed'. The overall status of Sales Order line item is still 'open' and does show up in 'Open Order' reports.
    SAP vide their note 439288 recommends running report SDVBUK00 to correct the sales Order item status. However this note is applicable only upto 4.6C. Our system in ECC 6.0. We tried running this report and did not get desired results. We checked the program and discovered that the corrections suggested as per above note, are not available.
    Is there any new SAP note applicable for ECC 6.0 needs to be applied ? Or is there any other report needs to be run in case of ECC6.0?
    Thanks in advance
    with regards

    HI,
    Please raise message to SAP through service marketplace.
    Thanks,
    Vrajesh

  • Update Sales Order line item field

    Need to update a field mfrgr of VBAP table with some user defined values on selection screen parameter.
    I have selected all the Sales order line items in an internal table which need to be updated.
    How can I use the update command with set expression to do the same ? If yes how ? if no what is the best way to do the same.

    I am using the following command and it doesnt work as it says cannot use AND command.
              loop at it_vbfa.
                    UPDATE  VBAP
                    WHERE VBELN = it_vbfa-vbeln
                    and   posnr = it_vbfa-vbelv
                    SET MFRGR = P_MFRGR.
                    IF SY-SUBRC = '0'.
                       COMMIT WORK.
                    ENDIF.
              endloop.
    Any pointers ? What am I doing wrong.

  • Itu2019s showing confirmed qty more that order qty in sales order

    Dear Guru's
    I am working on production server issue; the issue is delivery has been created more that sales order qty.  When I am seeing sales Oder schedule lines itu2019s showing confirmed qty more that order qty in sales order what could be the reason can any help me on this.
    Regards
    DNR

    Hi DNR,
    first up, appreciate if you can use your real name instead of DNR , I'd love to see your actual name.
    Coming to the question, a deliery can be created more than the ordered quantity. And if you pick whats delivered - that can show as confirmed too..
    Standard SAP just throws a warning indicating this over delivery. And incase you want to prevent this happening - you can trigger an user exit to change this warning to error.
    Config is also possbile if you have setup your cust mat info record or sales order to check over delivery and set the item cateogry for delivery. You can go to t.code 0VLP( Zero VLP) select Over Delivery -  'B' for delivery item category.
    Regards
    Sadhu Kishore

Maybe you are looking for

  • Need help on breaking a large string into substringsto fit in a line

    hii,suppose i have i have large string (the content of which is not apparently visible to me)which i want to show in a text area ,,,now how can i break it into multiple lines to be able view the total string... i dont want to use horizantal scrollbar

  • Spry Menu showing backwards in Fire Fox

    I could use some help. This is my first spry menu and it looks fine in IE but the shows backwards in FF. Here is a link :http://www.fresnoskiclub.com/FSC-rebilld/html/about.php If any of you coding gurus' out  there can steer me in the right directio

  • SAPGUI JAVA 7.20 rev7 - problem with filename popup

    Hi Gurus, i have a macbook pro and i have installed sapgui 7.2 java rev7. When i try to download/upload a file, i use f4 to select a file and the system doesn't open the search file popup. any suggestion? Best Regards M.

  • Repost: K9AGM2 bios problem hdd dectection settings cant be changed to user

    Hey there My last one of this post got closed like to clarify that this is not illegal this is what the game devs world calls a debug box it is a software modified xbox for debugging and testing so i am nto rbeakignt he law by this i have had promiti

  • Layout & printing of avery labels...

    I am trying to figure out how to layout & print avery labels...5160 with a picture/symbols. I do not want to print from address book...I want to be able to print an entire page of the same symbol like I could on a pc in word!