Correcting POs with GR Based IV Flag set

We are on SRM 550 SP10 ECS. One of the bugs in the earlier SP level related to POs was
  GR Based IV is checked if GR is checked and IR is checked ignoring the master vendor record information related to this flag. This is fixed in Note 1010791. This will fix the new POs created after the note is applied. I am wondering if anybody knows of any z program which will unset the earlier POs (created before the note is applied) for the GR Based IV flag. With the flag set, we cannot enter the invoice before the Goods receipt.

hi, you've mentioned that "PO's already delivery completed" that means GRs are done for all these POs. You can not change GR based IV indicator after posting follow on docs.
still check below OSS note which explains how and when you can change it (even after psoting of follow on docs like GR and IV)
Note 550163 - Change of GR-based invoice verification indicator
Also, if GRs are already done for these 2000 POs you should not worry about updating this indicator as main purpose of this indicator is to make sure that GR is done before posting Invoice and you already completed that.
yogesh

Similar Messages

  • GR Based INV flag set on Purchase Order

    Hello,
    We are on SRM 5.5 and R3 ECC 6.0 classic scenario. We want to swihtch off the GR Based Invoice flag which is maintained in de vendor master. Vendor has no info record or contract. When creating a PO directly in R3 the flag is also disabled on the PO. However, when we create a shopping cart, the system automatically creates the purchase req and when the purchaser creates the Purchase order the GR Based Inv. flag is set again ? Can anybody let me know how this is possible ?
    Thanks as eve for your help.
    Antoinette

    Hi Antoinette Stork,
    Here is the way we have achieved. I am not an ABAPer and hence providing you more concepts than code.
    01)  A custom program is written and is scheduled on hourly basis as a back ground job.
    02)  This program is executed after the BBP_VENDOR_SYNC is executed as a background job as well.
    03)  BBP_VENDOR_SYNC will bring the updates and new vendors from the R/3 back end.
    04)  This will bring the vendors with the confirmation flag set on SRM (no corresponding field exists on the R/3 side vendor master) and also will check the GR based invoice verification flag on (the corresponding field exists on the ECC vendor master).
    05)  After 15 minutes the custom program will read the BUT000 table for the total number of vendors changed or created between two successive jobs.
    06)  Then query on the VENMAP table to get the GUIDs of the corresponding vendors.
    07)  Within the custom program use the FMs
         BBP_BUPA_FRG0060_CHANGE  and
         BAPI_TRANSACTION_COMMIT
    to set the flags for
          goodsrec_confex = ' '  and
          GR_BASEDIV
    Sorry for being unable to provide you the code dump.  This is working perfectly fine for us.
    Also, we have used the badi "BBP_ECS_PO_OUT_BADI"  with the method "BBP_B46B_PO_OUTBOUND"  as a safety net as our invoice processing is two way match and we do not absolutely want the flags to be set to the R/3 PO.
      DATA: ls_bapi_poitem TYPE bbps_if_bapimepoitem_pi.
    Loop through the item details that gets passed to Backend*
      LOOP AT ct_bapi_poitem INTO ls_bapi_poitem.
    Clear the GR and GR-Based Invoice Verification Indicator.*
        CLEAR : ls_bapi_poitem-gr_ind,
                ls_bapi_poitem-gr_basediv.
        MODIFY ct_bapi_poitem FROM ls_bapi_poitem
               TRANSPORTING gr_ind gr_basediv.
      ENDLOOP.
    ENDMETHOD.
    Hope this helps,
    DV

  • GR based IV flag Update in PO

    Hi,
    Here is the situation.
    We have 2000 PO's are not update GR based IV flag. This is due to PIR's are not updated with GR based IV flag.
    Now we identified the PIR's and updated GR based flag. But In the PO's we cant able to update.
    These PO's already delivery completed.
    Please guide me how to Update this Indicator in PO's?
    Thanks,
    Sridhar

    hi, you've mentioned that "PO's already delivery completed" that means GRs are done for all these POs. You can not change GR based IV indicator after posting follow on docs.
    still check below OSS note which explains how and when you can change it (even after psoting of follow on docs like GR and IV)
    Note 550163 - Change of GR-based invoice verification indicator
    Also, if GRs are already done for these 2000 POs you should not worry about updating this indicator as main purpose of this indicator is to make sure that GR is done before posting Invoice and you already completed that.
    yogesh

  • Query with GR-Based invoice verfication

    Hi All,
    one of my user had created the PO for 10,000 qty and partially done the GR for 2000 and done the invoice and released the invoice for payment in MRBR the issue is unfortunately for another parts of 2000 qty before doing the GR  he had done the invoice the system also allowed to created the invoice when the vendor and in PO check mark has been made in GR-BASED INVOICE VERFICATION,same i had tested in testing environment when i am doing the invoice for the whole qty sysytem doesn't allow me do the invoice and when i am doing like the above scenario system allow me to create the invoice before GR.kindly can you please let me know whethre this is SAP standard or is there any reason for system allowing to d invoice before GR.
    Thanks

    Check Message no.
    M8081 - Quantity invoiced greater than goods receipt quantity
    M8504 - Quantity invoiced greater than goods receipt quantity
    M8504 is for POs with GR based IV ticked.
    If this is warning message....sysytem will allow you to Post Invoice more than GR qty and then block the Invoice as per the tolerance limit maintained in DQ.
    Rajesh

  • Block invoices for PO with no GR-based IV flag

    Hello SAP experts,
    I need your help with finding a way to block invoices for PO with no GR-based IV flag.  At our company, we treat service POs almost the same as material POs (to avoid receipt of service entry).  The only difference from material PO is that service PO does not have the flag for GR.  We customized our EBP to have this done.
    Now, accounting wants to automatically block all invoices associate with service POs.  In this case it would be a PO with no GR.  I tried LIV configuration but it is only for price, quantity and etc.  I also tried blocking with IR before GR but it didn't work because there is no GR.
    Is there a way to achive automatic invoice block in this case?
    Appreciate your help.
    -AT-

    Hi Annie,
    if the configuration doesn't help you enough, you would have to add some custom logic after the invoice has been created.
    Technically speaking, I believe there exists a business add-in (BAdI) where you could enter a piece of code which would after the invoice creation check the GR and block it if appropriate. Another implementation option would be a mini-workflow - there you would have a step which checks the GR existence and blocks the invoice.
    Hope this helps, I suggest talking to your local abap consultant for more details,
    -Mikko

  • GR_NON_VAL flag setting in ECC for  SRM PO

    Hi all,
    SRM 5.0 ECS Sp12.
    When we create a PO with multiple a/c assgt,the ECC PO which gets created always has the GR_NON_VAL flag set as "X".
    Now if I uncheck the indicators "Confirmation-Related Invoice Verification " and "Confirm Performance of Service/Goods Receipt   " in SRM PO,then the PO replication fails in ECC and in SRM I get the below error :
    With non-valuated GR, please also enter GR indicator
    When I check the data which is passed to ECC,the GR_NON_VAL flag is also blank for the PO after the indicators "Confirmation-Related Invoice Verification " and "Confirm Performance of Service/Goods Receipt   " are unchecked in SRM PO.
    Can someone let me know if in ECS , the GR_NON_VAL flag is always passed as blank and gets set to "X"based on ECC settings.If so,which settings in ECC determine the GR_NON_VAL flag to be set?
    Can someone explain the istd behaviour for the GR_NON_VLAg flag in ECC PO for ECS when SRM  PO with multiple a/c assignnment is changed for indicators "Confirmation-Related Invoice Verification " and "Confirm Performance of Service/Goods Receipt   "so that they are set to blank,Please advise.

    HI
    in standard we canl fill the flag GR_NON_VAL in SRM side but
    the itemx structure of PO in ERP system set to space. After this mapping
    BAPIs will be called.
    wa_bapi_poitemx-po_itemx = 'X'.
        wa_bapi_poitemx-no_more_gr = 'X'.
        wa_bapi_poitemx-final_inv = 'X'.
        wa_bapi_poitemx-gr_ind = 'X'.
        wa_bapi_poitemx-delete_ind = 'X'.
      delivery tolerance has to be taken over
        wa_bapi_poitemx-over_dlv_tol = 'X'.
        wa_bapi_poitemx-unlimited_dlv = 'X'.
        wa_bapi_poitemx-under_dlv_tol = 'X'.
      note 644721, the Goods receipt non-valuated should be set according
      to the backend customizing for this we have to clear the x-flag
        wa_bapi_poitemx-gr_non_val = ' '.
        wa_bapi_poitem-gr_non_val = ' '.
    The redetermination will happen in PO create / change process
    (within BAPI_PO_CHANGE and BAPI_PO_CREATE1).
    1353431    ECS: PO in ERP always created with GR_NON_V
    Summer

  • Materialized View with column based on PL/SQL function returning object

    I have the following problem - it is known that materialized view wants PL/SQL functions used in it to be DETERMINISTIC. And it appears that a function which returns SDO_GEOMETRY cannot be DETERMINISTIC - I can add DETERMINISTIC modifier to my function which returns sdo_geometry based on USNG grid ID and save the package, and it compiles and runs fine with regular queries, but when it comes to materialized view (mview), the following error is thrown:
    ORA-12018: following error encountered during code generation for "SCHEMA"."MVIEW_NAME"
    ORA-00932: inconsistent datatypes: expected NUMBER got MDSYS.SDO_GEOMETRY
    Looks like DETERMINISTIC modifier is not fully supported for object types. I have tried to use SDO_CS.FROM_USNG Oracle's function, and it appeared that this function is also non-deterministic - I cannot refresh mview with P or F on-demand refresh method (see http://download-uk.oracle.com/docs/cd/B19306_01/server.102/b14223/refresh.htm#i1008349 for a list of on-demand refresh methods). Without that function I can refresh mview with P or F flags.

    Hi,
    Yes, the Chart Series can be based on "Function Returing SQL Query" and the "SQL" would be something like:
    DECLARE
    vSQL VARCHAR2(1000);
    BEGIN
    vSQL := 'SELECT NULL LINK, ENAME LABEL, SAL VALUE FROM EMP ORDER BY ENAME';
    RETURN vSQL;
    END;You should tick the "Save query without validation" underneath that. Without this, there is a validation error - the ; at the end is required to get the chart to function correctly but the validator sees this as an error.
    You would need to create this separately from the report. No matter how you did it, the chart would still run a SQL statement to generate the output. If you wanted to use the "same data", then you could create a collection using the PL/SQL and base both the report and the chart on the collection instead.
    Andy

  • Publish action not working with JCA based Business Service

    Hi All,
    I have created one BS in OSB that publish the message in AQ. Its working fine as expected when tested from test console.
    I have made one proxy service which after transformation will publish the message to this BS, but the publish action is not invoking.
    I have added log action inside request action of my publish action and log is getting generated for that with correct request.However, I cant see message in DB neither can i see any exception/error logs in OSB.
    I tried replacing publish with route action and its working fine , message is getting published in AQ.Did any one face this type of issue before ???
    Or publish action works only with jms based Business services.
    Appreciate your help.
    Regards,
    Karan

    Bingo !!!
    Setting QOS helped me to find out the exact error. Was passing complete soap envelope to BS instead of passing body part only.
    Thanks a lot for your help mate .
    One more query can you please enlighten me on the use of QOS in OSB, such as in what scenarios we should use QOS.
    Regards,
    Karan
    Edited by: Karan Mann on Mar 14, 2013 3:37 AM

  • GR Based IV Flag for Limit Shopping carts.

    Hello,
            We are on ECS SRM 3.0,EBP 4.0.There is a requirement to populate GR based Invoice verification flag (GR Based IV flag) for a PO for any  Limit shopping carts raised.For all other shopping carts this flag should not be set.One option we can think is a condition set in the Badi which replicates the PO to backend.Are there any settings to achieve the same.
    Thanks
    Rakesh.

    Hi Rakesh,
    As Dave said the simple way is using BADI BBP_CREATE_BE_PO_NEW.
    There is a way to achive this for Limit shopping carts. Choose 'Confirmation and Invoice' as Follow-on doc in the Limit shopping cart, this will create PO with GR flag active always. But this will not solve your other requirement that all non Limit orders should create PO with no GR flag. In that case you need to use BADI again.
    It is up to you, think and decide which way is better..:)
    Thanks,
    Jagadish

  • GR  via MIGO allowed for POs with conf control key

    GR  via MIGO allowed for POs with conf control key.
    where GRs should be allowed only based on ASN (INB) Del.
    How to restrict GR via MIGO when confirmation control key is set?

    ideally it should work, however check Conformation Control Key LA.
    Confirmation sequence " GR relevant " and GR assignemnt is checked or not, in SPRO > MM> Purchasing --> Confirmations --> Set up confirmation control.

  • Dirty flag set for readonly file page

    We are using BDB 4.8.26 transactional data store on Windows 2008 R2.
    DB is logging the message "dirty flag set for readonly file page" to the error log ... this entry was logged 17 times in a 24 hr period. The system processes about 3-5 requests a second.
    We also are having an incorrect "SECONDARY inconsistent with primary" error reported - this used to be very rare but has increased with increased concurrency. But the dirty flag error is recent - after we dropped a secondary and added a new one - there was no error during the secondary drop and rebuild process.
    Appreciate any help on this.
    Thanks
    Kimman Balakrishnan

    Hi Kimman,
    I assume you are not opening your databases with the DB_RDONLY flag. This could be cause by not running recovery after a system or application failure. Make sure you run recovery correctly, single threaded, after each system or application failure; review the Architecting Transactional Data Store applications documentation section.
    Regards,
    Andrei

  • How to retrive new logical column based on flag values in table.

    Hi,
    i have two tables in rpd
    1.file table contains the coulmns------->date,file_count,record_count,cldm_stg,cmsa_stg,archive_stg
    2.rejection table columns---------> are same as above
    both have same common columns.my requirement is publish a dashboard like:
    date | land_files count |alnd_recordscount| target_files count|target_records count|Rejection filecount|rejection record count
    These report ineed retrive from those two tables.based on flag values.taget countcomes when all stg values set to ='y'
    i.e(cldm_stg='y' and cmsa_stg='y'and archive_stg='y') if not then it will be in rejection file.
    Please give solution how to achive my output.
    nQSError: 14026] Unable to navigate requested expression: Target_record:[DAggr(FILE_CONTROL.Target_record by [ FILE_CONTROL.FILE_NAME, REJECTED_FILES.FILE_NAME, REJECTED_FILES.NO_OF_ROWS, File_landing.NO_OF_ROWS, File_landing.FILE_LOAD_DATE] SB FILE_CONTROL)]. Please fix the metadata consistency warnings. (HY000)
    Edited by: user8767586 on Jan 12, 2010 4:29 AM

    Tanks for ypur reply .only two tables are there named as above.i taken file_control as a fact table.
    and i create one new tablecalled target in bmm layer taking logical source as file_control(fact table). and iset the where clause for the new table.and i create a new measure called target_file and target_records.in where clause my query is like
    dwbidb."".AUDIT_PROD.FILE_CONTROL.ARCHIVE_STATUS = 'Y' AND dwbidb."".AUDIT_PROD.FILE_CONTROL.CMSA_STATUS = 'Y' AND dwbidb."".AUDIT_PROD.FILE_CONTROL.LND_STATUS = 'Y' AND dwbidb."".AUDIT_PROD.FILE_CONTROL.SCRIPT_STATUS = 'Y' AND dwbidb."".AUDIT_PROD.FILE_CONTROL.STG_STATUS = 'Y'
    please tell me if this is right way to achive mt report. and tell me difference between fragmentation and whereclause.for my requrement i ahve to follow which method either fragmentation or whereclause.and in rpd there are no errors and warnings.but in answers i get a follwing error
    State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 14026] Unable to navigate requested expression: TARGET_FILECOUNT:[DAggr(TARGET.TARGET_FILECOUNT by [ TARGET.FILE_NAME] SB TARGET)]. Please fix the metadata consistency warnings. (HY000)
    SQL Issued: SELECT TARGET.FILE_LOAD_DATE saw_0, TARGET.TARGET_FILECOUNT saw_1, TARGET.TARGET_FILECOUNT saw_2 FROM AUDIT_PROD ORDER BY saw_0.
    Please tell me to achive my report.
    Regards
    Edited by: user8767586 on Jan 12, 2010 5:21 AM
    Edited by: user8767586 on Jan 12, 2010 5:21 AM
    Edited by: user8767586 on Jan 12, 2010 5:24 AM

  • Creating a Form with Report based on View

    Hi All,
    I wanted to create a form with report based on two tables so:
    1. I created a view (called COMBO) based on two tables
    2. I then created a form with report based on the view
    Everything seemed fine thus far until I tried to edit existing records - I got the error:
    ORA-20505: Error in DML: p_rowid=2002082600001172, p_alt_rowid=REPATRIATION_ID, p_rowid2=, p_alt_rowid2=. ORA-01776: cannot modify more than one base table through a join view
    Unable to process row of table COMBO.NB: REPATRIATION_ID is the primary key of the Repatriation table. The other table is Applicant.
    & when I tried to create a new record - I got the error:
    ORA-01776: cannot modify more than one base table through a join view
    Unable to process row of table COMBO.Someone please enlighten me!
    Kind Regards
    Kamo
    Edited by: Kamo on 2009/03/12 2:33 AM

    Hello Kamo,
    You need to create an 'instead of' (update/insert/delete) trigger on your view to process the inserts etc into the 'real' tables.
    Greetings,
    Roel
    http://roelhartman.blogspot.com/
    You can reward this reply by marking it as either Helpful or Correct ;-)

  • ConditionSortStep with measure based sorting

    Hi,
    i have problem with ConditionSortStep with measure based sorting.
    I use this code :
    Selection sel = query.findSelection(dimensionID);
    OlapQDR qdr = new OlapQDR(measureDim.getUniqueID());
    qdr.addDimMemberPair(dimTime.getUniqueID(),"YR2004");
    qdr.addDimMemberPair(dimPartner.getUniqueID(),"PLUS");
    ConditionSortStep stepM = new ConditionSortStep(dimensionID, sel.getHierarchy(), ConditionSortStep.MEASURE,ConditionSortStep.DESCENDING, measure.getUniqueID(), qdr);
    SortSpec sortSpec = new SortSpec();
    stepM.setAction(Step.ADD);
    sortSpec.addConditionSortStep(stepM);
    sel.setSortSpec(sortSpec);
    query.applySelection(sel);
    Members are sorted by measure, but only descending not in hierarchical ordering. When i change hierarchy in ConditionSortStep to (String)null, I get same result.
    I mean, the specified hierarchy in ConditionSortStep is not used, but I dont know why. Any ideas?
    BIBeans 9.0.4 - JSP
    DB 9.2.0.5 + OlapB patch
    Thanks...
    maddox

    Hi David,
    Sorry for not providing proper information.
    This is my Star Schema. Dim_cutomer, Dim_problem, Dim_geo, Fact_ticket.
    Dim_cutomer: Contians information about the Cutomer, account, Install Date, Install flag
    Dim_problem: Problem type, Problem group
    Dim_Geo: is Geographical dimension. like Division, Region ...
    Fact_ticket: Has the information about the each ticket.
    The requirement is to create a report based on division, region : 1. count # of Open ticket 2. Count # of closed ticket 3. % of Failure
    I am able to do count of Open and Close. but for % failure which is tricky and complecated. To calculate the % of failure
    Failure = Count of (FAI tickets) / Count of Installs.
    to count fai: there is flag in fact i can count the FAI, Installs : count of install falg which is in Dim_customer, i can count it in report. The problem is this report have prompts like Type of account, type of problem.
    As per the client, when i change the value of problem type the count of Installs should not changed & when i change the value of Type of Account value of Installs should change based on type of account. I dont no how to control this.
    As all the dim are joined with fact.
    It will be great help if some one give some hit or help...
    thanks in adavance
    Regards
    @li

  • Apple keyboard doesn't give correct symbols with iPad2

    My apple keyboard works perfectly with my iPhone5, (WiFi, but NOT 3G) but when I  use it with my iPad2 most of the keys give a different symbol that what's written on the keyboard.  How can I set it so it works correctly as with the iphone5?
    thanks for any help.
    Will any answer be sent to me automatically to my email address,   or must I go to community daily to look for replies?
    Thanks
    Dan

    My apple keyboard works perfectly with my iPhone5, (WiFi, but NOT 3G) but when I  use it with my iPad2 most of the keys give a different symbol that what's written on the keyboard.  How can I set it so it works correctly as with the iphone5?
    thanks for any help.
    Will any answer be sent to me automatically to my email address,   or must I go to community daily to look for replies?
    Thanks
    Dan

Maybe you are looking for