Realign partially confirmed/invoiced po from termed emp to successor

Currently i am implementing the BADI bbp_list_open_bo and in that the method update_po_requestor.
In the method first i m using BBP_PROCDOC_GETDETAIL to retrieve header and item info
CALL FUNCTION 'BBP_PROCDOC_GETDETAIL'
EXPORTING
      I_GUID                             = WA_TRANS_PO-GUID
      I_OBJECT_ID                  =  WA_TRANS_PO-OBJECT_ID
      I_OBJECT_TYPE            =  ‘BUS2121’
IMPORTING
     E_HEADER                      = ST_HEADER
TABLES
           E_ITEM                            = IT_ITEMS
           E_MESSAGES                = IT_MESSAGES.
           E_PARTNER                  =  IT_PARTNER
after making a few modifications in it_items on the basis of it_partner (assigning partner id new values) i m calling
CALL FUNCTION 'BBP_PROCDOC_UPDATE'
     EXPORTING
         I_SAVE                   = ‘X’
         I_HEADER              = ST_HEADER
     IMPORTING
         ES_HEADER        = ST_HEADER_I
     TABLES
         I_ITEM                  = IT_ITEM
         I_PARTNER         = IT_PARTNER
         E_MESSAGES    = IT_MESSAGES
     CHANGING
         E_CHANGED      =  flag.
to save the changes made to selected PO s .
When i run the report bbp_list_open_bo and click on "update"
the program runs into dump and gives the message (buffer table not upto date) . Am i doing something wrong or is there a problem with the standard SAP program.

not save.. i meant update.
to save i would be using bbp_procdoc_save and then BBP_PROCDOC_RESET_BUFFER

Similar Messages

  • Can we restrict the partially confirmed production order from getting delet

    Dear all,
    Can we restrict the partially confirmed production order from getting deleted?
    I.e. if the production order is having status PCNF then the deletion flag indicator (status DLFL) should not be allowed to set
    SmanS
    Edited by: SAP PP Consultant on Feb 4, 2009 6:12 AM

    Hi,
    Then must be there is change in BS22.Check allowed transaction setting for Status PCNF/CNF .For reference purpose compare it with other client IDES or sand box.
    For your reference I have pasted Error log on the same.
    Balance of ORD 1000000702 is not zero
    Message no. KO115
    Diagnosis
    The balance on object ORD 1000000702 is not zero. That is, there are still costs on the object.
    System Response
    The object cannot be closed and the deletion flag must not be set.
    regards,
    Dhaval

  • Single excise invoice J1IJ from two outbound deliveries

    Hi Experts,
    Can we do single Excise Invoice (J1IJ) from two or multiple outbound deliveries in depo sales.
    Please Confirm.
    Thanks & Regards
    Naresh

    When you are returning the material, you get a material document.
    You create an Excise invoice by using J1IS transaction with reference to the material document.
    This excise invoice will come for monthly utilization
    regards
    prasad

  • Purchase to Order Scenario - Partial Confirmation Issue

    Hello Team,
    We are using Item Category with Purchase to Order Scenario. When the Sales Order is booked, Purchase Requisition is Created. Sales Order Line is linked to the Purchase Requision/Purchase Order.
    In this scenario, we are getting confirmation on Sales Order through PR/PO Initially.
    Order Quantity     Confirmed Quantity
    10                         10
    Once we receive partial confirmation on PO let us say 7 system only confirms partially Sales Order.
    Order Quantity     Confirmed Quantity
    10                         7
    Issue happens when our team does partial delivery to customer before receiving full confirmation from the Supplier. System blocks further update of confirmation on the line and it becomes impossible to make delivery to Customer for Partial Quantity.
    I can think of two options...
    1. Somehow when we receive Partial Cofnirmation, our Availibility Check should confirm 7 on Confirmation recieved from the Supplier and 3 from Delivery Date of Purchase Order. So this issue won't happen.
    2. System should somehow allow Partial Confirmation even after Partial Delivery is done to the Customer.
    Do let me know if you need any more details from my side.
    Kaushal

    Hi Kaushal,
    i assume that you have special stock indicator in your sales order.
    if you do not use confiramtion then all quantities are confirmed at schedule line level.
    if you use confirmation e.x. 7 of 10 pieces then you will have confirmer 7 quantities in your schedule line.
    if you create another confirmation in PO of 2 pieces and lets say different date you will see another schedule line in your sales order.
    do your system works like this?
    Is your third party scenario require a googds receipt for PO to move on to delivery?
    Regards.

  • Invoice Qty from VBFA

    Hello folks!:
    I have made a query and created a new field related to the invoice qty. All at item level and referenced to the sales order.
    This new field is configured to pull the invoice qty from the document flow:
    FACPOS = ' '.
    select  RFMNG  into FACPOS
    from vbfa
    where vbelv = vbap-vbeln
      and posnn = vbap-posnr
      and vbtyp_n = 'M'.
    endselect.
    Then the report shows the sales order qty and the invoice qty per item. Everything looks perfect at this time. The problem starts when the invoice is partially created from partial deliveries (which is very often) and then a partially invoice is made. Due to the fact that the data is generated from the VBFA table, it will always going to bring the latest invoice qty and not the sum of all the invoices.
    Example:
    Order for 6 pcs of product A
    Delivery for 4 pcs and Invoice for 4 pcs
    Pending 2 pcs
    Report shows: Invoice qty 4 pcs
    Then another invoice is created for 2 pcs
    Nothing left from the sales order
    Report shows: Invoice qty 2 pcs <----
    PROBLEM
    PROBLEM: The report only shows as a total of the invoice qty just the 2 pcs from the last invoice. I actually want to add up all the invoice qty's generated per line item in the document flow.
    1. Any idea on how to configure the code so that I can have the sum of all the invoices in the document flow per item?
    2. Is there a special function that can do this?
    Pls let me know
    Regards

    Hi,
    Pass the sales order number in VBFA for the field "VBELV".
    Execute.
    Here there is a chance of two cases.
    1)If the billing document is created w.r.t. order:In this case,you will get the invoice number from VBELN field.
    Pass the same to VBRP table as VBELN and then fetch "FKIMG".
    This will give you the quantity.
    2)If the billing document is created w.r.t. a delivery:In this case,take VBELN and again pass it to VBELN into VBFA table as VBELV and then fetch VBELN
    Pass the same to VBRP table as VBELN and then fetch "FKIMG".
    Regards,
    Krishna.

  • Invoice document payment term inconsistency

    I use MIR4 to display invoice, the payment terms is 122 days net, my base line date is 10.23
    but i go to accounting document, it shows payment terms is five days due after baseline date
    why  payment terms are different, how  122 days calulated?

    Hi,
    According to Robert's advise, go to XK02 and go to Company code data and remove payment term code there.
    And also make sure that payment term code is maintained in the Purchasing organisation level.
    then only system will take the payment term from PO.
    And one more thing is that...
    For each payment term key, you can set a default date for determinating baseline date. You can set either Doc date or posting date or Entry date or NO DEFAULT.
    And also check that your payment should have the number of required days maintained in it.
    There is nothing to do with the description of payment term...Please check the Pt config in OBB8
    Thanks,
    Srinu

  • PO Partial confirmation Quantity not updated for non-catalog items in SRM

    Hi Experts,
    Partial Confirmation plus Partial Rejection from Ariba(Suppliers network) could not be processed.
    Steps to Reproduce:
    1) Create a purchase order.
    2) Confirm some part of the quauntity and reject the balance part in Ariba.
    3) Open the link in SRM and click Copy push button.
    4) Click on Process PO and check PO, the PO is not updated with the changes done in Ariba
    Expected Result:
    PO should update the changes done in Ariba.
    Here when part quantity is confirmed and part is rejected at Ariba, its sending a POR but SRM is not updating anything for non-catalog items when POR is copied onto PO.But where as  in the Catalog items partially confirmed POR is copied onto PO.
    kindly give your valuable inputs to poceed furthur.
    Regards,
    Chandu

    Hi,
    I'm not clear you issue. Is it SC -> PR(backend) -> PO(backend) classic scenario ? or You just created a PO in backend system?
    BBP_GET_STATUS_2 will update SC follow-on doc information from backend.
    Regards,
    Masa

  • Process Order Partial confirmation (PNCF) and Final Confirmation

    Hi expert,
    I'm already running t-code COHVPI to mass processing process order so it status change from TECO to CLOSED. But there is an error message "process order partially confirmed". Is that true if process order must be final confirmed before it changed to CLOSED. Should we change the status of partial confirmed (PNCF) to Final confirmed (CNF) before process order CLOSED.
    Please give me a suggestion.
    Thank you.

    Correct. Final Confirmation is THE signal to the rest of the world that that this order is DONE (at least from the GR standpoint). This will also retire the order from the APO/SNP radar.

  • Workforce Planning for Partially Confirmed Activities

    Hi All,
    I have recently configured Workforce planning for one of the clients, and it has been working as per the requirement. Here, I have configured Workforce Planning profile and Scheduling parameters of Network. So, once a Project and a Network is created, User plans Personnel for this Network's activity using CMP2. Also, CATS profile is maintained in such a way that Worklist shows the Planned hours and accordingly a person can book Time against it.
    Now, the problem arises after a Personnel assigned to an activity books the Timesheet. Once a Person books time against this particular Activity, it gets disappeared from CMP2 screen. Now, practical implications are that, suppose that person goes for a leave or leaves the organization and PM wants to assign another person for the same Activity (which is partially confirmed).
    How can we address this issue - to perform workforce planning for Partially Confirmed activities?
    Any pointers to User Exits, BADIs, BAPIs or SAP Notes are highly appreciated.

    Hi Sanjeev,
    Thanks for your feedback.
    In CMP2, we are already checking the activity work hours. According to that only we are adding resource, then checking that resource's availability and then assigning work.
    As an example, activity work duration is from 20.08.2014 to 30.09.2014. I assigned a resource A from 20.08.2014 to 30.09.2014 for 8 hours because he is available in that duration.
    Now, the real problem comes when this resource is suddenly unavailable (due to any reason) and PM comes to know about this on 07.09.2014. Resource A has already booked Timesheet for the duration he has worked (20.08 to 06.09). So activity is PCNF.
    So PM wants to reduce the Work assignment for Resource A from 30.09.2014 to 06.09.2014 and assign Resource B from 07.09.2014 to 30.09.2014, but he is unable to get this activity in CMP2 view because it is PCNF. Here PM can only see activities of same project which are in REL status.
    So how can I enable this PCNF activity in CMP2 view.
    If there is any IMG activity settings, then let me know.
    If this is standard behavior and can be done through User Exit/BADI/BAPI then also let me know.
    Message was edited by: Aditya Kotak

  • Restriction of posting date in transaction CO11N for partial confirmations

    Hi all,
          I am trying to restrict(by checking thru an exit)  the posting date in co11n , for this i m using enhancement CONFPP04.
         Import parameter AFRUD_IMP IS USED.
         Now when i m putting  production order no , operation activity no.(for e.g 10 , 20 etc ) and posting date IN SEL SCREEN OF CO11N
        AFRUD_IMP-BUDAT( POSTING DATE )  CONTAINS VALUE  in debugging mode , hence i m getting the value of posting date
        and in that case check is written in code.  This is the case of full confirmation.
                                     But in case of partial confirmation  i have to give   production order no , operation activity no , *Partial confirmed qty * and posting date , in this case the posting date value changes to 0 in the debug mode ie.
      AFRUD_IMP-BUDAT is showing 0 and hence no calculation can be done base on the date.
          Our requirement is such that if there is a prd order no say X,
    then in CO11N if user enters prd no X  , operation activity no 10 , post date say D1
    then again for  prd no X  , operation activity no 20 , post date  of activity 20 should not be less than D1
    SIMAILARY for  X,  ACTIVITY 30 ,  post date should not less than that of  activity  20. and so on.
        But if partial quantity is mentioned value of  AFRUD_IMP-BUDAT is becoming null.
          If anyone knows about this scenario please share.
      Thanks and regards
    Pankaj Gupta

    Hi, In the T-code Mb31 
    The Posting Date which is used  is when entering the document in Financial Accounting or Controlling. The fiscal year and the period for which an update of the accounts specified in the document or cost elements is made, are derived from this posting date.
    When entering documents, the system checks whether the posting date entered is allowed by means of the posting period permitted.But this posting date can differ from both the entry date (day of entry into the system) and the document date (day of creation of the original document).This is for the practical purpose .
    So its for the Monthly permitted and not for a day or range .
    Secondly when you are saying :
    "We want this <b>default date to get freeze</b> the moment you enter
    the transaction (MB31). If you are opting for second option we want
    <u><i><b>some flexibility to change the date as required</b></i></u>."
    Both freezing and opting for changes is not possible , either one can occur .
    You can freeze/display mode only  the field for the T-code and the document type, but that will not solve your problem .
    What i understand from the description is you want to Do GR on A particular date or GR should be allowed after a particular date . <u><b>Please let me know</b></u> if this is the case then there's a way around to do this that is you can do GR and Post on the dates near to your desirable dates .
    cheers KP

  • Capacity Plan for Partially Confirmed Order

    Hi Guys
    Can any one please guide me on Capacity Planning (CM29) how to:
    1. Plan to plan a partial order. Or in other terms: how to plan a part order in wk1 and rest in wk2
    2. If the process order is partially confirmed, then how should supervisor re-schedule it again for later date!
    3. Ideally what should be followed:
      a. Schedule the Planned Order on CM29 and then Convert them to Process Order , OR
      b. Convert the Planned Order and then Schedule the Process Order on the CM29 screen
    Thanks in advance
    -Rahul

    Hi Mehdi,
    Once order status is PCNF you cannot create lot with inspection type as 03. You need to reverse all the confirmations/Goods issue and activate 03 inspection type in material master, maintain MIC related data in routing and do Read Master data. Then system will create inspection lot.
    For 03 inspection type manually inspection lot cannot be created. Once order is released inspection lot will be automatically created by system.
    Thanks & Regards,
    Ramagiri

  • PO partial confirmation error

    Hi,
    The supplier wants to post a partial confirmation againt a PO. The PO_ITEMUNDERDELIVERY is inactive but still the system is giving error message "Confirmatin defers from request".
    Request to please suggest?
    thanks,
    karthick.
    Edited by: karthigemini on Jun 21, 2011 2:34 PM

    Hi,
    Sorry for the typo mistake you need to maintain below validation setting:
    Hi,
    You need to maintain below validation settings.
    Go to SPRO>Supply Network Collaboration>Basic Settings>Validation>Own Settings-->Maintain Settings in Validation Profiles
    Maintained below setting:
    Vali.prof=POC3
    Validation check=PO_ITMUNDERDELIVERY
    Check status=Active
    Msgtype=W
    Save Mode=Save message as Valid
    Continuation Mode=Continue checks
    Vali.prof=POC5
    Validation check=PO_ITMUNDERDELIVERY
    Check status=Active
    Msgtype=W
    Save Mode=Save message as Valid
    Continuation Mode=Continue checks
    Vali.prof=POC3
    Validation check=PO_ITMUNDERDELIVERY_WITHOUTZERO
    Check status=Active
    Msgtype=W
    Save Mode=Save message as Valid
    Continuation Mode=Continue checks
    Vali.prof=POC5
    Validation check=PO_ITMUNDERDELIVERY_WITHOUTZERO
    Check status=Active
    Msgtype=W
    Save Mode=Save message as Valid
    Continuation Mode=Continue checks
    save this setting.
    Regards,
    Nikhil

  • Confirmations/Invoices in EBP-SUS scenario

    Hi,
    We are upgrading from SRM5.0 to SRM7.0. We are in extended classic scenario and would like to use EBP-SUS. Full functionality of SUS is not supported in EBP-SUS. Only order response is supported in standard EBP-SUS scenario. But we heard that it is possible to enable Confirmation/Invoices in EBP-SUS through BAdI and PI mappings. Has anyone done this before. If so could you share the procedure to enable the confirmations/invoices in EBP-SUS and any limitations on the functionality (like invoice reversals ..etc)
    Thanks
    Sukumar

    Hi Yang,
    In EBP-SUS or commonly SRM-SUS scenario , vendors are replicated to the SUS system automaticallywhen you create them in SAP SRM using manage business partners web transaction. Ensure that you select the "Portal Vendor " checkbox while creating the vendor.
    before that please  replicate company data to SUS using tcode BBP_SP_COMP_INI.
    Also i believe you must have created vendor org structure in the SUS client.
    Cheers
    Iftekhar Alam

  • Capacity Evaluation: CM01 does not consider partially confirmed Prod Ord

    Dear Gurus,
    I was doing a test for CM01 and I found out that the Production Order with partial confirmation/delivery is still being considered as a full quantity in CM01 pegged requirements. For example is below:
    Prod Ord Qty is: 1500
    Partial Confirmation made: 500
    Now in CM01 it still shows 1500, I thought it should only be 1000. Reason is this order is backlog from last week thus I only want the system to consider the 1000 open quantity and not the whole 1500. Is it achievable in CM01?
    Thanks,
    Raymond

    Hi,
    but this Production Order is still open with 1000 PC. I will still need to process the 1000 remaining quantity out of 1500 and in CM01 I would like it to show on 1000 PC instead of 1500 PC.
    Another thing is for example, Im on the middle of the week, my available capacity is reduced and I also have already partially confirmed the production order. Then when I execute CM01, it will show capacity overload eventhough the open quantity is also decreased.
    So my concern is instead of Production Order Base Quantity, can the system check the production Order Open Quantity?
    Thanks,
    Raymond

  • Approval for change Due date in AR invoice through Paymnet Term

    Hi all!
    I try to query for approval with AR invoice change Due date in AR invoice through Payment Term.
    SELECT Distinct 'True' FROM OCTG T0  INNER JOIN OINV T1 ON T0.GroupNum = T1.GroupNum
    WHERE dateadd(day, T0.[ExtraDays],T1.[TaxDate])<>   T1.[DocDueDate] and  T1.[CardCode] =$[$4.0.0] and T1.[Docnum]=$[T1.[Docnum]
    I think we can not combine 2 variable for this form (
    T1.[CardCode] =$[$4.0.0] and T1.[Docnum]=$[T1.Docnum]
    Could you help me!
    Thanks!

    Hi Tien again.......
    In order to prevent the misunderstanding again please ket me know
    whether I'm correct or not.
    You want such kund of approval where if in the base document Payment Terms Net30 is there
    and in the target document if its changed to Net 60 then it should ask the approval while adding.
    M I right?
    Regards,
    Rahul

Maybe you are looking for

  • HP Pocket Media Drive PD3000

    My media drive has been re-formatted, where can I find the software to re-install? I've no luck at hp.com or google.

  • Question on java

    I have a Java program ( not mine) with import statements like the following: import com.brainysoftware.tassie.ejb.Search; import com.brainysoftware.tassie.ejb.SearchHome; I want to know if Search here corresponds to "Search.class" and SearchHome corr

  • Having problems with and advanced form to Mail PHP app in Dreamweaver

    Hello, I would like to start off by saying i am horrible when it comes to php of any kind so i use an attachment for my forms call Advanced from to Mail PHP in dreameaver for connecting my site to my email contact for user data. I have had this probl

  • Comparing fields

    Hi, I am getting problem with comparing blank fields in table gt_in. Syntax is this... IF GT_IN-BSTART = ' ' AND GT_IN-BEND = ' ' AND GT_IN-FSTART = ' '     GT_IN-FEND = ' ' AND GT_IN-ASTART = ' ' AND GT_IN-AEND = ' '. Error: Incorrect logical expres

  • Screen corruption in openbox

    Switched from KDE to openbox today and getting weird screen corruption (not sure that's the correct term but never mind) in loads of applications, on things like the terminal if I scroll up then back down it dissapears but in things like deluge there