FM to read PO conditons

Dear all,
I´m looking for a function module to read the all purchase order conditions at the header and items.
I will appreciate if someone can help me to find it.
Thanks in advance.
Mariano.

Use FM
RV_PRICE_PRINT_HEAD - for Header
RV_PRICE_PRINT_ITEM - For Item
Regards,
Naimesh Patel

Similar Messages

  • Conditon value not updating in CONDITION tab for Sales Order

    Hi Experts,
    Can anyone tell me about this ?
    I have created a Z condition type for VA01 and need to place some value (based on some logic  taken from conditon records).
    I am not able to do this.
    Steps already taken care of.
    !) In VOFM >formula section>conditon value = New routine is created.
    2) in V/08, after selecting the Z condition type Routine number is given in front of the Z condition type.
    Waiting....

    Hi Prabhu,
    I didn't understand the meaning of analyzing the Pricing Procedure ?
    In V/08, I have selected the Z condition type created in the system and than selecting that, navigated to CONTROL folder.
    Now in front of the Z condition type in CALCULATION TYPE field the number of the routine is given (Which is created using VOFM).
    Now what else I need to do?
    Repy@Madhu.
    Yes Madhu. Routine is activated and control is stopping if break point given in the routine. In this routine I am trying to populate a value in its XKOMV internal table's KBETR field but when VA01's main CONDITIONS TABS screen comes the value is not appearing.

  • How Can i Read data From Maintainance View

    I Want read data from Maintainance View. i written select query
    SELECT *
    FROM J_1yyyyV
    INTO TABLE GT_BUSPLACE.
    WHERE BUPLA = LV_BUPLA.
    this is giving following error
    "J_1yyyyV" is not defined in the ABAP Dictionary as a table,
    projection view, or database view.
    Can you help me Please.
    Thanks in Advance.
    Regards,
    Raj.

    Hi raj,
    maintainance view is a nothing but combinations of table using join on some fields..
    see the relation ship between the joins..
    if you want to write selection query ..go to se11 -->enter view name >and open tab>
                    Table/Join  conditions--> see the table's involved and join conditons between tables.
    and write the select query same as like the Table/Join  conditions in se11..now you can acheive the
    table maintainance fields..
    Prabhudas

  • Freight -Group conditon not getting Reflected at an item level in Delivery.

    Hi SAP Gurus !,
    I want to draw your kind attention towards my problem.
    1.  I had created a delivery with a header freight conditon type ZF00,the same conditon was getting reflected in all the item,But   after sometime i deleted that condition from header conditon tab and saved the delivery.
    2. After creating an invoice w.r.t. delivery,system is showing freight amount in an invoice.
    3.After i have checked in delivery,ZF00 is still there at item level, even after i deleted that one at header level.
    4.Now i want to use the same invoice without freight.(I don't want to cancel that invoice)
    Regards,

    Hi,
    1st of all check with user why the freight cost dont want to transfer to invoice.
    Once the invoice is created, you need go to each item individually in the condition type and you can try to delete it from there. But before that make sure your condition type is tick with delete option in the condition type.
    Hope my solution can help you get some idea.

  • I cant agree the terms and conditons on my iphone. I don´t have a button to Agree.....

    Hi there. I don´t know what to do... a few days ago i got the info: New terms and conditons on my I-Phone (4). But i can´t agree the terms because there is no button to agree. i have scrolled to the end and there is no button. Could someone help me ?

    I have this same issue, but I just got the new 5S and cannot accept it. Not sure what is happening.

  • Last conditon type is not active in the pricing procedure

    Hi gurus,
    In the standard system, when there are multiple Condition types exists in the pricing procedure for the same condition class ( Example : Price) then the value of the last condition type should be active and rest all should be inactive. Where as in my case i have 4 pricing condition types , instead of last condition type 3rd condition type is being active. Can any one suggest what would be the reason for this and how to make sure that last condition type is set as active?

    I found that as the condition value is less than the condition base value , even though conditon type was last in the list it was not set as active. This can be seen by selecting the condtion type in the pricing details and then click on the details icon ( Lens ) .

  • How to read an interal table with dynamic conditions

    Dear all,
       I have an internal table IN_TAB and I want to read a record of the table with dynamic condition as below.
    a) IN_TAB  structure : |      ColA     |      Col B     | Col C        | Col D        |
    b) Requirement: there are four condtions, and reading data from IN_TAB (not use loop) based on these conditions. If one condition is empty, it'll be ommited.
    Ex: |      ColA     |      Col B     |    Col C      |    ColD      |
    x1
    b
    c
    d
    x1
    x2
    x3
    x1
    x2
    x3
    x4
    y1
    y2
    y3
    y4
    The conditons consist of ColA = ' x1' , ColB = 'x2' , ColC = '', ColD = ''
    The result will be:
    x1
    x2
    x3
    x1
    x2
    x3
    x4
    Could you please help to solve this problem.
    Thanks and regards,
    Nguyen Huy.

    Hi Nabheet,
      Thanks for your solution, It solved my problem. I also suggest the another way to obtain this.
    - The internal table have to declare with header line, note that the internal table mustn't has x type in the structure.
    - Assign all conditions into header line wether condtion is empty or not.
    - Use statement READ TABLE IN_TAB.
    Ex:
       DATA: BEGIN OF RT OCCURS 0,
            MATNR(18) TYPE C,
            ERNAM(12) TYPE C,
            BISMT(18) TYPE C,
            LAEDA TYPE MARA-LAEDA,
          END OF RT .
    SELECT
      MATNR
      ERNAM
      BISMT
      LAEDA
      UP TO 10 ROWS
      INTO CORRESPONDING FIELDS OF TABLE RT
      FROM MARA.
    RT-MATNR = '7F01113'.
    RT-LAEDA = '20111005'.
    READ TABLE RT.
    @ponvignesh : thanks for your reply, I thinks that the Nabheet's solution is the good way.
    Kindly regards,
    Nguyen Huy

  • How to implement PL/SQL expression in Report conditonal?

    Hi All,
    In my application i am want use Pl/SQl as expression in Conditional Display for Report region. Can you please suggest me how to handle using PL/SQl expression in conditonal.
    Thanks,
    Anoo..

    In general terms, your PL/SQL expression should evaluate to true or false - true will display the region, false will hide it. It's analogous to writing the conditional expression part of an if statement.
    So, if you had normal PL/SQL code that looks like this:
    if :P999_MYPAGEITEM is null or :P999_MYPAGEITEM = 0 then
    end if;The equivalent conditional pl/sql expression would simply be:
       :P999_MYPAGEITEM is null or :P999_MYPAGEITEM = 0 Note: this is NOT the same as you would do for "PL/SQL body returning boolean Expression", which looks more like:
       return :P999_MYPAGEITEM is null or :P999_MYPAGEITEM = 0;or
    declare
       bl_retval boolean;
    begin
       bl_retval := :P999_MYPAGEITEM is null or :P999_MYPAGEITEM = 0;
       return bl_retval;
    end;

  • Implementing BADI TRIP_WEB_NUMBER, problem reading a field

    Hi All,
    Have anyone implemented BADI TRIP_WEB_NUMBER before,
    Interface : IF_EX_TRIP_WEB_NUMBER
    Method:     USER_EXIT_NUMBER_INTERNAL
    I need a help.
    In this method i have exporting parameter NUMBER_RANGE TYPE INRI-NRRANGENR
    so my requirement is just to change this parameter for particular conditon.
    Problem is to make condition i need a field SCHEMA
    You can check Structure HEAD_PERIO-SCHEM
    or elset T706S OR T706T...
    I need to read that field at runtime somehow, how can i achieve that pls help.
    i can able to read only the date....
    Pls help..
    Thanks

    Find out the main program name where the variable HEAD_PERIO-SCHEMA is declared. Then you can use the ABAP call stack method to retrieve the variable like below. This method can only be used to read a variable from ABAP call stack memory, that is the variable should be available in the scope of the program which is present in the run time call stack your BADI gets called in.
    DATA: lv_name_xvbak(30)  VALUE   '(SAPMV45A)VBAK'.
    FIELD-SYMBOLS: <xvbak> TYPE  vbak.
    * Retrieve Sales order details from abap stack
    ASSIGN (lv_name_xvbak) TO <xvbak>.
    IF sy-subrc NE 0.
      EXIT.
    ENDIF.
    In the above code you can replace SAPMV45A with the main program name where field SCHEMA is available and VBAK with HEAD_PERIO (the structure or internal table where the field you want is available)
    For accessing internal tables similarly
    DATA:  lv_name_xvbap(30)  VALUE   '(SAPMV45A)XVBAP[]'.
    FIELD-SYMBOLS: <xvbap> TYPE TABLE OF vbap.
    ASSIGN (lv_name_xvbap) TO <xvbap>.
    IF sy-subrc NE 0.
      EXIT.
    ENDIF.

  • Execute a Select in the if conditon

    DECLARE
      vcount NUMBER;
    BEGIN
      SELECT COUNT(*) INTO vcount FROM EMP WHERE EMPNO=7788;
      IF (vcount >=1) THEN
        DBMS_OUTPUT.PUT_LINE('emp exists');
      ELSE
        DBMS_OUTPUT.PUT_LINE('emp not exists');
      END IF;
    END;The above code is working but the below one is not working. Can we execute a select stmt in the if conditon to check on the fly...?
    DECLARE
    BEGIN
      IF ((SELECT COUNT(*) FROM EMP WHERE EMPNO=7788) >=1)
      THEN
        DBMS_OUTPUT.PUT_LINE('emp exists');
      ELSE
        DBMS_OUTPUT.PUT_LINE('emp not exists');
      END IF;
    END;Thanks

    Just for your program,
    you may even go with this instead of pl/sql.. (not sure about your original code though)
    SELECT DECODE (COUNT (*), 0, 'Sorry no emp with that id', 'emp exists')
              chk_emp
      FROM emp
    WHERE id = 1000;Cheers,
    Manik.

  • Reading program variables

    I am using BADI for HR Infotype.  I want to read the fcode (Okcode) of the screen of the program.  I dont want to read the screen values.  Fcode is a variable of the program. 
    is there any function module to read the <b>program variables</b>. like DYNP_VALUES_READ (we can read screen values)

    Hi Ankit,
    What i am trying to say is
    write your code in the conditon.
    if <b>condition satisfies only</b> it will trigger the <b>corresponding code.</b>
    let's say
    if sy-ucomm eq '<b>UPD'</b>.
    <b>***write your code</b>
    sytem will execute this code when sy-ucomm equals 'UPD'
    endif.
    regards,
    kishore

  • PO freight conditon

    Hi Gurus,
    I added a freight condition at both item and header levels, but i want  that the value of freight should be  added into PO total price while the approval of PO.  As you know in SAP standart net price is proceeded as total price of PO in approval, but i cannot see my freight cost  in net price of PO. How can I solve this problem?

    >
    PASCAL NOUMA wrote:
    > Hi İrani,
    >
    > I arranged the calculation schema as you said, but it did not work. I tried to add it between net price and actual price, it worked. but before net price it doesnt work. why? can it be because it is freight conditon type.
    >
    > Thx
    I am not understanding where this actual price came in from. Can you paste your calculation schema here. If your schema has gross price, then freight, then net price, my instructions above should work, but if actual price is in between, then we need to see more in detail. Freight condition type should get added to net price, no questions asked, but we need to scrutnize, what went wrong there and why its not adding by seeing your schema .

  • Is required to maintain again prices in conditon records in vk11

    Hi gurus
    In batch determination when we create a sales order system automatically picks the batch number at the line item.  My question is how the prices will be determined in the system
    1) in the batch determination we will maintain prices in mch1 ithat conditon records b t system not picking up the prices. what could be the reason.
    again we have to maintain the conditon records in vk11 is this my question?
    answers will be awarded.
    Thanks & Regards
      rack

    Hi,
    Actually had maintained in my condition records at VK11, so dont know the other case, but yes just go through this info.
    Normaly we use batch determination at delivery level, because at the time of order material may or may not be created.for this material should be configured with batch and batch determination should be checked in sales views of material.
    A2) Batch Determination during order Creation.
    For this you need to maintain a Classes d for you Material. Depending on the Manufacturing process you can define the characteristics for your material.
    Ex: Purity for Medicines,  Resistance for Electric Items.
    You need to create a class (You might have to create a new class type) which incorporates the characteristic.
    First Create the Characteristic Using Ct04 and then using Cl02 create the Class  including this characteristic.
    Then in your material master Classification View Enter this class.
    Then Create a Batch for the particular plant and Stor Loc using MSC1N.Give the value of the characteristics in this batch.
    Then go to SPRO ->Logistics General ->Batch Management and maintain the Condition Technique (Procedure, Strategy Types and assignment to sales docs etc).
    Then Create the Batch Determination Record using VCH1.
    regards,
    Siddharth.

  • Cannot read data in FPGA

    Hi guys, I have a code that I developed for reading in digital data through digital lines in a PXI-7813R. But unfortnately, in the Host vi, I cannot acquire any data, even though I have fed in an external signal to the digital line in the PXI through a connector.
    I have a data graph to display this signal, but nothing can be seen when I run the problem! Anyone know what the problem is?
    I have attached the project.
    ANy help would be great.
    Thanks, Anoop
    Solved!
    Go to Solution.
    Attachments:
    Digital Input FPGA.lvproj ‏100 KB
    FPGA.vi ‏79 KB
    Host.vi ‏81 KB

    Hi, thanks for the reply.
    I have a couple of questions though. I dont understand what you mean in the first line. I have set the READ in the FPGA VI to be true so that when it is pressed, data can be read from the HOST VI.
    Now, getting on to the issues you highlighted.
    1. I have included a polling delay and the error issue is now sloved. But, when you mean "Also make sure you wire your error in to the while loop stop condition....", I have did this using the polling. Is this OK?
    2. You mention "In your vi, you are writing...." do you mean in the FPGA? If so, I have set the "read?" flag on the case structure, to use it as a switch for teh true conditon. is this not correct?
    I have attached the modified Project along with this. Feel free to edit it if you feel the urge too
    Attachments:
    Digital Input FPGA.lvproj ‏91 KB
    Host.vi ‏99 KB
    FPGA.vi ‏199 KB

  • Version 11.0.4 crash after selecting Reading order

    This is to let you know that version 11.0.4 will crash under certain conditons when opening.
    After opening an untagged Document Reader offers the option to select a Reading Order Option. When an option is selected and Alway use this setting... is checked Reader will crash with a call to a pure virtual function. Not checking the named box will allow Reader to run normally.

    Hi there,
    One thing that may help is re-creating the iTunes library by following the steps in the article below.
    iTunes: How to re-create your iTunes library and playlists
    http://support.apple.com/kb/ht1451
    -Griff W.

Maybe you are looking for

  • Creation of new Init

    Hi  Experts, We have existing delta infopackage which loads data into one cube. As it is taking long time to extract data So we decided to split it using data selection field. Could you please tell me the steps for creating new inofpackage/s  with di

  • Need to reduce the report size.

    Hi all, I am using CR2008, i have total 4 images(jpeg) in the header and footer. My problem is  size of the rpt file. i am getting 8MB for the blank report itself. so i cant able to export this file properly from my  application(.net)into .doc and RT

  • Batch process to create large number of metadata fields in UCM?

    Is there any kind of scripting available to create a large number of metadata fields in UCM?. thanks

  • IGS Graph not displayed for GRC

    Hello, After installing of SAP Netweaver 7.0 EHP1 AS JAVA, I have configured IGS as per install guide 7.3 section, but when I execute the URL http://<server_name>::40080, I do not get the graph displayed. I only get a screen with 1 line message stati

  • Why do the chapters appear black on digital copies of movies

    Why do the chapters of some digital movies appear as black bars and some show up as they should?