Printing Procurement Terms and Conditions in custom BIP report

We are developing a custom BIP report for printing Purchase Agreements. We created new Data model and a new report template that matches the customer's requirements. However, we are not able to print the Terms and conditions in this custom report.
The custom report is placed in the Shared Folders/Custom/Procurement/Purchasing folder and we included the following code at the beginning of the custom report template -
<?import: xdoxsl:///Procurement/Purchasing/prc_po_terms_and_conditions_sub.xsb?loc=${_XDOLOCALE}?>
And at the end, where we want to print the Terms and Conditions, the following code -
<xsl:apply-templates select=".//TermsAndConditions"/>
But the Terms and conditions are not printed. Can someone please help out and point to me where the mistake is?
Thanks
Lakshmi

I am not an expert on BIP and will ask a colleague to comment. Took a look at the documentation and noticed some small differences, not sure if these have any impact, but you could try them while waiting to triage the issue:
The documentation does not have space in the import statement i.e. "import:xdoxsl" while your example has a space "import: xdoxsl"
To render the content the documentation states to use "<?call-template:template_name?>"
Jani Rautiainen
Fusion Applications Developer Relations
https://blogs.oracle.com/fadevrel/

Similar Messages

  • How to print the Terms and Condition page ine the sap-script

    Hi experts,
                             i got the requirement that how to print the Terms and condition page in the script,i have the three pages, having the same main window, in the last of the main window(all three pages)  i have called the hard coded text(i.e so10 text), but when i am displaying the output  data get printed in the first page but i am getting the second page heading on the top of  the terms and condiions page. In all the three pages i  have the same main window, if i  make change in any window i will affect all the other main  windows.  so please suggest me how i need to go.HOW TO GET GRID OF THE TEXT ON THE TOP OF THE SECOND PAGE OF THE TERMS AND CONDITONS.
    like this i have called in the MAIN WINDOW
    /E : LAST ( IN ALL THREE PAGES)
           INCLUDE ZSD_INVOICE_TERMS TEXT OBJECT TEXT LANGUAGE EN.
    IN THE TCODE SO10
    NEW PAGE TERMS.
    1) TERM MS AND CONDITONS  TEXT.................................................
    FIRST->NEXT, NEXT->NEXT,,   TERMS--->TERMS.

    Hi,
    1. Create a new page by Name : LAST
    2. Identify the text element which will be the last element in the form in the debug mode.
    Mostly Ex: SUM, TOTAL, LAST etc.,
    3. the page linking should be
    First --> Next
    Next --> Next
    4. In the Text element identified in the step 3.
    Write the following code
    /: NEW PAGE  LAST
    /: INCLUDE the standard text created for the terms and conditions in SO10
    Check the syntax for the command but the logic will be the same.
    It should resolve your problem.

  • Print Terms and conditions on Back side in Smart Forms

    Hi All,
    How can we print Terms and conditions on back side of last page. we are using SAP Smart Forms to print Packing Slips now we need to print the terms and conditions on back side of last page. who can we do this ... ?
    I have created 2 pages first page and Last page i have selected last page as  next page for First page and  vice vis and selected duplex printing for first page print option.
    Now the problem is the terms and conditions are printed on all the pages but not on the last page. for example if i have 5 pages then all the 4  pages are printed on front and back but the last page(5) is printed only on the front side but not on the back and if we print only 1 page then only front page is printed and no back side is printed.
    please let me know what else need to be done in order to print the terms and conditions on the back side of last page.
    Thanks,
    Praveen Chindam.

    Hi,
    There is quite a simple solution. We have exactly the same requirements for our invoices.
    Create 3 pages in the Smartforms, e.g. FRONT, BACK and LAST.
    FRONT has print mode "D" (duplex) and next page "BACK"
    BACK has print mode " " (unchanged) and next page "FRONT"
    LAST has print mode " " (unchanged) and next page " " (blank)
    BACK and LAST are identical apart from that, and do not have a MAIN window - they just contain the T&C in a secondary window.
    At the very end of the MAIN window on the page FRONT, insert the command NEW PAGE <LAST>.
    This will give you a print out that is
    FRONT, BACK, FRONT, BACK,....FRONT, BACK, FRONT, LAST.

  • Terms and Conditions to display in the last page of Script

    Hi Experts,
    My requirement is to print the Terms and Conditions in the Last Page of a PO. so for that, I have created one LAST page. Previously i have FIRST Page and Next Page in the Script. In the LAST Page it has to windows. One is for Logo and another one is for Terms and Conditions. I am trying to print to Terms and Conditions through a Standard Text ( Created in SO10) in the Terms and Conditions window.
    The page flow are like FIRST-->NEXT, NEXT>LAST, LAST---->LAST
    Please guide me how shall i proceed to get the output. It would be better if we get the output with out doing any change to the driver program.
    Thanks,
    Priyabrata

    Dear Priyabrata
    The page flow should  like FIRST-->NEXT, NEXT>NEXT, LAST---->
    And call your page in main window at last element.
    This will surely solve your problem.
    Regards,
    Vijay

  • Where to store the PO: Terms and Condition file For printing it in PO

    Hi All,
    I want to add Terms and condition in my PO: Print output which is coming in PDF. I got the Profile name, which is --PO: Terms and Conditions filename. But i am not getting where i have to store the file on server and what i need to give the value for this profile. I had customized the PO_STANDARD_XSLFO template. Now only remaining thing is that i want to add the Terms and Conditions.
    Should I hardcode it in the XSL-FO Template???
    OR what value i should give to this profile option?
    Regards
    Ravi

    Ravi
    Check the thread
    How to add Terms and Conditions in Standard PO XSL-FO template
    Vicha

  • Print multiple pages of text module as Terms and Conditions at end of PO

    Hello,
    I have a text module that contains a two page terms and conditions to print as the last pages of a PO.
    I have three pages
    FIRST-->Calls NEXT
    NEXT--> Calls NEXT with a command to LAST in the MAIN window
    LAST-->Calls Last, has a MAIN Window and a regular window which calls text module
    The text module only prints on the first page in the end of the PO(i.e.last page). It does not flow or create an additional page for the left over text in the text module.
    Please advice.

    Hi,
    We have same situation. What I did was to introduce a new element in MAIN WINDOW ( by the way only FIRST & LAST pages are sufficient, no need to have additional page for printing Terms & Conditions ) in that element just have 2 lines viz.:
    /:   NEW-PAGE                                     * Above command so that terms & conditions will always start from a new page.                       
    /:   INCLUDE ZPO_TERMS_AND_CONDITIONS OBJECT TEXT ID ST LANGUAGE EN      
    If terms & conditions are more than a page it will automatically be printed on the next page. ( In our case currently we have got 5 pages of terms & conditions ).
    At the end of the program i.e. When you are finished with printing of a PO just 'WRITE' this element using WRITE_FORM.
    I hope this helps,
    Regards
    Raju Chitale

  • Printing terms and conditions for a report in last page

    Hi all,
    I am facing a problem in reports 6i, I have PO printing Report with layout to be printed in two pages first part will be printed with po details, and for every po number after printing all the details for that purchase order, in the last page i have to print terms and conditions can any one help me out
    Regards
    Vizith

    Hello,
    You should post also the report type (Tabular, Group..etc) you are trying to create also. Because without that like these type of requirement can not be suggested.
    I can only make guess that you are creating report as Group Above and group frame is for PO. Then just put your terms and conditions frame after the detail frame inside the group frame. Then it will print after completing the details for each PO.
    -Ammad

  • Printing Terms and Conditions for each Purchase order in the RDF output

    Hi All,
    Present i have an RDF report with the registered concurrent program. when i run this concurrent program i am getting the terms and conditions at the end of the purchase orders only once(for example 10 purchase orders). Now the requirement is to get this terms and conditions printed for each purchase order. The output is in PDF format. It's an 11i RDF report. Can any one suggest me the methods how to do this? Please give me reply as soon as possible.
    Thankyou in advance
    Regards,
    Polimera

    Hi, Polimera
    Welcome to OTN
    Present i have an RDF report with the registered concurrent program. when i run this concurrent program i am getting the terms and conditions at the end of the purchase orders only once(for example 10 purchase orders). Now the requirement is to get this terms and conditions printed for each purchase order. The output is in PDF format. It's an 11i RDF report. Can any one suggest me the methods how to do this? Please give me reply as soon as possible.
    Take a fixed frame inside the purchase order master repeating frame and place your terms and condition inside the fixed frame.
    Hope this helps
    If someone response is helpful or correct, please mark is accordingly

  • Terms and Conditions in pdf output but not printing

    Hello all,
    I had this similar issue with my cover letter, but I could move the call to xml control file and that resolved the issue. But with T&C, I need to print them on back of every page and I've used the logic from Tim's blog (http://blogs.oracle.com/xmlpublisher/2007/10/here_are_my_terms_conditions.html, thanks Tim!). It works great if I have a simple call to the T&C subtemplate. I have to check for the conditions though, and that's when my printed/emailed output contains blank for T&C. Output of the report has alternate pages of T&C. Here's my call to the subtemplate:
    <?if:(//DCRD_OKSQUOTE_GROUPED/CS_PRINT_ARTICLES=’Y’) and (//DCRD_OKSQUOTE_GROUPED/LIST_G_CONTRACT/G_CONTRACT/CF_ARTICLE_TYPE=’ONCALL’)?><?call:OnCallArticle?><?end if?><?section:force-page-count;'end-on-even-layout'?><?section:xdofo:blank-on;'even-skip-page-count'?>
    The version that works is:
    <?call:OnCallArticle?><?section:force-page-count;'end-on-even-layout'?><?section:xdofo:blank-on;'even-skip-page-count'?>
    Appreciate all the help.
    TIA,
    Alka

    Just before the end of your for-each loop make a call to a sub-template
    Your sub-template will have the terms and conditions.
    regards
    Jorge

  • Need to Print "Terms and conditions" on every back side of the page

    Hi All,
    i have requirement like need to print "Terms and Conditions" text on every back side of page using adobe form.
    i have tried options like created created 4 pages in master page and defined flow content page1->page3, page2->page4(terms and conditions). but when we execute less items of the billing number got the 3 pages i.e page1 having item data, remaining 2 pages displays the  "terms and conditions" text.
    if any worked on the same kind of requirement please let me know and it would be great helpful to me.
    Thanks,
    Ramana

    Hi,
    One of the option is that you can create 3 pages in the Smartforms, e.g. A, B and C.
    A has print mode "D" (duplex) and next page "B"
    B has print mode " " (unchanged) and next page "A"
    C has print mode " " (unchanged) and next page " " (blank)
    B and C do not have a MAIN window - they just contain the Terms & Conditions  in a secondary window.
    At the end of the MAIN window on page A, insert the command NEW PAGE <C>.
    This will give you a print out that will be in a sequence
    A,B,A,B,...A,B,A,C.
    Regards,
    PP

  • Unable to print all the terms and conditions pages in the PO.

    Reqt: The PO includes terms and conditions as the last page.
    Currently the program only prints out the first page of the Terms and Conditions regardless if it is one or two pages.
    Only one page(image) is displaying in the last page of smartform.
    These terms and conditions pages are passing as graphics(images), We are passing the GRAPHICS under the TABLES Main Area in LAST page WINDOW.
    But only one page (image) is displaying, but not others.
    Can anyone help to solve the above issue.
    Regards,
    Kishore

    you can create your terms n condition texts in SO10(standard text). THEN
    If u r using smartform then do this:
    goto the general attributes of a text element. From the drop down menu, convert the text type to include text.
    The just as in read_text fm pass the parameters
    text name, text object, text id and language.
    Every thing will be handled automatically
    AND if its a sap script then:
    To include the contents of another text into the current text, use the INCLUDE control command. SAPscript still treats the text to be included as a separate text. The text is copied over only at the point at which the output is formatted.
    Thus the use of the INCLUDE command always ensures that the most current version of a text is included into the output, since the text is not read and inserted until the output is formatted.
    Syntax:
    /: INCLUDE name OBJECT o ID i LANGUAGE l PARAGRAPH p
    NEW-PARAGRAPH np
    You must specify the name of the text to be inserted. It can be up to 70 characters long. If the name of the text contains spaces, then you must enclose it in quotes as a literal value. You can, alternatively, specify the name via a symbol. All remaining parameters in the INCLUDE command are optional. If an optional parameter is not specified, then SAPscript uses default values as applicable for the calling environment.
    /: INCLUDE MYTEXT
    The text MYTEXT is included in the language of the calling text.
    /: INCLUDE MYTEXT LANGUAGE 'E' PARAGRAPH 'A1'
    The text with the name MYTEXT and the language E is included, regardless of the language of the calling text. The paragraph format A1 will be used as the standard paragraph type for this call.
    Optional parameters:
    u2022 LANGUAGE
    If this parameter is not specified, then the language of the calling text or the form language are used for the text to be included. If the language is specified, then the text will be fetched in this language, regardless of the language of the calling text.
    u2022 PARAGRAPH
    The text to be included is formatted using the style allocated. The PARAGRAPH parameter can be used to redefine the standard paragraph for this style for the current call. All *-paragraphs in the included text will then be formatted using the paragraph specified here.
    u2022 NEW-PARAGRAPH
    The first line of the text to be included will be given this format indicator, as long as it is not a comment or command line. If the optional PARAGRAPH parameter (see above) is not specified, then all *-paragraphs of the included text will also be formatted using the paragraph specified in the NEW-PARAGRAPH command.
    u2022 OBJECT
    In order to completely specify a text, information about the text object is also required. There are a number of restrictions and other rules that depend on the object type of the calling text:
    o Any kind of text can be included in a form. If no object is specified, then TEXT will be used (standard texts).
    o In the case of a document text (DOKU object), you can include only document texts. This object type is also assumed if no object is specified in this environment.
    o Only hypertexts and document texts can be included in a hypertext (DSYS object). If the OBJECT parameter is missing, then DSYS is used as the default value.
    o In the other kinds of text you can include only standard texts (TEXT object), document texts or hypertexts. If there is no specification, then the default object is TEXT.
    u2022 ID
    The text ID is a part of the text key, which permits further text objects within a given object. If no ID is specified, then the default include ID is used from the TTXID table for the calling text. If there is no entry in this table, then the text ID of the calling text is used.
    The following consistency check is applied both to the ID and the object:
    u2022 All text IDs are allowed in a form.
    u2022 In document texts, only document texts may be included that have text IDs TX (general texts) or UO (authorization objects) and also other document texts with the same text ID as the calling document text.
    u2022 In DSYS texts, all DSYS texts can be included, whatever ID they have. Document texts to be included must have one of the IDs TX or UO.
    u2022 Into the other texts, standard texts with any allowable text ID, DSYS texts with all IDs, and document texts with the IDs TX and UO can be included.
    The INCLUDE command returns a status code in the SAPSCRIPT-SUBRC symbol:
    u2022 0: the text include was successful.
    u2022 1: the command could not be executed because it contained syntax errors.
    u2022 2: the rules governing the text to be included were not followed (see above).
    This value cannot occur if the command is used in a SAPscript form.
    u2022 4: the specified text could not be found.
    Once you define the standard text in SO10 you can include text by the above process or use the function module read_text:
    .............IN Smartform.......
    CALL FUNCTION 'READ_TEXT'
    EXPORTING
    CLIENT = SY-MANDT
    id =
    language =
    name =
    object =
    ARCHIVE_HANDLE = 0
    LOCAL_CAT = ' '
    IMPORTING
    HEADER =
    tables
    lines = i_tab
    EXCEPTIONS
    ID = 1
    LANGUAGE = 2
    NAME = 3
    NOT_FOUND = 4
    OBJECT = 5
    REFERENCE_CHECK = 6
    WRONG_ACCESS_TO_ARCHIVE = 7
    OTHERS = 8
    So you want to know how get the parametrs right. This is how"
    In SO10 goto goto menu -> header
    here u will find all the required parametrs.
    The text lines will be returned in the i_tab.
    U can loop at this itab and display the data.
    Reward points if hepful.

  • How to create Standard text for terms and conditions of po print form

    Hi anybody,
      I want create Terms and condtions inside smartforms PO FORM , how do i create terms and conditons and how use font size? I don't want hard code inside smartforms , I will create seperate texts for terms and condition after i include inside smartform.
    How i will do ? anybody please tell me.
    Thanks
    S.Muthu.

    Hi Subramaniyan,
                             U an create an include text node in your smartform.And terms and conditions is the header level text,so i suppose you have to give the inputs as follows :
    Text Name         &**-EBELN&
    Text Object       EKKO
    Text ID              xxxx
    Language          &**-SPRAS&
    is the data at your end .To simplify more follow the following.
    1> go to your purchase order from me23n
    2> open any purchase order and click on the terms and conditions text.
    3> go to GOTO option of the text.and click on the HEADER.
    4> U will find the attributes of the text which you will have to pass to the Include text in your smartforms.
    The long texts arestored in STXH table.
    Reward Points if useful.
    Cheers,
    Deepthee Kasal

  • Not meet term and condition

    my problem is begining when i add my account and my credit card . first its work normally i can purchase anything but than after a few day , show message "your purchased could not be completed please contact itunes support to completed thi transaction" than i contact them , and like a magical happend the account are back normal again i can do purchased for a few day than after it happened again and show the same message than i contact again and tell me that my account not meet the term and condition, *** i even dont change anything on my account than the just like playing me ! i had spent 20$ : Rp.200.000 idr they dont give me anything its make me very mad !!!

    Hi
    terms and conditions are static text hence could be hard coded in form print program. Give the requirement to your ABAPer such that the text (terms and conditions) provided by your customer should be printed at bottom of your invoice.
    Any ABAPer with forms knowledge could do it.
    try and revert

  • Separate PO terms and conditions in different scenarios

    Hello,
    We're on 12.1.3 and currently do not attach terms and conditions to our purchase orders when they are emailed to suppliers.
    However our circumstances are changing and our new management would like to be able to attach DIFFERENT terms and conditions to emailed purchase orders depending on whether they are for goods or services.
    I have found out how to set up the terms and conditions here: How To Create and Use Terms and Conditions For E-mailed Purchase Orders [ID 179932.1]
    However is there any way you can think of where I could attach different files depending on the procurement category (or any other scenario)?
    Many thanks,
    Hazel

    Hi Hazel,
    In this case you can define 2 "To Supplier" type attachments mentioning the terms and conditions for Good and Services and attach them to the PO header accordingly.
    The details of the attachment will be printed on the PO.
    Thanks,
    PS.

  • Terms and conditions not getting displayed on the last page

    Hi All,
    I have to display a smartform, on the front side of the page i have to display material details and on the back side of the page i have to display terms and conditions. I' am unable to print the material details and terms and conditions in duplex mode, but on the last page only material details are getting displayed, terms and conditions are not getting displayed.
    Can you please help me how to make the terms and conditions get printed on the back side of the last page.
    Thanks,

    I'm a bit confused by the statement "I' am unable to print the material details and terms and conditions in duplex mode".
    I suppose you meant to say "I am able to print the material details and terms and conditions in duplex mode", correct?
    If the problem is that on the last form page, the T&C is not getting printed on the back of the form, you could force the T&C page by using a flow logic command as the very last element of the main window, which gets processed when all the data is already output. For the command, use the 'Go to New Page' and specify the page name for the Terms & Conditions.
    In case this causes an issue that the last page is printed twice (since the T&C page is likely defined with the next page being NEXT_PAGE), then copy the already existing T&C page, call it LASTPAGE and leave the Next Page attribute empty.

Maybe you are looking for

  • Unable to use more than one processor group for my threads in a C# app

    Hi, I set my .Net 4.5 (or 4.5.1) App.Config to: <?xml version="1.0" encoding="utf-8"?> <configuration> <runtime> <Thread_UseAllCpuGroups enabled="true"></Thread_UseAllCpuGroups> <GCCpuGroup enabled="true"></GCCpuGroup> <gcServer enabled="true"></gcSe

  • Debit/Credit memo

    I am confused whenever i come across the term Debit/credit.... here in MM point of view where we use this Debit memo and credit memo.. I am new to this pls tell me the following steps how to do that debit/credit memo..

  • Need to generate a script which will sends an email to users reg cube statu

    Hi All, Once the cube gets loaded successfully an email has to sent out automatically thru maxl to users saying that cubes has loaded as off today's date. Could you please help me is their any script available which will automatically sends an email

  • Same logiical system for 2 Business Service

    Hi All,           Can two business services use the same Logical system name. Regards, XIer

  • XSQL: how to specific contentType to return?

    Hi I am trying to replace my JSP code with XSL/XSQL. I want to specify the content type in XSL like I did in the following working JSP. <?xml version="1.0" encoding="UTF-8"?> <%@ page contentType="application/output-format;charset=UTF-8" %> I have tr