Gr based iv no flag

Dear Forum,
If in po, there is NO gr based iv being flagged,
1) after GR, when I do IR, even either quantity or price difference, system will post to price difference but no block as gr based iv not ticked?
2) no GR made yet when I do IR, system will debit the grc account also, correct?
3) after IR only I do GR, system will also credit the grc account, correct?
4) after IR only do GR, when there is a difference in quantity, system will post and difference goes to price difference? system will not block which due to difference because of no gr based iv?
thanks
rgds

If in po, there is NO gr based iv being flagged,
1) after GR, when I do IR, even either quantity or price difference, system will post to price difference but no block as gr based iv not ticked?
No, assuming you have some invoice tolerances set, you would expect an invoice to block.
2) no GR made yet when I do IR, system will debit the grc account also, correct?
GRC = GR/IR ? Yes the GR/IR account will be posted to.
3) after IR only I do GR, system will also credit the grc account, correct?
GRC = GR/IR ? Yes the GR/IR account will be posted to.
4) after IR only do GR, when there is a difference in quantity, system will post and difference goes to price difference? system will not block which due to difference because of no gr based iv?
No, subject to invoice tolerances, you would expect invoice to block.
Regards,
Nick

Similar Messages

  • Receive IDOC INVOIC even if GR based IV is flagged while creating purchase

    Hi,
    I created a Purchase order by selecting the flag for GR Based IV. Now I would like to receive Invoice before GR is created through IDOC via EDI. Is there any SAP note to receive and park the IDOC when the GR based IV is selected in PO.
    Regards,
    Sagar

    the programs that post the IDOC just do what they can do based on the information available in the IDOC itself, and it they cannot do it, then an error is issued and the IDOC fails.
    turn you process. instead of directly posting the idocs and wanting the failed ones go into the parked status, park all first and process then the parked invoices.
    check OSS Note 501524 - EDI: Parking incoming invoices by default

  • Selecting records based on the flag

    Hi All,
    I have records like the following
    Program_Name Effective_Date Valid_Flag
    ABCD 2/10/2012 N
    ABCD 2/14/2012 N
    ABCD 2/20/2012 Y
    ABCD 3/01/2012 N
    ABCD 3/10/2012 N
    ABCD 3/14/2012 Y
    ABCD 3/25/2012 N
    ABCD 3/26/2012 N
    ABCD 3/27/2012 N
    ABCD 3/28/2012 N
    ABCD 3/29/2012 N
    ABCD 4/25/2012 Y
    I have to write a select statement to to keep the first record and then pull only the records when the Valid_Flag changed. The result set should be like below.
    Program_Name Effective_Date Valid_Flag
    ABCD 2/10/2012 N -- I have preserved the first record
    ABCD 2/20/2012 Y -- Valid_Flag chages to a Y for teh first time and so on.
    ABCD 3/01/2012 N
    ABCD 3/14/2012 Y
    ABCD 3/25/2012 N
    ABCD 4/25/2012 Y
    If there is no change in the flag, I do not have to pull that record. Please help with SQL suggestions. Thanks for your time and help.

    ssk1974 wrote:
    Hi All,
    I have records like the following
    Program_Name Effective_Date Valid_Flag
    ABCD 2/10/2012 N
    ABCD 2/14/2012 N
    ABCD 2/20/2012 Y
    ABCD 3/01/2012 N
    ABCD 3/10/2012 N
    ABCD 3/14/2012 Y
    ABCD 3/25/2012 N
    ABCD 3/26/2012 N
    ABCD 3/27/2012 N
    ABCD 3/28/2012 N
    ABCD 3/29/2012 N
    ABCD 4/25/2012 Y
    I have to write a select statement to to keep the first record and then pull only the records when the Valid_Flag changed. The result set should be like below.
    Program_Name Effective_Date Valid_Flag
    ABCD 2/10/2012 N -- I have preserved the first record
    ABCD 2/20/2012 Y -- Valid_Flag chages to a Y for teh first time and so on.
    ABCD 3/01/2012 N
    ABCD 3/14/2012 Y
    ABCD 3/25/2012 N
    ABCD 4/25/2012 Y
    If there is no change in the flag, I do not have to pull that record. Please help with SQL suggestions. Thanks for your time and help.In the future, it would be nice if you could provide the sample data like i created below.
    ME_XE?with data as
      2  (
      3     select 'ABCD' as col1, to_date('2/10/2012', 'mm/dd/yyyy')       as col2, 'N' as col3    from dual union all
      4     select 'ABCD' as col1, to_date('2/14/2012', 'mm/dd/yyyy')       as col2, 'N' as col3    from dual union all
      5     select 'ABCD' as col1, to_date('2/20/2012', 'mm/dd/yyyy')       as col2, 'Y' as col3    from dual union all
      6     select 'ABCD' as col1, to_date('3/01/2012', 'mm/dd/yyyy')       as col2, 'N' as col3    from dual union all
      7     select 'ABCD' as col1, to_date('3/10/2012', 'mm/dd/yyyy')       as col2, 'N' as col3    from dual union all
      8     select 'ABCD' as col1, to_date('3/14/2012', 'mm/dd/yyyy')       as col2, 'Y' as col3    from dual union all
      9     select 'ABCD' as col1, to_date('3/25/2012', 'mm/dd/yyyy')       as col2, 'N' as col3    from dual union all
    10     select 'ABCD' as col1, to_date('3/26/2012', 'mm/dd/yyyy')       as col2, 'N' as col3    from dual union all
    11     select 'ABCD' as col1, to_date('3/27/2012', 'mm/dd/yyyy')       as col2, 'N' as col3    from dual union all
    12     select 'ABCD' as col1, to_date('3/28/2012', 'mm/dd/yyyy')       as col2, 'N' as col3    from dual union all
    13     select 'ABCD' as col1, to_date('3/29/2012', 'mm/dd/yyyy')       as col2, 'N' as col3    from dual union all
    14     select 'ABCD' as col1, to_date('4/25/2012', 'mm/dd/yyyy')       as col2, 'Y' as col3    from dual
    15  )
    16  select *
    17  from
    18  (
    19     select
    20             col1, col2, col3,
    21             lag(col3) over (partition by col1 order by col2 asc) as last_flag
    22     from data
    23  )
    24  where last_flag    != col3
    25  or    last_flag    is null;
    COL1         COL2                       COL LAS
    ABCD         10-FEB-2012 12 00:00       N
    ABCD         20-FEB-2012 12 00:00       Y   N
    ABCD         01-MAR-2012 12 00:00       N   Y
    ABCD         14-MAR-2012 12 00:00       Y   N
    ABCD         25-MAR-2012 12 00:00       N   Y
    ABCD         25-APR-2012 12 00:00       Y   N
    6 rows selected.
    Elapsed: 00:00:00.08
    ME_XE?Cheers,

  • 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 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

  • Cumulative output based on flag...

    Hi,
    I have a table as
    Txn No Flag Amt
    1 C 500
    2 D 100
    3 C 200
    4 C 100
    5 D 400
    6 D 100
    I am trying to write a query which will give me the total amount that is based on the Flag value i.e. D or C.
    If Flag is D subtract the current amount from previous amt
    if Flag is C add the current amount to previous amt
    Txn No Flag Total Amt
    1 C 500
    2 D 400
    3 C 600
    4 C 700
    5 D 300
    6 D 200
    Please guide me...
    Thanks in advance
    Regards
    Kaustubh

    Like this ?
    SQL> with tbl as
      2  (select 1 as c1, 'C' as c2, 500 as c3 from dual union all
      3   select 2, 'D', 400 from dual union all
      4   select 3, 'C', 600 from dual union all
      5   select 4, 'C', 700 from dual union all
      6   select 5, 'D', 300 from dual union all
      7   select 6, 'D', 200 from dual )
      8  select c1,c2, c3, sum(decode(c2,'C',c3,c3*-1)) over (order by c1)
      9  from tbl;
            C1 C         C3 SUM(DECODE(C2,'C',C3,C3*-1))OVER(ORDERBYC1)
             1 C        500                                         500
             2 D        400                                         100
             3 C        600                                         700
             4 C        700                                        1400
             5 D        300                                        1100
             6 D        200                                         900
    6 rows selected.
    SQL> Nicolas.

  • GR-Based Invoice Verification

    I am having problems with the GR-Based Invoice Verification flag in the POs.
    Basically what I need is for the system to not allow me to post invoices over the good receipted quantity. I manage to get that control switching on the "GR-Based IV" flag in the PO, but at the cost of having to set the GR reference whenever I make an invoice.
    Is there someway in which I could post invoices in the system without making reference to the good receipt material document number while keeping the check that does not allow me to invoice over the total GR amount?
    Thanks

    Hi,
    you have to set the tolerance limit for the Invoce Verification for the respective Comapany Code.
    goto, IMG - Material management - Logistice Invoice verification - Invoice Block - Set Tolerance limits (OMR6)
    Set upper and Lower limits as zero.
    BW: Percentage OPUn variance (GR before IR)
    The system calculates the percentage variance between the following ratios: quantity invoiced in order price quantity units: quantity invoiced in order units and goods receipt quantity in order price quantity units : goods receipt quantity in order units. The system compares the variance with the upper and lower percentage limits defined.
    Regards,
    Pravin

  • Question on updating a table based on report data

    Hi all,
    I am building a new stock request form for our site and I have a report that provides a listing of all requests that have a status of pending based on supv_approve flag being Null.
    I want to be able to update the table BGNA_NEW_STOCK_REQUESTS and set SUPV_APPROVE Flag to either Y or N depending on what the user sets as the value in the report. (by changing the standard report column to a text field and setting it to a named LOV with values Y or N, I can change each row in the displayed report to either be Y or N - but have yet to figure out how you then update the table with those values)
    Each row of the report has a unique ID - I just havent figured out how you update a table by chaging the values displayed in a report. I get that I can change the feild type from standard report column to text field but havent figured out how to get an update button to actually update the table once I changed the NULL value to Y or N
    any help is greatly appreciated!
    Edited by: user8607582 on Aug 10, 2009 1:51 PM
    Edited by: user8607582 on Aug 10, 2009 1:58 PM

    Hello Danny,
    Add a column to the sql that is something like this:
    select apex_item.checkbox(1,<keyfieldname> "Approved", (then the rest of your query for your report).
    This will put a check-box on your report. Move it to the beginning of the line for a better user-interface.
    When the user clicks the "Submit" button, ONLY those lines that have a check in the box are sent back. Create a process on your page that does the following:
    for i in 1..apex_application.g_f01.count Loop
    <do the processing of Approved transactions using this syntax for your update processing... where <keyfieldname> = apex_application.g_f01(i);
    <set all of the remaining as "N" if you wish or leave the supervisor's approval as NULL>
    end loop;
    This will then allow you process all of those items that were checked.
    I hope this helps,
    Don.
    You can reward this reply by marking it as either Helpful or Correct :)

  • Service base IV flag need to be set for SRM PO u2013 SRM 7.0 Extended classic

    Hello
    We are on  SRM 7.0  Extended classic scenario -  business have following requirement  with Service PO
    Invoice need to be posted with reference to conformation (SES) u2013 While creating a service PO  when user maintain  GR required  flag ,  u201CConfirmation-Based Invoice Verificationu201D flag get automatically set  but when PO replicated in ECC, it has  only GR base IV  flag ticked and not the Service base IV  which is required  from Invoicing perspective
    On SRM PO unlike ECC PO  there is only provision to maintained GR base IV and not SR base IV. So how can we achieve this
    Can we do it via BBP_DOC_CHANGE_BADI.   
    Note : SR base IV  flag cannot be maintained in Vendor master in ECC  because of  business constrain  so it has to be pass from SRM PO only

    Hello,
    Make some tests using R/3 BAdI BBP_PO_INBOUND_BADI.
    Nevertheless, only BBP_MAP_BEFORE_BAPI method has field SRV_BASED_IV in changing parameter BAPI_POITEM.
    Regards.
    Laurent.

  • Dynamic header based on the chosen Grid POV

    Hello,
    I have two grids Grid1 and Grid2. Both the grids have one editable POV and are different from each other. Either of the grids are being hidden based on a flag being input by the user.
    I need to display the dimension name and the member name of the chosen Grid POV in a text box in the header. This needs to dynamically change based on the grid being displayed. e.g. If the Grid POV for Grid1 is "X" and for Grid2 is "Y", I need to display "X" when the grid2 is hidden and "Y" when grid1 is hidden. There is no conditional formatting on text boxes in headers. Is there any other way to do this?
    Thanks,
    Ravi B

    Hi Ravi,
    yes you can not apply conditional formatting on text boxes.
    But it is possible to put the conditional formatting on the grid cell and then you can pick the text from grid cell into text box.
    Hopefully this will solve your problem.
    Regards,
    Rahul

  • Generate report dynamically based on parameters

    I have a Report with 30-35 items and these items are divided into sets of
    RMA, WIP,Inventory, finance ....
    now i need to display the report dynamically based on parameters
    say, for example if RMA, WIP, Inventory, finance are YES,NO,YES, NO
    then the report should display only RMA , Inventory....
    any ideas/suggestions would appreciated......
    Thanks,
    -VK

    Thanks for the Reply Sabine, let me put my question this way,
    i have to display the report based on the selection criteria(parameters)
    i have a generalized view which will display all the items....but the client needs them in a fashion where he chooses them as a groups since, the list is so big and he wouldn't be needing them all at once.
    here is what i'm thinking for the moment since, discoverer cannot hide the columns based on runtime parameters ....correct me if i'm wrong (as per my knowledge...it cannot ) i have decided going with 16 worksheets 4 groups of items say,(RMA, WIP, INV, FINANCE..)
    and now based on the flags what the end user chosses i may have to display the appropriate worksheet ....is this solution possible...if so do i have to subqueries...??..or is there any better ideas/suggestion....
    Regards,
    VK

  • Transformation logic for char and keyfigure from source keyfigures and flag

    Hi All,
       My requirement is populate char and keyfigure values from source keyfigures and flag, which is like transformation of converting the Key Figure based structure to the accounts based structure. I am loading data from the cube1 to cube2,
    cube1 structure with sample data:
    Plant Furnace ZFurnace ZPlant1 Zplant2 Flag
    P01     Blank      0                56        73      P
    Blank     F01      335               0           0       F
    Target Cube str with sample data
    Plant  Furnace    FS(Char)   KYF   Flag
    P01     Blank         1               56       P
    Blank  F01            2               335    F
    P01      Blank         3               73      P
    ZPlant1, ZPlant2 and ZFurnace are the keyfigure tech.names.
    FS has master data:
    FScode  KYF            Flag
    1             ZPlant1        P
    2             ZFurnace     F
    3             Zplant2         P
    While loading data from the source cube1 I need to read FS master data and than fill FS code in target cube based on source Flag and  Key figure technical names.
    I would be greatly appreciate with points if anyone can help me in writing the ABAP logic. The challenging part for me is comparing key figure technical names in cube1 with the FS master data key figure values.
    Thanks.
    Baba.

    Hi All,
       Actually there will be 18 records in FS master data and there will not more than 18 Key figures. Is there any way I can hardcore the values and write small code.
    something like:
    if KYF = Zplant1.
         WA_FSCODE  = '1'.
       WA_EU = source_fields-KYF.
    WA_PLant = source_fields-plant.
    wa_furnace = source_fields-furnace.
    else
        if kyf = zplant2
    Please let me know the sample logic with code. I greatly appreciate with points..
    Regards
    Baba

  • Gr based iv and variance block

    Dear Forum,
    If gr based iv no flag and over tolerance, if there is difference in quantity or price, the posting will post to price difference. Now my question is will variance cause block when gr based iv not flagged?
    1) GR based iv NOT ticked. variance IR after GR. the variance can block?
    2) GR based iv NOT ticked. variance GR after IR. the variance can block?
    Thanks

    Hi
    In case of GR based IV not ticked means it is PO  based IR. In this case you can post IR before GR but the payment is blocked even if the qty and price are same as per PO  as their is no qty received
    In this case at the time of IR
    Vendor account Credit 
    GR/IR account Debit
    If their is price/qty  differnance
    Vendor account Credit 
    GR/IR account Debit
    Price Differance account ( for differance in price/qty)
    In case of GR based IV not ticked means it is PO  based IR.
    GR is posted before IR
    At the time at GR
    In this case
    Stock account Dedit 
    GR/IR account Crebit
    At the time of IR
    Vendor account Credit 
    GR/IR account Debit
    Them Payment is not blocked
    If their is price/qty  differnance
    Vendor account Credit 
    GR/IR account Debit
    Price Differance account ( for differance in price/qty)
    Then payment is blocked for price /qty varaiance

  • I wanted to create a module pool which accepts a table n flag

    i wanted to create a module pool which accepts a table n flag.
    and based on flasg value it allows the table to get into edit or display mode.
    the table has to use table control to display for user
    and it should be able to edit the table as well as append if the flag value is edit.
    the table which has been change should be passed back.

    HI Shailesh ,
          On your screen which contains the table control , you can definately  put the flag . Now use 2 conditions , one for change n other for display mode .Initialize the value of the flag to be "X" and based on the flag valu design your table .
    lets say u have a screen 0100 ,
    at the begining put FLAG = 'X'.
    lets say , this is for your change screen  .
    then loop at the table control and allow the fields for fields input . all you should do in the PBO only .
    next in PAI , fill the table control with the changed values .
    and in PAI , in AT-user command module , code for the flag ( / push button  ) . and pass the values when the user clicks on the button .or else here you can check whether the value of the flag is  "X" ( for change mode )  or " " .
    if it  is " "   then loop at the screen and make all the fields inactive for input ( Display mode )
    Inactivation of the fields should be done in the PBO based on the conditions .
    Revert back if you need further clarification .
    This logic should  definately work .
    Reward if helpful .
    Thanks
    Ranjita

  • Sorting flagged photos?

    Using CC, I selected some photos and chose Photo > Set Flag > Flagged
    I now want to sort based on the Flag and I click on each of the 3 flag buttons in my Library Filter, though it does not seem to bring up my photos. It brings up lots of other photos, even though I did not flag those, as far as I know...
    Thanks for any help.

    If you click on each of the 3 flags, you tell LR to show all, which virtually is like setting no filter. You need to select either the picked or rejected .. and make sure you have selected the correct source (folder, collection ..).

Maybe you are looking for

  • Item Standard Cost for foreign currency purchase order

    Hi there I have a question about We have foreign currency purchases of USD which is fixed in USD. Currently, we are converting this into AUD and entering this as the standard cost. But if the currency rate is changed, we need to adjust the standard c

  • Does the iPhone alarm work when the phone is turned off?

    hi there i am wondering if the iPhone alarm will still go on as scheduled if you have the phone turned off at night? thanks in advance -

  • Adding movies to apple tv form external disk

    I want to be able to add a movie to Itunes from my external disk and then to apple tv, without erasin what has been added in the past but is not in itunes any more. The memory in my computer is limited and my movies are all in a external disk. when I

  • Wall outlet icon won't go away

    The wall outlet icon appeared and I've plugged it in for hours. When I reset, the wall outlet icon appears again. My computer does not recognize that I have my ipod plugged in...thoughts

  • HP Pavilion DV6 3036tx_Whe​n Idle in 70s

    I'm currently on Google Chrome and check the temps on SpeedFan or GPU-Z which both show that I'm 74c. I'm currently running AMDs 13.9 catalyst driver and have the latest (2011) bios for this model. If there are any other details you wish me to get, p