Modifying the Standard PO Print Output in RTF

Hi,
1. We have added a DFF on the PO line to capture a Capital Acquisition Request number [CAR] (sort of like a Project; we have not implemented Oracle Projects). Note that we actually capture the Internal ID of the CAR on the DFF attribute and not the CAR Number itself.
We would like to print the CAR Number (not the internal ID) on the custom PO RTF using XML Publisher. I know that we can reference the Attribute fields in the RTF, but how/where do I put in logic to retrieve the CAR Number based on the internal ID stored in the DFF Attribute field?
2. Also, the buyers want the PO to print the Terms and Conditions dependent on the supplier. If we capture the Terms and Conditions on the supplier/site DFF, how can this DFF be referenced in the RTF? I do understand that Vendor ID and Vendor Site ID are available on the PO Header and we need to traverse to their records to gather their DFF values.
For both 1 and 2, the basic question is how to retrieve values outside the standard data definition while generating the XML publisher report.
This is more of an XML Publisher question but I do not see a forum for that. If someone in Procurement has done this, I would appreciate a response.
If Sandeep Gandhi, Santu, or SP Dash (they have helped earlier) can help here, please reply.
Thanks
Satish

Right after I posted my question here, I talked to another consultant friend and he said that the method to do what we need would be to actually update the underlying standard views like PO_HEADERS_XML and PO_LINES_XML. The modification would be done to columns like GLOBAL_ATTRIBUTE1 etc in the view to return the value you want to print, and then reference them in the custom template.
You are forced to customize the standard views because Oracle does not provide a way to reference a custom data definition in the Document Types setup. You are forced to use one of the templates (custom or standard) attached to the standard data definition. So you can use a custom template to layout the fields the way you want, but all the fields need to be come from the standard data definition.
If there are alternative non-invasive ways to do what we did, please let me know. Or do provide feedback on what is said above.
Thanks
Satish

Similar Messages

  • How to deactivate the standard toolbar 'print' button

    Dear Expert,
    I want to deactivate the standard toolbar print's button in the smartform print preview screen.
    Could you explain and give me some sample code ?  Thanks !

    For details of how to restore it, see the [[menu bar is missing]] article.

  • Invoice list: What is the standard setting for output type LR00 ?

    Hello all,
    They have messed up our system. What are the standard settings for output type LR00 ?
    Program RVADIL01,
    Form ??
    Thanks
    Rad

    Dear Rad,
    > Program RVADIL01,
    > Form - SD_INVOICE_LIST
    Thanks,
    Raja

  • Modify the standard records in database table

    hi folks,
    could u say me , how to modify the standard records(values) in database table.
    For example in VBAP is one field like ZWERT(target value) , I wnat to modify the values of this field .
    THANKS
    KUMAR

    Hi,
    It's not advisable to modify the standard tables through program. If you want you can do using MODIFY.
    MODIFY database_table FROM TABLE itab.
    Thanks,
    Sri.

  • Modify the standard screen of a report

    I've just created a report with some parameters and when i try to modify the standard screen of this report via se80 i've got a warning message that tells me that all changes in standard selection dynpro will be discarded.
    Does that mean i can't modify this Dynpro?
    Thanks

    Hi jose,
    Wat is ur problem can u explain me clearly. wat u r trying to modify?? Ru trying to change screen settings??
    For dynpro check this link
    http://help.sap.com/saphelp_nw04/helpdata/en/a5/1a1e3e7181b60ae10000000a114084/content.htm
    Regards,
    Pavan<a href="http://http://help.sap.com/saphelp_nw04/helpdata/en/a5/1a1e3e7181b60ae10000000a114084/content.htm">http://http://help.sap.com/saphelp_nw04/helpdata/en/a5/1a1e3e7181b60ae10000000a114084/content.htm</a>

  • How to modify the standard script in scripts?

    how to modify the standard script in scripts?

    Nagaraju,
    Standard scripts cant be modified.
    Only thing is you need to copy it to z-form and have to do modifications as per ur requirements.
    Here is the procedure to copy standard form to z-form.
    goto SE71 t-code, then select the menu path : <b>Utilities -> Copy from Client</b>
    then it will take to another screen, give the form name as Standard form name, if u r copying a stadard invoice means, type RVINVOICE01 and target form, ZRVINVOICE01. Now press execute button, it will copy the form into 25 languages. Now come back to se71, enter Z-form name and do the required changes.
    Hope this hint may help you, Pls close the thread if u met with correct answer.
    Regards,
    Sujatha.

  • Modifying the Standard Report template

    Hi
    I have a report with 10 columns and 2 of them are wb_id, pa_id. Depending on the search critiria either wb_id or pa_id will be null. I want to highlight the row with some color when I select any row and I am modifying the standard template and
    column template condition is 'Use Based on PL/SQL Expression' and it is
    NVL(#COL02#,0) = NVL(:GLOBAL_WB_ID,0). But when I run the report it is giving the error that encountered # wherea as expecting.......
    Thans a lot.

    Hi,
    I have a report page uses the following block of pl/sql as its source.
    This calls a function by passing page items and this functions returns sql query.
    DECLARE
    V_SQL VARCHAR2(4000);
    BEGIN
    V_SQL := WF_PCK02.search_wb_pa(
    :P1000_WB_ID,:P1000_PA_ID,:P1000_RIVER_NO,:P1000_GENRE,:P1000_LOCATION,:P1000_WATER_DEPENDENT,:P1000_BASELINE,
    :P1000_NBT_PRESSURE_TYPE_ID,:P1000_PURPOSE,:P1000_NBT_SIC_DESC,:P1000_ACTIVITY_DESC,:P1000_NBT_MORPH_ACTIVITY,
    :P1000_SW_ASSET,:P1000_ORDER_BY,:P1000_R1);
    RETURN V_SQL;
    END;
    Now if user is searching for water bodies the results look like this.
    10317 - Allt Ceitlein SURFACE WATER River Y 2a 2b N N
    10318 - Allt a Chaorainn SURFACE WATER River Y 2b 2b N N
    10319 - River Coupall SURFACE WATER River Y 2b 2b Y N
    10320 - Allt a Bhiorain SURFACE WATER River Y 2b 2b Y N
    if the user is searching for PAS the results look like this.
    - UKS7992310 Lochs Long and Goil SHELLFISH WATER - Y 1a 9z N N
    - UKS79923100 Ulva SHELLFISH WATER - Y 1a 9z N N
    - UKS79923101 Ura Firth SHELLFISH WATER - Y 1a 9z N N
    - UKS79923102 Voe of Clousta SHELLFISH WATER - Y 1a 9z N N
    - UKS79923103 Wadbister Voe SHELLFISH WATER - Y 1a 9z N N
    - UKS79923104 Inner West Loch Tarbert SHELLFISH WATER - Y 1a 9z N N
    I had written a java script to select the current row, and page refreshes when I click
    any where on the row and displays the display item saying that
    currently selected id is 10317
    or
    Currently selected id is UKS79923100
    and also assigns the 10317 to GLOBAL_WB_ID or UKS79923100 to GLOBAL_PA_ID
    Now my user want to change the color of the currently selected row.
    For this I am trying to change the report template like this
    Column Template 1
    <td class="t15data"#ALIGNMENT# style="background:#d1e2f3">#COLUMN_VALUE#</td>
    Column Template 1 Condition
    NVL(#2#,0) = NVL(:GLOBAL_WB_ID,0);
    BUT
    it is giving the following error.
    Encountered the symbol "<" when expecting one of the following: ( ) - + case mod new not null others table avg count current ........................
    ERR-1025 Error processing PLSQL expression. :GLOBAL_WB_ID = NVL(10317,0);
    Then I changed the condition to substitute the #2# in single quotes like this.
    NVL('#2#',0) = NVL(:GLOBAL_WB_ID,0);
    BUT it is giving this error
    Encountered the symbol "10317" when expecting one of the following: ( ) - + case mod new not null others table avg count current ........................
    ERR-1025 Error processing PLSQL expression. :GLOBAL_WB_ID = NVL('10317',0);
    I am unable to understand where the error is coming from.
    Please help me.
    10317 is the first row of the result set.
    Thanks a million in advance.

  • How to Modify the standard layout set for Sales Order

    Hi all,
    Do we have any sap defined standard to modify the sales order,if no How to Modify the standard layout set for Sales Order,an also plz send me the step by step procedure for the same.
    Thanks in advance
    Santosh R

    Hi, Dear Ferry Lianto,
    Thank you very much.
    Commonly I know the total pricing procedures.
    But, would you please tell me how to control the CURRENCY for the subitem of a condition type as follows?
    For example, I can see the following kind of
    contents in the Tab:condition of a sales order:
    PR00     Price     130.00000      TEST     100
         Gross Value     20.12      USD     100 <-how to
         Discount Amount     0.00      USD     100
         Rebate Basis     20.12      USD     100
         Net Value for Item     20.12      USD     100
         Net Value 2     20.12      USD     100
         Net Value 3     20.12      USD     100
    VPRS     Cost     27.22      HKD
         Profit Margin     16.61      USD
    The currency of PR00:price can be controlled via tcode VK12; but how to control the currency of its subitem such as gross value, discount amountm, net value for item, net value 2, & net calue 3...
    Thanks and regards.

  • Who modified the  standard report

    Hi,
      How can i find out who modified the  standard report in my server,guide me for the same.
    Thanku

    SE38 -> Enter report -> Mark Attributes -> Display  -> Last changed by.
    Regards
    Juan

  • MODIFYING THE STANDARD TOOLBAR

    HI,
    How can I modify the standard toolbar buttons? is this contained in the mmb or a different file?
    thanks

    Hello,
    <p>Download the corresponding .mmb files:<br>
    menudef.mmb<br>
    menudefs.mmb<br>
    Then you can open them in the menu editor and apply the changes needed.</p>
    Francois

  • Add a custom event wihtout modifying the standard in a component controller

    Hello,
    We are currently working on an enhancement in the DPR_SEARCH component. We added through an enhancement a custom button, with a specific action. Then we would like to fire an event to other components (cross-controllers interface), but we are not able to add the event definition in the DPR_SEARCH component controller, wihout modifying the standard.
    Does anyone know if it's possible?
    Thank you.
    Matthias

    Seems not possible...

  • How to modify the standard table

    plzzzzz answer my qestion.
    how to modify the standard table?
    in my knowedge we have the accese key is it correct or worng

    Hi
    <b>The system asks for access key only of two reasons:</b>
    1) You may be having problem of access rights. You would have to contact basis peopl.
    2) You may try to name an object not complying with the rules. You may have to check with the same.
    the process of getting access key is
    <b>the steps to get access key</b>
    you can also try via transaction OSS1
    In your Inbox, click on 'Registration', then on 'Register Objects', then you will have to choose your installation and give details about your object.
    The details you can get by going to your object and clicking on 'Change' - the pop-up screen which asks you for the access key gives you all the details you need to fill in on OSS1 to get your key.
    <b>or</b>
    U can get Access key from www.service.sap.com
    After getting into the site,select quicklinks, then click s to goto SSCR, in
    that select registration,
    after giving the proper details, u can get the access key
    <b>or</b>
    on sap support portal (sapnet)
    --> key & request
    ---> register SSCR key
    ---> registration
    ---> register developper
    and then choose your rigth installation number
    you can get the access key in this way
    <b>reward if usefull</b>

  • Modify the standard segment value

    Hi Experts,
    I have a piece of code to modify the standard idoc segment value.
            wa_idoc_data_mon-segnam = c_segale_e1edl24.
            wa_in_e1edl24 = idoc_data-sdata.
            wa_in_e1edl24-matnr = wa_in_e1edl24-matnr+11(7).
            wa_idoc_data_mon-sdata = wa_in_e1edl24.
           MODIFY idoc_data FROM wa_idoc_data_mon INDEX g_indx.
    This modify statement works but it will change the normal structure of idoc type as we have in WE30 and put the status in RED.
    If i use transporting sdata then it will not modify the material to last 7 char.
    Thanks,
    Sahil

    Hi,
    It's not advisable to modify the standard tables through program. If you want you can do using MODIFY.
    MODIFY database_table FROM TABLE itab.
    Thanks,
    Sri.

  • How to Extract Data from IT 0025 and Modify the layout for Printing

    Hi All,
    Query----> My client has a requirement to output the appraisal data in a given format from IT 0025. (The entire appraisal done for the employee)
    I would like to know from where this data will be picked up … is this data stored in some cluster table and how can we change the layout for printing in the desired format?
    Note: PA and PD is Integrated. When we create appraisal in IT 0025 no record gets created in PA0025, in which table does the record gets created and how to retrieve the data?

    hello,
    normally stored in pa0025.
    are you using the old or new appraisal system?
    if you are using the new one. its not stored in pa0025 it is done with relationships..
    regards
    stefan

  • Can we modify the standard AOL Message with custom Message in Seeded Page?

    Hi,
    I have a requirement to change AOL Message with custom Message in Seeded Page.
    In a seeded OAF page when a user clicks on a submit button a standard AOL Processing Message is populated.
    I Need to change the Standard Message and call Custom Message.
    Did controller extension and found that both the messages are populating.
    called the code after super and tried to call before super also.
    Did any one face this issue and resolved it. Kindly provide the solution.
    Regards
    Chaitanya

    Hi Gyan,
    I have tried by extending a sample custom controller.
    Below is the code of TestCO calling create message
      public void processFormRequest(OAPageContext pageContext, OAWebBean webBean)
        super.processFormRequest(pageContext, webBean);
          OAApplicationModule am = pageContext.getApplicationModule(webBean);
          if (pageContext.getParameter("Test") != null)
              OAException confirmMessage = new OAException("AK", "FWK_TBX_T_EMP_CREATE_CONFIRM",    null,
              OAException.CONFIRMATION, null);
              pageContext.putDialogMessage(confirmMessage);
      }Then I extending the TestCO to XXTestCO and it is calling Update Message
        public void processFormRequest(OAPageContext pageContext, OAWebBean webBean)
          super.processFormRequest(pageContext, webBean);
            OAApplicationModule am = pageContext.getApplicationModule(webBean);
            if (pageContext.getParameter("Test") != null)
                OAException confirmMessage = new OAException("AK", "FWK_TBX_T_EMP_UPDATE_CONFIRM",    null,
                OAException.CONFIRMATION, null);
                pageContext.putDialogMessage(confirmMessage);
        }got below Confirmation
    Confirmation
    Employee &EMP_NAME with the number &EMP_NUMBER has been created.
    Employee (&EMP_NAME) has been updated.
    Tried below approach also calling the message before super class
        public void processFormRequest(OAPageContext pageContext, OAWebBean webBean)
            OAApplicationModule am = pageContext.getApplicationModule(webBean);
            if (pageContext.getParameter("Test") != null)
                OAException confirmMessage = new OAException("AK", "FWK_TBX_T_EMP_UPDATE_CONFIRM",    null,
                OAException.CONFIRMATION, null);
                pageContext.putDialogMessage(confirmMessage);
          super.processFormRequest(pageContext, webBean);
        }got below Confirmation
    Confirmation
    Employee (&EMP_NAME) has been updated.
    Employee &EMP_NAME with the number &EMP_NUMBER has been created.
    My requirement is to print only the message which I have kept in Extended controller i.e. Update message
    Regards,
    chaitanya

Maybe you are looking for

  • Memory Leak in cwui.ocx (graph control)

    Hi! I'm using cwgraph control (cwui.ocx V2.0.3.413) in VB6. Once I have assigned the graph properties to set UI appearance, I sent 2d arrays to update the plot only (either .plotY or .ChartY, doesn't matter). The application then consumes more and mo

  • HT1535 Removing music from iPad

    I Share an iTunes account with my husband and somehow his purchased music has ended up on my iPad.  I cannot get rid of it.  I have deleted it, but it still resides on the iPad.  I have turned of the "show all music" button, I have turned off the "au

  • Vector shape- independ on pixel grig snapping

    Hi Guys I am wondering. I wanna use to shapee tool or whatever- ractangle tool- Generally said I need to create some shape. But at photoshop is everything snap my new shape to pixels. Like in the backroground is some invisible pixel grids and everyth

  • Copy UI elements between views

    Hi! I hope this will be easy for you, but for me it's unknown yet. I have 5 views within the same WD component, and these views have a section, which supposed to be the same within all 5 views (display some additional data). They are working from a C

  • Excise of Sales Return

    D Friends, In case of Sales Return the doc flow is VA01-> VL01N (PGR)-> VF01 (Credit for returns). We don't do J1IIN. So pls tell how the Excise is reversed. Thanks a lot.