MDM outputs for PI

I'm currently working on an installation of MDM where outputs will be injested and moved by PI, thus a requirement for files to be written as 664 instead of the default 644. However, I'm trying to find a solution without changing <sid>adm's umask from 0022 to 0002.
Is there a method within MDM that would allow me to change the permissions of the output files prior to PI importing, and then allowing it to move them?
Please note, I'm not an MDM developer, I'm the system os owner trying to help find a solution.
Thank you.

Hey,
Don't change the umask, if you do it will change file permission in all the places where this MDM id is being used to write the file.
You have 2 options:
1. MDM and PI should not work through file based transmission. PI should use MDM Adapter to pick/drop files from MDM server.
MDM Adapter works at native level and sets up direct connection to Import and export folders of MDM. Please ask your PI developer to use MDM Adapter instead of File Adapter. This is the preferred way.
2. Define a logical path in PI server which points to MDM Import and Export folders, you will need to mount MDM directories for this. Once the directories are mounted, PI will use NFS communication, they have an option to process read only files.(only need group permission of 4 for this). PI will also be able to delete the file with Group permission 4.This is not the preferred way since it requires more work and is not the best solution.
Thanks
Aamir

Similar Messages

  • Excel Output For Standard Report In R12

    Hi Experts,
    My Client wants Excel Output for Standard Reports ( ex:-Open Purchase Order Report (by cost center)_xml)
    I changed the default output to Excel in Template of xml publisher administrator Responsibility.
    Now it is showing the Excel output, but The layout of report is not same as layout which in text output of standard report.
    Please guide me is there any solution to develop the reports layout in ms-excel using xml file rather than rtf template.
    Thanks
    Durga.

    Hi Alex,
    Thanks for your replay.
    Generating the new rtf template which is same as standard layout is difficult task for us. Actually we have 120 reports which have same requirement.
    Is there any other solution for this . please guide me
    Thanks
    Durga
    Edited by: 805567 on Jan 23, 2012 12:33 PM

  • CANCEL_FLAG in PO Output for Communication

    I'm trying to build logic into an RTF template for the "PO Output for Communication" report to handle cancelled lines. The cancel_flag can be set to "Y" at any of 3 levels - PO Header, PO Line and PO shipment. The field is called the same thing (cancel_flag) at all 3 levels.
    In my rtf template, I have a row in a table to display each PO line using the for-each clause. I do not want to display lines which are cancelled (ie where CANCEL_FLAG (at line level) = 'Y'.
    How do I reference the CANCEL_FLAG specifally at line level (not header, and shipment line)??
    My xml is as follows:
    <?xml version="1.0" encoding="UTF-8"?>
    <PO_DATA>
    <TYPE_LOOKUP_CODE>STANDARD</TYPE_LOOKUP_CODE>
    <SEGMENT1>33832</SEGMENT1>
    <REVISION_NUM>0</REVISION_NUM>
    <PRINT_COUNT>0</PRINT_COUNT>
    <CREATION_DATE>10-DEC-2009 17:42:27</CREATION_DATE>
    <DOCUMENT_BUYER_FIRST_NAME>Happiness</DOCUMENT_BUYER_FIRST_NAME>
    <DOCUMENT_BUYER_LAST_NAME>Makeleni</DOCUMENT_BUYER_LAST_NAME>
    <DOCUMENT_BUYER_TITLE>MS.</DOCUMENT_BUYER_TITLE>
    <DOCUMENT_BUYER_AGENT_ID>4588</DOCUMENT_BUYER_AGENT_ID>
    <CONFIRMING_ORDER_FLAG>N</CONFIRMING_ORDER_FLAG>
    <ACCEPTANCE_REQUIRED_FLAG>N</ACCEPTANCE_REQUIRED_FLAG>
    <CURRENCY_CODE>ZAR</CURRENCY_CODE>
    <CURRENCY_NAME>Rand</CURRENCY_NAME>
    <PAYMENT_TERMS>30 Days 2.5% Discount</PAYMENT_TERMS>
    <VENDOR_NUM>LAP005</VENDOR_NUM>
    <VENDOR_NAME>LAPACK (PTY) LTD</VENDOR_NAME>
    <VENDOR_ADDRESS_LINE1>P O Box 1082</VENDOR_ADDRESS_LINE1>
    <VENDOR_CITY>Isando</VENDOR_CITY>
    <VENDOR_STATE>RSA</VENDOR_STATE>
    <VENDOR_POSTAL_CODE>1600</VENDOR_POSTAL_CODE>
    <VENDOR_COUNTRY>South Africa</VENDOR_COUNTRY>
    <VENDOR_PHONE>9741531</VENDOR_PHONE>
    <SHIP_TO_LOCATION_ID>71695</SHIP_TO_LOCATION_ID>
    <SHIP_TO_LOCATION_NAME>23M CS Isando Personal Care</SHIP_TO_LOCATION_NAME>
    <SHIP_TO_ADDRESS_LINE1>23M CS Isando Personal</SHIP_TO_ADDRESS_LINE1>
    <SHIP_TO_ADDRESS_LINE2>22 Purlin Road</SHIP_TO_ADDRESS_LINE2>
    <SHIP_TO_ADDRESS_INFO>Isando, GP 1600</SHIP_TO_ADDRESS_INFO>
    <SHIP_TO_COUNTRY>South Africa</SHIP_TO_COUNTRY>
    <BILL_TO_LOCATION_ID>78573</BILL_TO_LOCATION_ID>
    <BILL_TO_LOCATION_NAME>Tiger Brands Consumer Manufacturing</BILL_TO_LOCATION_NAME>
    <BILL_TO_ADDRESS_LINE1>P O Box 527</BILL_TO_ADDRESS_LINE1>
    <BILL_TO_ADDRESS_INFO>Paarl, 7620</BILL_TO_ADDRESS_INFO>
    <BILL_TO_COUNTRY>South Africa</BILL_TO_COUNTRY>
    <VENDOR_SITE_ID>95462</VENDOR_SITE_ID>
    <PO_HEADER_ID>711318</PO_HEADER_ID>
    <APPROVED_FLAG>N</APPROVED_FLAG>
    <VENDOR_ID>73269</VENDOR_ID>
    <CLOSED_CODE>OPEN</CLOSED_CODE>
    <ORG_ID>1296</ORG_ID>
    <FIRM_STATUS_LOOKUP_CODE>N</FIRM_STATUS_LOOKUP_CODE>
    <FROZEN_FLAG>N</FROZEN_FLAG>
    <CREATED_BY>7794</CREATED_BY>
    <TERMS_ID>10006</TERMS_ID>
    <RATE_DATE>10-DEC-2009 00:00:00</RATE_DATE>
    <AUTHORIZATION_STATUS>N</AUTHORIZATION_STATUS>
    <LAST_UPDATE_DATE>10-DEC-2009 17:50:02</LAST_UPDATE_DATE>
    <LAST_UPDATED_BY>7794</LAST_UPDATED_BY>
    <SUMMARY_FLAG>N</SUMMARY_FLAG>
    <ENABLED_FLAG>Y</ENABLED_FLAG>
    <LAST_UPDATE_LOGIN>52339081</LAST_UPDATE_LOGIN>
    <CONTERMS_EXIST_FLAG>N</CONTERMS_EXIST_FLAG>
    <PENDING_SIGNATURE_FLAG>N</PENDING_SIGNATURE_FLAG>
    <OU_NAME>CS Consumer National (A90)</OU_NAME>
    <OU_ADDR1>Corporate Hill Office Park</OU_ADDR1>
    <OU_ADDR2>William Nicholl Drive</OU_ADDR2>
    <OU_TOWN_CITY>Bryanston</OU_TOWN_CITY>
    <OU_REGION2>GP</OU_REGION2>
    <OU_POSTALCODE>1768</OU_POSTALCODE>
    <OU_COUNTRY>South Africa</OU_COUNTRY>
    <BUYER_LOCATION_ID>71695</BUYER_LOCATION_ID>
    <BUYER_ADDRESS_LINE1>23M CS Isando Personal</BUYER_ADDRESS_LINE1>
    <BUYER_ADDRESS_LINE2>22 Purlin Road</BUYER_ADDRESS_LINE2>
    <BUYER_CITY_STATE_ZIP>Isando, GP 1600</BUYER_CITY_STATE_ZIP>
    <BUYER_CONTACT_EMAIL>[email protected]</BUYER_CONTACT_EMAIL>
    <VENDOR_FAX>3925820</VENDOR_FAX>
    <TOTAL_AMOUNT>246,321.92</TOTAL_AMOUNT>
    <BUYER_COUNTRY>South Africa</BUYER_COUNTRY>
    <VENDOR_AREA_CODE>011</VENDOR_AREA_CODE>
    <LE_NAME>AI Health Care (Pty) LTD</LE_NAME>
    <LE_ADDR1>Coprporate Hill Office Park</LE_ADDR1>
    <LE_ADDR2>Willima Nicholl Drive</LE_ADDR2>
    <LE_TOWN_CITY>Bryanston</LE_TOWN_CITY>
    <LE_STAE_PROVINCE>GP</LE_STAE_PROVINCE>
    <LE_POSTALCODE>1768</LE_POSTALCODE>
    <LE_COUNTRY>South Africa</LE_COUNTRY>
    <DOCUMENT_CREATION_METHOD>AUTOCREATE</DOCUMENT_CREATION_METHOD>
    <DOCUMENT_TYPE>Standard Purchase Order</DOCUMENT_TYPE>
    <TEST_FLAG>D</TEST_FLAG>
    <DIST_SHIPMENT_COUNT>1</DIST_SHIPMENT_COUNT>
    <DOCUMENT_NAME>Standard Purchase Order 33832, 0</DOCUMENT_NAME>
    <SIGNED>F</SIGNED>
    <AMENDMENT_PROFILE>Y</AMENDMENT_PROFILE>
    <WITH_TERMS>N</WITH_TERMS>
    <IS_ATTACHED_DOC>Y</IS_ATTACHED_DOC>
    <HEADER_SHORT_TEXT>
    </HEADER_SHORT_TEXT>
    <LINES>
    <LINES_ROW>
    <ITEM_REVISION>0</ITEM_REVISION>
    <LINE_NUM>1</LINE_NUM>
    <ITEM_DESCRIPTION>Jar Labelled EA Purity Perf P/Jelly 350ml</ITEM_DESCRIPTION>
    <CANCEL_FLAG>Y</CANCEL_FLAG>
    <UNIT_MEAS_LOOKUP_CODE>Each</UNIT_MEAS_LOOKUP_CODE>
    <ORDER_TYPE_LOOKUP_CODE>QUANTITY</ORDER_TYPE_LOOKUP_CODE>
    <UNIT_PRICE>1.31</UNIT_PRICE>
    <QUANTITY>188032</QUANTITY>
    <PO_HEADER_ID>711318</PO_HEADER_ID>
    <PO_LINE_ID>1198098</PO_LINE_ID>
    <ITEM_ID>114606</ITEM_ID>
    <PRICE_TYPE_LOOKUP_CODE>FIXED</PRICE_TYPE_LOOKUP_CODE>
    <CLOSED_CODE>OPEN</CLOSED_CODE>
    <ORG_ID>1296</ORG_ID>
    <QTY_RCV_TOLERANCE>0</QTY_RCV_TOLERANCE>
    <OVER_TOLERANCE_ERROR_FLAG>WARNING</OVER_TOLERANCE_ERROR_FLAG>
    <FIRM_STATUS_LOOKUP_CODE>N</FIRM_STATUS_LOOKUP_CODE>
    <NEGOTIATED_BY_PREPARER_FLAG>N</NEGOTIATED_BY_PREPARER_FLAG>
    <LAST_UPDATE_DATE>10-DEC-2009 17:42:27</LAST_UPDATE_DATE>
    <LAST_UPDATED_BY>7794</LAST_UPDATED_BY>
    <LINE_TYPE_ID>1</LINE_TYPE_ID>
    <LAST_UPDATE_LOGIN>52339081</LAST_UPDATE_LOGIN>
    <CREATION_DATE>10-DEC-2009 17:42:27</CREATION_DATE>
    <CREATED_BY>7794</CREATED_BY>
    <CATEGORY_ID>1935</CATEGORY_ID>
    <LIST_PRICE_PER_UNIT>1.31</LIST_PRICE_PER_UNIT>
    <TAX_NAME>Std Vat 14%</TAX_NAME>
    <LINE_TYPE>QUANTITY</LINE_TYPE>
    <PURCHASE_BASIS>GOODS</PURCHASE_BASIS>
    <ITEM_NUM>53-60401-</ITEM_NUM>
    <LINE_AMOUNT>246,321.92</LINE_AMOUNT>
    <MATCHING_BASIS>QUANTITY</MATCHING_BASIS>
    <PRICE_DIFF>
    </PRICE_DIFF>
    <LINE_SHORT_TEXT>
    </LINE_SHORT_TEXT>
    <LINE_LOCATIONS>
    <LINE_LOCATIONS_ROW>
    <SHIPMENT_NUM>1</SHIPMENT_NUM>
    <DUE_DATE>22-JAN-2010 00:00:00</DUE_DATE>
    <QUANTITY>188032</QUANTITY>
    <PRICE_OVERRIDE>1.31</PRICE_OVERRIDE>
    <QUANTITY_CANCELLED>0</QUANTITY_CANCELLED>
    <TAXABLE_FLAG>Y</TAXABLE_FLAG>
    <PO_HEADER_ID>711318</PO_HEADER_ID>
    <PO_LINE_ID>1198098</PO_LINE_ID>
    <LINE_LOCATION_ID>1107035</LINE_LOCATION_ID>
    <SHIPMENT_TYPE>STANDARD</SHIPMENT_TYPE>
    <CONSIGNED_FLAG>N</CONSIGNED_FLAG>
    <RECEIVING_ROUTING_ID>2</RECEIVING_ROUTING_ID>
    <ACCRUE_ON_RECEIPT_FLAG>Y</ACCRUE_ON_RECEIPT_FLAG>
    <ORG_ID>1296</ORG_ID>
    <INSPECTION_REQUIRED_FLAG>N</INSPECTION_REQUIRED_FLAG>
    <RECEIPT_REQUIRED_FLAG>Y</RECEIPT_REQUIRED_FLAG>
    <QTY_RCV_TOLERANCE>0</QTY_RCV_TOLERANCE>
    <QTY_RCV_EXCEPTION_CODE>WARNING</QTY_RCV_EXCEPTION_CODE>
    <ENFORCE_SHIP_TO_LOCATION_CODE>WARNING</ENFORCE_SHIP_TO_LOCATION_CODE>
    <ALLOW_SUBSTITUTE_RECEIPTS_FLAG>N</ALLOW_SUBSTITUTE_RECEIPTS_FLAG>
    <DAYS_EARLY_RECEIPT_ALLOWED>0</DAYS_EARLY_RECEIPT_ALLOWED>
    <DAYS_LATE_RECEIPT_ALLOWED>0</DAYS_LATE_RECEIPT_ALLOWED>
    <RECEIPT_DAYS_EXCEPTION_CODE>WARNING</RECEIPT_DAYS_EXCEPTION_CODE>
    <INVOICE_CLOSE_TOLERANCE>0</INVOICE_CLOSE_TOLERANCE>
    <RECEIVE_CLOSE_TOLERANCE>0</RECEIVE_CLOSE_TOLERANCE>
    <SHIP_TO_ORGANIZATION_ID>1282</SHIP_TO_ORGANIZATION_ID>
    <CLOSED_CODE>OPEN</CLOSED_CODE>
    <ENCUMBERED_FLAG>N</ENCUMBERED_FLAG>
    <APPROVED_FLAG>N</APPROVED_FLAG>
    <LAST_UPDATE_DATE>10-DEC-2009 17:42:27</LAST_UPDATE_DATE>
    <LAST_UPDATED_BY>7794</LAST_UPDATED_BY>
    <LAST_UPDATE_LOGIN>52339081</LAST_UPDATE_LOGIN>
    <CREATION_DATE>10-DEC-2009 17:42:27</CREATION_DATE>
    <CREATED_BY>7794</CREATED_BY>
    <QUANTITY_RECEIVED>0</QUANTITY_RECEIVED>
    <QUANTITY_ACCEPTED>0</QUANTITY_ACCEPTED>
    <QUANTITY_REJECTED>0</QUANTITY_REJECTED>
    <QUANTITY_BILLED>0</QUANTITY_BILLED>
    <UNIT_MEAS_LOOKUP_CODE>Each</UNIT_MEAS_LOOKUP_CODE>
    <TAX_USER_OVERRIDE_FLAG>N</TAX_USER_OVERRIDE_FLAG>
    <MATCH_OPTION>R</MATCH_OPTION>
    <TAX_CODE_ID>10430</TAX_CODE_ID>
    <CALCULATE_TAX_FLAG>N</CALCULATE_TAX_FLAG>
    <VMI_FLAG>N</VMI_FLAG>
    <AMOUNT>246,321.92</AMOUNT>
    <AMOUNT_RECEIVED>0.00</AMOUNT_RECEIVED>
    <AMOUNT_BILLED>0.00</AMOUNT_BILLED>
    <AMOUNT_CANCELLED>0.00</AMOUNT_CANCELLED>
    <AMOUNT_ACCEPTED>0.00</AMOUNT_ACCEPTED>
    <AMOUNT_REJECTED>0.00</AMOUNT_REJECTED>
    <DROP_SHIP_FLAG>N</DROP_SHIP_FLAG>
    <SHIP_TO_LOCATION_ID>71695</SHIP_TO_LOCATION_ID>
    <SHIP_TO_LOCATION_NAME>23M CS Isando Personal Care</SHIP_TO_LOCATION_NAME>
    <SHIP_TO_ADDRESS_LINE1>23M CS Isando Personal</SHIP_TO_ADDRESS_LINE1>
    <SHIP_TO_ADDRESS_LINE2>22 Purlin Road</SHIP_TO_ADDRESS_LINE2>
    <SHIP_TO_ADDRESS_INFO>Isando, GP 1600</SHIP_TO_ADDRESS_INFO>
    <SHIP_TO_COUNTRY>South Africa</SHIP_TO_COUNTRY>
    <NEED_BY_DATE>22-JAN-2010 00:00:00</NEED_BY_DATE>
    <LINE_LOC_SHORT_TEXT>
    </LINE_LOC_SHORT_TEXT>
    <DISTRIBUTIONS>
    <DISTRIBUTIONS_ROW>
    <AMOUNT_DELIVERED>0.00</AMOUNT_DELIVERED>
    <AMOUNT_CANCELLED>0.00</AMOUNT_CANCELLED>
    <DISTRIBUTION_TYPE>STANDARD</DISTRIBUTION_TYPE>
    <PROJECT_ACCOUNTING_CONTEXT>No</PROJECT_ACCOUNTING_CONTEXT>
    <ACCRUE_ON_RECEIPT_FLAG>Y</ACCRUE_ON_RECEIPT_FLAG>
    <ORG_ID>1296</ORG_ID>
    <DESTINATION_TYPE_CODE>INVENTORY</DESTINATION_TYPE_CODE>
    <DESTINATION_ORGANIZATION_ID>1282</DESTINATION_ORGANIZATION_ID>
    <ACCRUAL_ACCOUNT_ID>57175</ACCRUAL_ACCOUNT_ID>
    <VARIANCE_ACCOUNT_ID>117936</VARIANCE_ACCOUNT_ID>
    <PREVENT_ENCUMBRANCE_FLAG>N</PREVENT_ENCUMBRANCE_FLAG>
    <PO_DISTRIBUTION_ID>1160340</PO_DISTRIBUTION_ID>
    <LAST_UPDATE_DATE>10-DEC-2009 17:42:27</LAST_UPDATE_DATE>
    <LAST_UPDATED_BY>7794</LAST_UPDATED_BY>
    <PO_HEADER_ID>711318</PO_HEADER_ID>
    <PO_LINE_ID>1198098</PO_LINE_ID>
    <LINE_LOCATION_ID>1107035</LINE_LOCATION_ID>
    <SET_OF_BOOKS_ID>1</SET_OF_BOOKS_ID>
    <CODE_COMBINATION_ID>57172</CODE_COMBINATION_ID>
    <QUANTITY_ORDERED>188032</QUANTITY_ORDERED>
    <LAST_UPDATE_LOGIN>52339081</LAST_UPDATE_LOGIN>
    <CREATION_DATE>10-DEC-2009 17:42:27</CREATION_DATE>
    <CREATED_BY>7794</CREATED_BY>
    <QUANTITY_DELIVERED>0</QUANTITY_DELIVERED>
    <QUANTITY_BILLED>0</QUANTITY_BILLED>
    <QUANTITY_CANCELLED>0</QUANTITY_CANCELLED>
    <REQ_DISTRIBUTION_ID>1124422</REQ_DISTRIBUTION_ID>
    <DELIVER_TO_LOCATION_ID>71695</DELIVER_TO_LOCATION_ID>
    <DELIVER_TO_PERSON_ID>4585</DELIVER_TO_PERSON_ID>
    <RATE_DATE>10-DEC-2009 00:00:00</RATE_DATE>
    <AMOUNT_BILLED>0.00</AMOUNT_BILLED>
    <ACCRUED_FLAG>N</ACCRUED_FLAG>
    <ENCUMBERED_FLAG>N</ENCUMBERED_FLAG>
    <RECOVERABLE_TAX>34,485.07</RECOVERABLE_TAX>
    <NONRECOVERABLE_TAX>0.00</NONRECOVERABLE_TAX>
    <RECOVERY_RATE>100.00</RECOVERY_RATE>
    <DESTINATION_CONTEXT>INVENTORY</DESTINATION_CONTEXT>
    <DISTRIBUTION_NUM>1</DISTRIBUTION_NUM>
    <CHARGE_ACCOUNT>53-230-999-84-7220-0000</CHARGE_ACCOUNT>
    <FULL_NAME>Mokoena, Johanna</FULL_NAME>
    <EMAIL_ADDRESS>[email protected]</EMAIL_ADDRESS>
    <REQUESTER_DELIVER_FIRST_NAME>Johanna</REQUESTER_DELIVER_FIRST_NAME>
    <REQUESTER_DELIVER_LAST_NAME>Mokoena</REQUESTER_DELIVER_LAST_NAME>
    </DISTRIBUTIONS_ROW>
    </DISTRIBUTIONS>
    </LINE_LOCATIONS_ROW>
    </LINE_LOCATIONS>
    </LINES_ROW>
    </LINES>
    <ADDRESS_DETAILS>
    <ADDRESS_DETAILS_ROW>
    <LOCATION_ID>71695</LOCATION_ID>
    <ADDRESS_STYLE>ZA_GLB</ADDRESS_STYLE>
    <ADDR_LABEL_1>Address Line 1</ADDR_LABEL_1>
    <ADDR_LABEL_2>Address Line 2</ADDR_LABEL_2>
    <ADDR_LABEL_3>Address Line 3</ADDR_LABEL_3>
    <ADDR_LABEL_4>Address Line 4</ADDR_LABEL_4>
    <ADDR_LABEL_5>Town / City</ADDR_LABEL_5>
    <ADDR_LABEL_6>Postal Code</ADDR_LABEL_6>
    <ADDR_LABEL_7>Province</ADDR_LABEL_7>
    <ADDR_LABEL_8>Country</ADDR_LABEL_8>
    <ADDR_DATA_1>23M CS Isando Personal</ADDR_DATA_1>
    <ADDR_DATA_2>22 Purlin Road</ADDR_DATA_2>
    <ADDR_DATA_5>Isando</ADDR_DATA_5>
    <ADDR_DATA_6>1600</ADDR_DATA_6>
    <ADDR_DATA_7>GP</ADDR_DATA_7>
    <ADDR_DATA_8>ZA</ADDR_DATA_8>
    </ADDRESS_DETAILS_ROW>
    <ADDRESS_DETAILS_ROW>
    <LOCATION_ID>78573</LOCATION_ID>
    <ADDRESS_STYLE>ZA_GLB</ADDRESS_STYLE>
    <ADDR_LABEL_1>Address Line 1</ADDR_LABEL_1>
    <ADDR_LABEL_2>Address Line 2</ADDR_LABEL_2>
    <ADDR_LABEL_3>Address Line 3</ADDR_LABEL_3>
    <ADDR_LABEL_4>Address Line 4</ADDR_LABEL_4>
    <ADDR_LABEL_5>Town / City</ADDR_LABEL_5>
    <ADDR_LABEL_6>Postal Code</ADDR_LABEL_6>
    <ADDR_LABEL_7>Province</ADDR_LABEL_7>
    <ADDR_LABEL_8>Country</ADDR_LABEL_8>
    <ADDR_DATA_1>P O Box 527</ADDR_DATA_1>
    <ADDR_DATA_5>Paarl</ADDR_DATA_5>
    <ADDR_DATA_6>7620</ADDR_DATA_6>
    <ADDR_DATA_8>ZA</ADDR_DATA_8>
    </ADDRESS_DETAILS_ROW>
    <ADDRESS_DETAILS_ROW>
    <LOCATION_ID>71715</LOCATION_ID>
    <ADDRESS_STYLE>ZA_GLB</ADDRESS_STYLE>
    <ADDR_LABEL_1>Address Line 1</ADDR_LABEL_1>
    <ADDR_LABEL_2>Address Line 2</ADDR_LABEL_2>
    <ADDR_LABEL_3>Address Line 3</ADDR_LABEL_3>
    <ADDR_LABEL_4>Address Line 4</ADDR_LABEL_4>
    <ADDR_LABEL_5>Town / City</ADDR_LABEL_5>
    <ADDR_LABEL_6>Postal Code</ADDR_LABEL_6>
    <ADDR_LABEL_7>Province</ADDR_LABEL_7>
    <ADDR_LABEL_8>Country</ADDR_LABEL_8>
    <ADDR_DATA_1>Corporate Hill Office Park</ADDR_DATA_1>
    <ADDR_DATA_2>William Nicholl Drive</ADDR_DATA_2>
    <ADDR_DATA_5>Bryanston</ADDR_DATA_5>
    <ADDR_DATA_6>1768</ADDR_DATA_6>
    <ADDR_DATA_7>GP</ADDR_DATA_7>
    <ADDR_DATA_8>ZA</ADDR_DATA_8>
    </ADDRESS_DETAILS_ROW>
    <ADDRESS_DETAILS_ROW>
    <LOCATION_ID>71699</LOCATION_ID>
    <ADDRESS_STYLE>ZA_GLB</ADDRESS_STYLE>
    <ADDR_LABEL_1>Address Line 1</ADDR_LABEL_1>
    <ADDR_LABEL_2>Address Line 2</ADDR_LABEL_2>
    <ADDR_LABEL_3>Address Line 3</ADDR_LABEL_3>
    <ADDR_LABEL_4>Address Line 4</ADDR_LABEL_4>
    <ADDR_LABEL_5>Town / City</ADDR_LABEL_5>
    <ADDR_LABEL_6>Postal Code</ADDR_LABEL_6>
    <ADDR_LABEL_7>Province</ADDR_LABEL_7>
    <ADDR_LABEL_8>Country</ADDR_LABEL_8>
    <ADDR_DATA_1>Coprporate Hill Office Park</ADDR_DATA_1>
    <ADDR_DATA_2>Willima Nicholl Drive</ADDR_DATA_2>
    <ADDR_DATA_5>Bryanston</ADDR_DATA_5>
    <ADDR_DATA_6>1768</ADDR_DATA_6>
    <ADDR_DATA_7>GP</ADDR_DATA_7>
    <ADDR_DATA_8>ZA</ADDR_DATA_8>
    </ADDRESS_DETAILS_ROW>
    </ADDRESS_DETAILS>
    </PO_DATA>
    I'm really stumped. I tried using the choose when clause but it doesn't work as I think it isreading the wrong cancel flag.
    Any help will be much appreciated.
    Thanks, Ash

    have to see your for-each statements.
    and you can do it, by using .. to go up one level
    example from current level to go up4 level up ../../../../CUSTOM_FLAG
    ../../../CUSTOM_FLAG three lvl up.
    Need to know the cancel_flag element you said, i can see only one :) in the given xml.

  • Cancel_flag in PO Output for Communication report

    I'm trying to build logic into an RTF template for the "PO Output for Communication" report to handle cancelled lines. The cancel_flag can be set to "Y" at any of 3 levels - PO Header, PO Line and PO shipment. The field is called the same thing (cancel_flag) at all 3 levels but it doesn't always exist at all 3 levels. What do I call the field in my "IF" statement, so that it is looking at the correct field? Right now, if I am at the line level and I want to check the cancel_flag, if it doesn't exist, it looks at the cancel_flag at the shipment level.

    have to see your for-each statements.
    and you can do it, by using .. to go up one level
    example from current level to go up4 level up ../../../../CUSTOM_FLAG
    ../../../CUSTOM_FLAG three lvl up.
    Need to know the cancel_flag element you said, i can see only one :) in the given xml.

  • Bursting Control file, Error!! Could not deliver the output for Delivery

    Hi,
    I am using bursting control file to send report output to email in R12.1.3.
    If the report output is having data, it is working fine. if there is no data it is getting errored out with the below message.
    "Error!! Could not deliver the output for Delivery channel:null "
    In the report output i put "No data found", when i click on view output the output in application is showing as "NO DATA FOUND" in PDF .
    "Bursting VMC Approved Purchase Orders for a period (XML Publisher Report Bursting Program)" got above error.
    my requirement is if there is no data, still i require the output to email.
    Thanks in Advance
    Adina.

    Hi,
    I am facing the same situation and want the bursting program to finish in normal even when there is no data.
    Can you please let me know how you resolved this?
    Thanks
    RG

  • Issue in PDF output for xml report

    Hi,
    I developed one template in RTF and output in pdf is looks fine.
    I have issue in the output, For some invoices i have more lines,when the line details comes to next page for the same invoice i can able to view only the lines information in the next pages for the same invoice without any header details.
    I need header information too if the lines comes to the next page.
    i given <G_Headers> in the top of the page and <End for each> in the end of the page.
    please how to resolve this issue.
    with regards
    Ram

    There are lot of ways of doing this,
    Simple one is given here.
    If you are using table to display the rows, there is option in word table properties, to repeat the header in each page,
    Repeating table headers
    If your data is displayed in a table, and you expect the table to extend across
    multiple pages, you can define the header rows that you want to repeat at the start
    of each page.
    1. Select the row(s) you wish to repeat on each page.
    2. From the Table menu, select Heading Rows Repeat
    Check out in user guide.

  • How to call the XML Publisher Report thro Standard PO Output for Comm.

    Hi
    We need to call our custom report(XML Publisher Report) from the standard PO Output for Communication Report.
    There is a parameter(Purchase Order Layout) in PO Output for Communication in which we can see no. of standard reports. We want to add our custom report in that list so that when we will run this standard report by selecting our custom report for Purchase Order Layout parameter, we should get the output as per our Custom report.
    Since PO Output for Communication is a Java Concurrent Program, we are not able to place our custom report in the list of Purchase Order layout Parameter.
    Ram

    Welcome to the forums !
    Pl see if MOS Doc 305307.1 (How To Modify Print PO Report POXPOPDF With Custom Template) can help
    HTH
    Srini

  • Excel output for the xml publisher report when it is [b]scheduled [/b]

    How to get the excel output for the xml publisher report when it is scheduled by a apps user? Like what is the user profile option (for the apps user who runs the report) and what are the other things that needs to be taken care of so that only this xml publisher report run by this apps user produces a EXCEL output (When scheduled) ???
    Really appreciate it if any one can help me in this regards.
    Thanks
    Munna

    Hi Munna,
    For eBusiness Suite (apps user) the report output is stored the same way whether executed immediately or scheduled.,To get excel set the options > output format to Excel. Only the user that submitted the report can view it, or you can get the output file from the server. Or you can set the notify option so that a Workflow Notification is sent when the request completes.
    Regards,
    Gareth
    Blog: http://garethroberts.blogspot.com/

  • Excel Output for Standard Reports using XML Publisher

    Hi All,
    Customer wants to get Excel Output for the existing Standard/Custom Reports using XML Publisher. I followed the following procedure.
    1. Changed the output to XML for Concurrent program ( Trial Balance - Detail )
    2. Used the Existing seeded Template
    3. Ran the Report using EXCEL as the output.
    When I clicked on View Output, I am not able to see the Excel output. I am seeing the HTML tags in the output window. Verified that Viewer Options existed for Excel as follows:
    File Format=Excel, Mime Type=application/vnd.ms-excel.
    When I ran the report with PDF output. I can see the PDF output.
    Ran the HTML output with new Viewer Option ( File Format=HTML, Mime Type=application/vnd.ms-excel) then I can see the output in Browser in the Excel format. I did this test after going through the Metalink Note: Note:316752.1
    My question is.. Do I need always choose the HTML ouput in the options window to trigger the Viewer option for HTML. Customer may not like this idea. He would like to choose the Excel Output and see the output in Excel format either in the Browser or Microsoft Excel.
    Can someone in this situation before help me out.
    Thanks,
    V

    Questions rephrase:
    1. Is the output is same for HTML and Excel options ?
    2. Why the output is viewable with HTML option and not with Excel option ?
    Customer has XML Publisher Version 5.0.1 and in the process of applying 5.6.1
    Thanks,
    V

  • Could not deliver the output for Delivery channel:null

    XML Publisher Report Bursting Program is throwing the following exception
    Log file
    ========
    XML/BI Publisher Version : 5.6.3
    Request ID: 11900899
    All Parameters: Dummy for Data Security=Y:ReportRequestID=11900819:DebugFlag=Y
    Report Req ID: 11900819
    Debug Flag: Y
    Updating request description
    Updated description
    Retrieving XML request information
    Node Name:DB94
    Preparing parameters
    null output =/caop/app02/inst/apps/CAOP_db94/logs/appl/conc/out/o11900899.out
    inputfilename =/caop/app02/inst/apps/CAOP_db94/logs/appl/conc/out/o11900819.out
    Data XML File:/caop/app02/inst/apps/CAOP_db94/logs/appl/conc/out/o11900819.out
    Set Bursting parameters..
    Temp. Directory:/caop/app02/common/caopcomn/temp
    [071713_110919401][][STATEMENT] Oracle XML Parser version ::: Oracle XML Developers Kit 10.1.3.1.0 - Production
    [071713_110919410][][STATEMENT] setOAProperties called..
    Bursting propertes.....
    {user-variable:cp:territory=US, user-variable:cp:ReportRequestID=11900819, user-variable:cp:language=en, user-variable:cp:responsibility=21540, user-variable.OA_MEDIA=http://db172.coresys.com:17204/OA_MEDIA, burstng-source=EBS, user-variable:cp:DebugFlag=Y, user-variable:cp:parent_request_id=11900819, user-variable:cp:locale=en-US, user-variable:cp:user=PRAYAPUDI, user-variable:cp:application_short_name=XDO, user-variable:cp:request_id=11900899, user-variable:cp:org_id=0, user-variable:cp:reportdescription=Care One Salary Change Approval, user-variable:cp:Dummy for Data Security=Y}
    Start bursting process..
    Bursting process complete..
    Generating Bursting Status Report..
    Output File
    ========
      <?xml version="1.0" encoding="UTF-8" ?>
    - <BURS_REPORT>
      <REQUESTID>11901286</REQUESTID>
      <PARENT_REQUESTID>11901285</PARENT_REQUESTID>
      <REPORT_DESC>Care One Salary Change Approval</REPORT_DESC>
      <OUTPUT_FILE>/caop/app02/inst/apps/CAOP_db94/logs/appl/conc/out/o11901286.zip</OUTPUT_FILE>
    - <DOCUMENT_STATUS>
      <KEY />
      <OUTPUT_TYPE>EXCEL</OUTPUT_TYPE>
      <DELIVERY>email</DELIVERY>
      <OUTPUT>/caop/app02/common/caopcomn/temp/071713_120851408/xdo1_2.xls</OUTPUT>
      <STATUS>fail</STATUS>
      <LOG>Error!! Could not deliver the output for Delivery channel:null . Please check the Log for error details..</LOG>
      </DOCUMENT_STATUS>
      </BURS_REPORT>
    XML File
    ======
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <!-- Generated by Oracle Reports version 10.1.2.3.0 -->
    <CAO_SAL_CHG_APR>
      <LIST_G_EMAIL>
        <G_EMAIL>
          <EMAIL>[email protected]</EMAIL>
          <LIST_G_MESSAGE_NUMBER>
    <G_MESSAGE_NUMBER>
              <MESSAGE_NUMBER>1</MESSAGE_NUMBER>
              <PERCENT_CHANGE>-98.75</PERCENT_CHANGE>
              <SALARY_CHANGE_AMT>-23,621.00</SALARY_CHANGE_AMT>
              <DATE_CHANGE_MADE>07/16/2013</DATE_CHANGE_MADE>
              <APPROVER_NAME>Veluz, Cynthia Avila</APPROVER_NAME>
              <APPROVER_JOB>Administration|Center|Payroll/Benefits Coordinator</APPROVER_JOB>
              <PERSON_NAME>Donet, Andrew P</PERSON_NAME>
              <PERSON_NUM>131996</PERSON_NUM>
              <LOCATION_CODE>HR - CareOne at Morris ALF</LOCATION_CODE>
              <REGION_2>NJ</REGION_2>
              <JOB_TITLE>Administration|Center|Director of Admissions</JOB_TITLE>
              <CURRENT_ANNUAL_SAL>299.00</CURRENT_ANNUAL_SAL>
              <PREVIOUS_ANNUAL_SAL>23,920.00</PREVIOUS_ANNUAL_SAL>
              <PAY_BASIS>PERIOD</PAY_BASIS>
              <CUR_PAY>11.50</CUR_PAY>
              <CHANGE_DATE>07/21/2013</CHANGE_DATE>
              <SALARY_CHANGE_REASON></SALARY_CHANGE_REASON>
              <EMPLOYMENT_CATEGORY>Fulltime-Regular</EMPLOYMENT_CATEGORY>
              <ERIC_WILLIAMS>[email protected]</ERIC_WILLIAMS>
            </G_MESSAGE_NUMBER>
          </LIST_G_MESSAGE_NUMBER>
        </G_EMAIL>
      </LIST_G_EMAIL>
    </CAO_SAL_CHG_APR>
    Control File
    ========
    <?xml version="1.0" encoding="UTF-8" ?>
    <xapi:requestset xmlns:xapi="http://xmlns.oracle.com/oxp/xapi" type="bursting">
    <xapi:request select="CAO_SAL_CHG_APR/LIST_G_EMAIL/G_EMAIL">
    <xapi:delivery>
    <xapi:email server="smtp.coresys.com" port="25" from="[email protected]" reply-to="[email protected]">
    <xapi:message id="123" to="[email protected]"
    attachment="true"
    subject="Salaries Changed Yesterday">
    Please do not reply to this email, it is system-generated.
    </xapi:message>
    </xapi:email>
    </xapi:delivery>
    <xapi:document output="Care_One_Salary_Change_Approval" output-type="EXCEL"   delivery="123">
    <xapi:template type="rtf" location="xdo://CAO.CAO_SAL_CHG_APR.en.US/?getSource=true">
    </xapi:template>
    </xapi:document>
    </xapi:request>
    </xapi:requestset>
    It is greatly apprecaited, if you can take a look the issue.
    Thank you,
    -Pradeep.

    Hello Sir,
    I am hard coding the Email id in the control file. From/To/CC emails I have hard coded. I want to paste the Control file... But I could not because, not allowing me to post XML content.
    Thanks
    <?xml version="1.0" encoding="UTF-8"?>
    <xapi:requestset xmlns:xapi="http://xmlns.oracle.com/oxp/xapi">
         <xapi:request select="/EMPLOYEE_REPORT/EMPLOYEE">
              <xapi:delivery>
                   <xapi:Email server="mycompanyserver" port="25" From="[email protected]" reply-to ="[email protected]">
                        <xapi:message id="123" to="[email protected]" cc="[email protected]"
                             attachment="true" subject="Employee Details for ${FULL_NAME}"> Mr./Ms. ${FULL_NAME}, Please review the attached document
                        </xapi:message>
                   </xapi:email>
    </xapi:delivery>
    <xapi:document output-type="pdf" delivery="123">
         <xapi:template type="rtf" location="xdo://XBOL.TEST_ABC_XML.en.US/?getSource=true">
         </xapi:template>
    </xapi:document>
    </xapi:request>
    </xapi:requestset>
    Edited by: user9367932 on Apr 13, 2010 4:59 AM
    Edited by: user9367932 on Apr 13, 2010 4:59 AM

  • In BI Publisher Report of excel output for one column is filled with spaces

    Hello,
    We have issue in BI Publisher report of excel output.
    In Excel output for one column few records are displaying as left alignment
    and few record are displaying as right alignment.
    If you are having any xml tag or any syntax for removing spaces for left side
    Please help on this issue.
    Thanks in Advance.
    Regards,
    Swaraj

    Please post the details of the application release, database version and OS along with BI Publisher.
    Is the issue with all reports or specific one(s) only?
    Do you have the patches in the following docs applied?
    Overview of Available Update Patches for Oracle BI Publisher Enterprise 10g [ID 797057.1]
    Overview of Available Update Patches for Oracle BI Publisher Enterprise 11g [ID 1276869.1]
    Overview of Available Patches for Oracle XML Publisher embedded in the Oracle E-Business Suite [ID 1138602.1]
    BI Publisher 10g RTF Template Changes Alignment Settings for Numbered Lists [ID 1418504.1]
    Thanks,
    Hussein

  • Unable to find the published output for this request - problem

    Hi ,
    In the invoice Payables module i modified a report to be open in xml and not text as it was. The program name of this report iis Print Invoice Notice. I did same thing we normally do to register a xml report in ebs.
    The problem is that when i run the report from the invoice form and from the button wich call this raport i get this error:
    Unable to find the published output for this request.
    No output file exist for the request
    and if i see the log file i get this message :
    Arguments
    P_INVOICE_ID='10243'
    APPLLCSP Environment Variable set to :
    XML_REPORTS_XENVIRONMENT is :
    +/oracle/prodora/8.0.6/guicommon6/tk60/admin/Tk2Motif_UTF8.rgb+
    XENVIRONMENT is set to  /oracle/prodora/8.0.6/guicommon6/tk60/admin/Tk2Motif_UTF8.rgb
    Current NLS_LANG and NLS_NUMERIC_CHARACTERS Environment Variables are :
    AMERICAN_ALBANIA.UTF8
    +' '+
    REP-3000: Internal error starting Oracle Toolkit.
    Report Builder: Release 6.0.8.27.0 - Production on Fri Mar 27 02:30:46 2009
    +(c) Copyright 1999 Oracle Corporation. All rights reserved.+
    The thing is that if i run this report from Other ->Request -> Run of the same module this raport runs correctly
    And if i change the output of my report (From concurrent manager) to text its open correctly even from there where i want to open it.
    Can anyone give me any sugestion why i get this error while i try to open this xml publisher report from a button in a form in application?
    PS: i am using ebs 11.5 version
    Thanks in advance,
    Best regards

    Hi,
    REP-3000: Internal error starting Oracle ToolkitThis errors was discussed many times before in this thread, so please search for REP-3000 and fix this error first ( [REP-3000|http://forums.oracle.com/forums/search.jspa?threadID=&q=REP-3000&objID=c84&dateRange=all&userID=&numResults=15] )
    Regards,
    Hussein

  • How can I make Apple Earphones be the Input and Output for Audio

    I have some older headphones and they aren't compatible with a Mid 2010 (Intel Core i3) 21.5 Inch iMac
    Is there some way to make Apple Earphones be the Input and Output for Audio in the iMac
    This is a problem for me personally as when I am talking to someone on Skype the iMac picks up the In-built Microphone audio, and yes the headphones I'm using do work straight from the iMac as audio output
    Any help is appreciated

    you can connect the headset to something like this
    http://www.ebay.com/itm/NEW-MaelineA-3-5mm-Female-to-2-Male-Gold-Plated-Headphon e-Mic-Audio-Y-Splitter-/381100440348
    and then connect the mic to the input and the headset to the headset port

  • With 10.2 I can only use system speaker output for audio, NOT my RME FF400 I used previously. The FF400 works fine with other apps. How can I set this device in FCP 10.2? (it is set in both system preferences and midi)

    With 10.2 I can only use a system (e.g. speaker) output for audio, NOT my RME FF400 I used without any problems previously. The FF400 works fine with other apps (some like TwistedWave) setup in the program, and others (like Spotify) using system preferences & audio midi setup. How can I set the FF400 to be the sound output device in FCP 10.2? N.B. The FF400 is set as sound output device in both system preferences and audio midi setup.

    From the fcp.co forum. See if this does anything for you.
    simon_hutchings
    OFFLINE
    Junior Boarder
    Posts: 24
    Thank you received: 5
    Karma: 1
    I have the solution! Well it at least worked for me. This is the response I got from Apple, Can you please try the following steps towards fixing your audio issue, and report back with your results?
    1. Open the application Audio Midi Setup (located in Applications : Utilities)
    2. Select the Output Tab for the current output device
    3. Select the Configure Speakers option
    4. Select the Multichannel tab
    5. Change the setting to Stereo Now mine was set to stereo but the left channel wasn't showing left. re-clicking on stereo reloaded the settings and after clicking apply it worked. 

  • Column headings are missing in the output for ALV?

    Hi all,
    i have coded a small report in ALV mode. i am getting the data but the column headings are missing.
    iam not getting the column headings in the output. it is coming as blank. Could you all please help me out in this?
    below is the code of my program:
                     Includes                                            *
    *---Standard header and footer routines
    INCLUDE zsrepthd.
    *--- ALV Routines
    INCLUDE zvsdi_alv_routines_ver3.
    *--- Authorization Check
    INCLUDE z_selection_auth_check.
                     Types Declarations                                  *
    tables : ekpo.
                     Types Declarations                                  *
    TYPES: BEGIN OF ty_ekpo,
            EBELN(18) TYPE C,
            EBELP(20) TYPE C,
            MATNR(18) TYPE C,
            WERKS(11) TYPE C,
          END OF ty_ekpo.
    *-Output field name
    TYPES: BEGIN OF ty_output,
            EBELN(18) TYPE C,
            EBELP(20) TYPE C,
            MATNR(18) TYPE C,
            WERKS(11) TYPE C,
          END OF ty_output.
    *-Output field name
    TYPES: BEGIN OF ty_fields,
            fname(60) TYPE c,
           END OF ty_fields.
                     Internal Table Declarations                         *
    DATA:it_ekpo TYPE STANDARD TABLE OF ty_ekpo,
    *--- Alv parameters
        it_out_alvp TYPE typ_alv_form_params, "for alv parameters
    *-Field catalog  for ALV display
        it_fcat TYPE slis_t_fieldcat_alv WITH HEADER LINE,
    *-Field names for Excel column headings
    it_ekpo_fields TYPE STANDARD TABLE OF ty_fields WITH HEADER LINE.
    **--To store output for Principial Pegging data
    DATA: BEGIN OF it_output occurs 0,
            EBELN(18) TYPE C,
            EBELP(20) TYPE C,
            MATNR(18) TYPE C,
            WERKS(11) TYPE C,
          END OF it_output.
    **--To store output for 2nd
    DATA: BEGIN OF it_output1 occurs 0,
            text(2000),
           END OF it_output1.
                     Data Declarations                                   *
    data: v_ebeln TYPE ekpo-ebeln,
          v_ebelp TYPE ekpo-ebelp,
          v_matnr TYPE ekpo-matnr,
          v_werks TYPE ekpo-werks.
                     Constants Declarations                              *
    CONSTANTS:
         c_0    TYPE i     VALUE  0,
         c_x    TYPE char1 VALUE  'X',
         c_i    TYPE char1 VALUE  'I',
         c_eq   TYPE char2 VALUE  'EQ',
         c_ekpo  TYPE char4 VALUE 'EKPO',
         c_hyfn  TYPE char1 VALUE '-'.
                     Work Area Declarations                              *
    DATA: x_output_ekpo type ty_output,
          x_ekpo type ty_ekpo.
                     Selection Screen                                    *
    SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-f01.
    SELECT-OPTIONS:
          s_ebeln FOR v_ebeln OBLIGATORY,
          s_ebelp FOR v_ebelp,
          s_matnr FOR v_matnr,
          s_werks FOR v_werks.
    SELECTION-SCREEN END OF BLOCK b1.
                     At Selection Screen                                 *
    AT SELECTION-SCREEN.
                     Start-of-Selection                                  *
    START-OF-SELECTION.
    *--- Check Authorizations for Selection-screen
      PERFORM  z_selection_auth_check.
    *--- Fetch Purchasing Document Item data
      PERFORM  fetch_status_pp.
                     End-of-Selection                                    *
    END-OF-SELECTION.
    **-- Download data to final internal table.
      PERFORM data_output.
      IF NOT it_output[] IS INITIAL.
    *--- Fill the structure for calling the ALV form
        PERFORM initialize_alv_params.
    **-- Display ALV Report
        PERFORM setup_and_display_alv_ver2
           USING
         it_out_alvp        "Parameter structure
         it_output[]        "Internal Data table(header table)
         it_output[].       "Dummy table for Hierarchical ALV!!(item table)
        ENDIF.
      IF it_output[] IS INITIAL.
        MESSAGE i999(zi) WITH 'No data found for selection'(i02).
      ENDIF.
    *&      Form  FETCH_STATUS_PP
    Get data from ekpo table
    FORM FETCH_STATUS_PP .
    *-Fetch PP Data from ekpo table
      REFRESH it_ekpo.
      SELECT EBELN
             EBELP
             MATNR
             WERKS
             FROM ekpo
             INTO TABLE it_ekpo
             WHERE ebeln IN s_ebeln
               AND ebelp IN s_ebelp.
      IF sy-subrc = c_0.
        SORT it_ekpo BY ebeln ebelp.
      ENDIF.
    ENDFORM.                    " FETCH_STATUS_PP
    *&      Form  f_top_of_page
    *This is to write the top of page
    FORM top_of_page.
      DATA:  lt_list TYPE slis_t_listheader,
             lx_list TYPE slis_listheader.
    *--- Title name
      CLEAR lx_list.
      lx_list-typ  = 'S'.
      lx_list-key  = 'Title name'(t13).
      lx_list-info = sy-title.
      APPEND lx_list TO lt_list.
      IF NOT lt_list IS INITIAL.
        CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'
          EXPORTING
            it_list_commentary = lt_list.
      ENDIF.
    ENDFORM.                    "top_of_page
    *&      Form  init_page_head
    Description : This subroutine initializes the fields in table BHDGD  *
                  for printing the report heading.                       *
    FORM init_page_head.
      bhdgd-line1  = 'SLA Status Report'(h04).
      bhdgd-line2  = sy-title.
      bhdgd-lines  = sy-linsz.
      bhdgd-fcpyrt = sy-uline.
      bhdgd-inifl  = '0'.
    ENDFORM.                    "init_page_head
    *&      Form  initialize_alv_params
    Description : Form to initialize ALV Params
    FORM initialize_alv_params.
      CONSTANTS: lc_alv_grid  TYPE char1 VALUE 'G',  "Grid
                 lc_u         TYPE char1 VALUE 'U'.
      MOVE 'IT_OUTPUT' TO   it_out_alvp-tablname.   "final table
      MOVE sy-repid    TO   it_out_alvp-repid.
      MOVE lc_alv_grid TO   it_out_alvp-alvtype.
      MOVE c_x         TO   it_out_alvp-bringdefaultvar.
      MOVE lc_u        TO   it_out_alvp-variantsavetype.
    ENDFORM.                    " initialize_alv_params
          FORM it_out_init_events                                       *
    -->this is form is to modify the events
    FORM it_out_init_events
          CHANGING
           alevnts TYPE slis_t_event.
      FIELD-SYMBOLS <alevnt> TYPE slis_alv_event.
      LOOP AT alevnts ASSIGNING <alevnt>.
        CASE <alevnt>-name.
          WHEN  slis_ev_top_of_page.
            MOVE 'TOP_OF_PAGE'  TO <alevnt>-form.
        ENDCASE.
      ENDLOOP.
    ENDFORM.                    "it_out_init_events
    *&      Form  DATA_OUTPUT
    Download data to final internal table
    FORM DATA_OUTPUT .
      loop at it_ekpo into x_ekpo.
        x_output_ekpo-ebeln = x_ekpo-ebeln.
        x_output_ekpo-ebelp = x_ekpo-ebelp.
        x_output_ekpo-matnr = x_ekpo-matnr.
        x_output_ekpo-werks = x_ekpo-werks.
        append x_output_ekpo to it_output.
      endloop.
    ENDFORM.                    " DATA_OUTPUT
          FORM it_out_alv_fieldcat_before                               *
    -->  PT_FCAT                                                       *
    -->  ALVP                                                          *
    FORM it_out_alv_fieldcat_before  CHANGING
        pt_fcat TYPE slis_t_fieldcat_alv
        alvp TYPE typ_alv_form_params.
      DATA: lx_fcat TYPE slis_fieldcat_alv.
      CLEAR lx_fcat.
      lx_fcat-tabname        = 'IT_OUTPUT'.
      lx_fcat-fieldname      = 'EBELN'.
      lx_fcat-col_pos        = '1'.
      lx_fcat-ddictxt        = 'M'.
      lx_fcat-seltext_l      = 'Purchasing Doc No'(018).
      lx_fcat-seltext_m      = 'Purchasing Doc No'(018).
      lx_fcat-seltext_s      = 'Purchasing Doc No'(018).
      lx_fcat-reptext_ddic   = 'Purchasing Doc No'(018).
      APPEND lx_fcat TO pt_fcat.
      CLEAR lx_fcat.
      lx_fcat-tabname        = 'IT_OUTPUT'.
      lx_fcat-fieldname      = 'EBELP'.
      lx_fcat-col_pos        = '1'.
      lx_fcat-ddictxt        = 'M'.
      lx_fcat-seltext_l      = 'Item No Purchasing Doc'(020).
      lx_fcat-seltext_m      = 'Item No Purchasing Doc'(020).
      lx_fcat-seltext_s      = 'Item No Purchasing Doc'(020).
      lx_fcat-reptext_ddic   = 'Item No Purchasing Doc'(020).
      APPEND lx_fcat TO pt_fcat.
      CLEAR lx_fcat.
      lx_fcat-tabname        = 'IT_OUTPUT'.
      lx_fcat-fieldname      = 'MATNR'.
      lx_fcat-col_pos        = '1'.
      lx_fcat-ddictxt        = 'M'.
      lx_fcat-seltext_l      = 'Material'(010).
      lx_fcat-seltext_m      = 'Material'(010).
      lx_fcat-seltext_s      = 'Material'(010).
      lx_fcat-reptext_ddic   = 'Material'(010).
      APPEND lx_fcat TO pt_fcat.
      CLEAR lx_fcat.
      lx_fcat-tabname        = 'IT_OUTPUT'.
      lx_fcat-fieldname      = 'WERKS'.
      lx_fcat-col_pos        = '1'.
      lx_fcat-ddictxt        = 'M'.
      lx_fcat-seltext_l      = 'Supply plant'(013).
      lx_fcat-seltext_m      = 'Supply plant'(013).
      lx_fcat-seltext_s      = 'Supply plant'(013).
      lx_fcat-reptext_ddic   = 'Supply plant'(013).
      APPEND lx_fcat TO pt_fcat.
    ENDFORM.                    " it_out_alv_fieldcat_before.
    Regards,
    Shalini
    Edited by: shalini reddy on Oct 7, 2008 5:08 PM

    Hi,
    The heading are in the table pt_fcat - you don't seem to be passing that in form....
    PERFORM setup_and_display_alv_ver2
    USING
    it_out_alvp "Parameter structure
    it_output[] "Internal Data table(header table)
    it_output[]. "Dummy table for Hierarchical ALV!!(item table)
    which I guessing in in one of the includes?
    Saying that the extract pof code does not show where you are calling form it_out_alv_fieldcat_before ...which populates the headings...
    Regards
    Stu

Maybe you are looking for

  • Is there a way to force Adobe Reader to grab the sign on ID for a digital stamp?

    I work for a state Agency and we want to use digital stamps as our signatures on our internal documents. I have created the form in LiveCycle and I know that in Adobe Reader by default the stamp will use the person's sign on ID for the stamp and then

  • Error while creating PO using JCO......?

    hello all, i am trying to create po by using jco. i have done everything but at time of execution its throw following error please try to help.. thanks in advance.. com.sap.mw.jco.JCO$Exception: (104) RFC_ERROR_SYSTEM_FAILURE: Exception condition "FA

  • Problem with abstract complex type in substitution group.

    Hi all, I have three xsds, A, B, C.XSD respectively. A.xsd:There is a substitution group and its complex type declared as abstract and element that uses them. B.xsd has the same structure as A except that it has complex type derived from complex type

  • Propagation of Content Management in Weblogic Portal

    Hi, Can anyone please provide me with the step-by-step procedure of propagating BEA Repository Content management data from one environment to another(Local to Dev or Dev to UAT) using Weblogic Workshop or using Ant. In the following URL http://edocs

  • Purchase order printing updations urgent

    dear all, i have a problem related to order print format actually i want to add some lines in footer of order .we use me9f for order printing . user need it should be permanent lines in printing can u tell me where we need to make changes thnaks in a