Display of details(technical&cost) of an eqpt. through its superior eqpt.
Hi All,
Is there any report which can list down all details (notification details & order details incl. costs) of an equipment (which is assigned to a superior equipment) when the report selection criteria is based on the superior equipment.
That is, when a superior equipment number is selected for running the report, the system should display all the details of the superior equipment alongwith details of all the subordinate eqptuipments assigned to it.
Thanks and Best Regards
JK
JK,
No there is no such standard report that will get you this requirement.You will have to develop a custom program to accomplish the same.
Thanks
Narasimhan
Similar Messages
-
Cost to Server, Roll Through profitability details
Hi Experts,
Can you please provide me more details on Cost to Serve, Roll through Profitability and Financial Reconciliation business Process of Profitability Analysis (CO-PA).
If you could share an any Functional/Technical specs would be of help.
Best Regards,
RaviHi,
If you are tyring to view the KSB1 report after creating the PO, it will not be possible because the PO creation does not create any accounting documents and only the account assignments are done here.
After you do the GR only, the accounting documents gets created and if you do the KSB1 reporting you will able to see the amounts posted on that particular cost center for that PO.
Thanks and Regards,
Bhuvaneswari.S -
Report to display PO details and download details in an excel fil
Hi,
I have been asked to develop a report for "Develop report to display PO details and download details in an excel file".
Could any one guide me technically what are the different tables i need to take to generate the report. Treat this is very urgent. Pls provide sample code too....
Thanks in advance....Purchase Order PO
Tcode for creation ME21,ME22,ME23. tables EKKO,EKPO.
refer this program
REPORT ZPOCHANGE.
This is a subroutine perform in the Purchase order Layout sets.
Description : To retreive the details of changed remarks in PO output and to capture the retrival date
Additional features with the previous changed appearing. e.g. from .... to
Note : If the latest modification details required
Please Uncomment the lines mentioned under 'Last Modified Remarks only'
Information
/: PERFORM CHDATE IN PROGRAM ZPOCHANGE
/: USING &EKKO-EBELN&
/: CHANGING &RVDATE2&
/: ENDPERFORM.
/: IF &RVDATE2& EQ ' '.
/ Revision Date: NIL
/: ELSE.
/ Revision Date: &RVDATE2&
/: ENDIF.
Main Window
/E CHANGE_REMARKS
/: PERFORM CHDET IN PROGRAM ZPOCHANGE
/: USING &EKPO-EBELP&
/: USING &EKKO-EBELN&
/: USING &T166T-CHTXT&
/: USING &T166T-CTXNR&
/: CHANGING &ITAB1-F_NEW&
/: CHANGING &ITAB1-F_OLD&
/:ENDPERFORM.
/:IF &ITAB1-F_NEW& NE ' '
= &ITAB1-F_OLD(C)& CHANGED TO &ITAB1-F_NEW(C)&
/:ENDIF
You might need to apply Note 373524 - Message determination and printing
TABLES : CDSHW , "Change documents, formatting table
CDHDR , "Change document header
EKPO , "Purchasing Document Item
EKKO , "Purchasing Document Header
T166C . "Print-Relevant Purchasing Document Changes
DATA : ITAB1 LIKE CDSHW OCCURS 100 WITH HEADER LINE.
DATA : ITAB2 LIKE EKPO OCCURS 100 WITH HEADER LINE.
DATA : DOCUM LIKE EKKO OCCURS 100 WITH HEADER LINE.
DATA : TABKEY LIKE CDSHW-TABKEY.
data : begin of ctab occurs 10,
tname like t166c-tname,
fname like t166c-fname,
TABKEY LIKE CDSHW-TABKEY,
FLAG(3),
end of ctab.
DATA : VAL1(15), VAL2(15).
DATA : M1(20), M2(10), M3(10),M4(5).
DATA : RVDATE(10),RVDATE2(10) , EBELN LIKE EKKO-EBELN, COUNT TYPE I.
Text number for change text(CTXNR), CHANGE TEXT(CHTXT), Purchase order
Number and item number are passed from Layoutset
FORM CHDET *
--> ITAB *
--> OTAB *
FORM CHDET TABLES ITAB STRUCTURE ITCSY
OTAB STRUCTURE ITCSY.
LOOP AT ITAB.
CASE ITAB-NAME.
WHEN 'T166T-CHTXT'.
MOVE ITAB-VALUE TO M1.
WHEN 'T166T-CTXNR'.
MOVE ITAB-VALUE TO M2.
WHEN 'EKKO-EBELN'.
MOVE ITAB-VALUE TO M3.
WHEN 'EKPO-EBELP'.
MOVE ITAB-VALUE TO M4.
ENDCASE.
ENDLOOP.
Throught this function change details are retrived into itab1.
CALL FUNCTION 'ME_CHANGES_READ'
EXPORTING
DOCUMENT_CATEGORY = 'F'
DOCUMENT_NUMBER = M3
TABLES
XCDSHW = itab1.
SELECT SINGLE * FROM T166C WHERE CTXNR = M2.
IF SY-SUBRC = 0.
CONCATENATE M3 M4 INTO TABKEY.
********Last Modified Remarks only**********************
read table ctab with key tname = T166C-TNAME
tabkey = tabkey
fname = T166C-FNAME.
if sy-subrc ne 0.
LOOP AT ITAB1 WHERE TABNAME = T166C-TNAME
AND TABKEY+3(15) = TABKEY
AND FNAME = T166C-FNAME.
*********Last Modified Remarks only**********************
ctab-tname = t166c-tname.
ctab-fname = t166c-fname.
ctab-tabkey = tabkey.
append ctab.
delete itab1.
exit.
endloop.
Captured details are exported to Layoutset
LOOP AT OTAB.
CASE OTAB-NAME.
WHEN 'ITAB1-F_OLD'.
OTAB-VALUE = ITAB1-F_OLD.
MODIFY OTAB.
CLEAR : ITAB1-F_OLD.
WHEN 'ITAB1-F_NEW'.
OTAB-VALUE = ITAB1-F_NEW.
MODIFY OTAB.
CLEAR : ITAB1-F_NEW.
ENDCASE.
endloop.
endif.
******Last Modified Remarks only****************
ENDIF.
clear ctab.
ENDFORM.
FORM CHDATE *
--> ITAB *
--> OTAB *
Form for revision date retrival. PO no. is passed from layoutset
and in the change document header latest modified date is captured
and passed to revision date field in Layoutset.
FORM CHDATE TABLES ITAB STRUCTURE ITCSY
OTAB STRUCTURE ITCSY.
CLEAR : RVDATE, EBELN.
LOOP AT ITAB.
CASE ITAB-NAME.
WHEN 'EKKO-EBELN'.
MOVE ITAB-VALUE TO EBELN.
ENDCASE.
ENDLOOP.
SELECT UDATE INTO CDHDR-UDATE FROM CDHDR WHERE OBJECTCLAS = 'EINKBELEG'
AND OBJECTID = EBELN.
IF RVDATE < CDHDR-UDATE.
RVDATE = CDHDR-UDATE.
ENDIF.
COUNT = COUNT + 1.
ENDSELECT.
LOOP AT OTAB.
CASE OTAB-NAME.
WHEN 'RVDATE2'.
CONCATENATE RVDATE6(2) '.' RVDATE4(2) '.' RVDATE(4) INTO RVDATE2.
IF COUNT = 1.
RVDATE2 = ''.
ENDIF.
MOVE RVDATE2 TO OTAB-VALUE.
MODIFY OTAB.
ENDCASE.
ENDLOOP.
CLEAR : COUNT.
ENDFORM.
Message was edited by:
Karthikeyan Pandurangan -
Display Invoice Details in 3 pages only, as per the tags, data is overflown
Hi,
I have a requirement to display invoice details in pdf output from XML Source using rtf template.
The PDF output will display invoice details for One address number per page.
When I execute the report in JDE standard version I get the pdf output in three pages as expected.
from the blank template when I executed the report for a data selection of One business unit and three address numbers. Below is the query.
SELECT * FROM PRODDTA.F03B11 WHERE RPDIVJ =110037 AND LTRIM(RTRIM(RPMCU))=03285 AND RPAN8 IN(204346,204352,202370).
The XML source in the printqueue shows me five address number tags instead of three as per the data selection given above. The data in the second tag has overflown to third and similarly from 4th to 5th tag.
When I take the said XML source it is displaying 5 pages. Is there way to design the rtf template where it can print only 3 pages.
Below I have given the actual source code.
<?xml version="1.0" encoding="WINDOWS-1252" standalone="no" ?>
- <!-- Generated by EnterpriseOne Universal Batch Engine
-->
- <R553505>
+ <Properties>
<Version>HES0002</Version>
<Title>Comprehensive Invoice</Title>
<Machine>HIES10</Machine>
<Host>HGN11</Host>
<Environment>DV900</Environment>
<User>VRDDU</User>
<Role>*ALL</Role>
<Company>HDSD</Company>
<OneWorldRelease>E900</OneWorldRelease>
<Date>7/15/2010</Date>
<Time>5:58:57</Time>
</Properties>
+ <PageFooters>
- <Page_Footer_S20>
<audit_info_in_event_rules_ID6>audit info in event rules</audit_info_in_event_rules_ID6>
<PLEASE_MAKE_CHECK_PAYABLE_TO___ID3>PLEASE MAKE CHECK PAYABLE TO :</PLEASE_MAKE_CHECK_PAYABLE_TO___ID3>
<NameAlpha_ID5>Trey McAfee</NameAlpha_ID5>
</Page_Footer_S20>
- <Page_Footer_S20>
<audit_info_in_event_rules_ID6>audit info in event rules</audit_info_in_event_rules_ID6>
<PLEASE_MAKE_CHECK_PAYABLE_TO___ID3>PLEASE MAKE CHECK PAYABLE TO :</PLEASE_MAKE_CHECK_PAYABLE_TO___ID3>
<NameAlpha_ID5>Trey McAfee</NameAlpha_ID5>
</Page_Footer_S20>
- <Page_Footer_S20>
<audit_info_in_event_rules_ID6>audit info in event rules</audit_info_in_event_rules_ID6>
<PLEASE_MAKE_CHECK_PAYABLE_TO___ID3>PLEASE MAKE CHECK PAYABLE TO :</PLEASE_MAKE_CHECK_PAYABLE_TO___ID3>
<NameAlpha_ID5>Trey McAfee</NameAlpha_ID5>
</Page_Footer_S20>
</PageFooters>
+ <Columnar_S7_Column_Headings Language="">
<Invoice_Date_ID28>Date</Invoice_Date_ID28>
<Document_Number_ID22>Number</Document_Number_ID22>
<Document_Type_Description_ID42>Type</Document_Type_Description_ID42>
<Pay_Item_ID34>Item</Pay_Item_ID34>
<Due_Date_ID30>Due Date</Due_Date_ID30>
<Remark_ID32>Remark</Remark_ID32>
<Amount_ID48>Amount</Amount_ID48>
<Taxable_Amount_ID16>Amount</Taxable_Amount_ID16>
<Document_Company_ID44>Doc Co</Document_Company_ID44>
<Address_Number_ID36>Address Number</Address_Number_ID36>
<Tax_Amount_ID40>Tax Amount</Tax_Amount_ID40>
<Co___ID46>Co</Co___ID46>
</Columnar_S7_Column_Headings>
- <Columnar_S7_Group>
+ <On_Address_Number_S8>
<Date_01_ID31>2010-02-06</Date_01_ID31>
<Remit_To_Constant_ID98>Remit To:</Remit_To_Constant_ID98>
<Date_Constant_ID106>Date:</Date_Constant_ID106>
<Account_Constant_ID108>Account:</Account_Constant_ID108>
<AddressNumber_ID28>204346</AddressNumber_ID28>
<Company___Address_Line_1_ID36>HKJHKLKJLKJLKLK, LLC</Company___Address_Line_1_ID36>
<RefNo_ID126>10000106001</RefNo_ID126>
<Refer.No__ID125>Refer.No:</Refer.No__ID125>
<Company___Address_Line_2_ID38>JHJKLH Bank, 925 All Rd</Company___Address_Line_2_ID38>
<Company___Mailing_Name_ID34>JHKJHK Trophy LLC</Company___Mailing_Name_ID34>
<Page_Number_ID89>1</Page_Number_ID89>
<Page_Constant_ID110>Page:</Page_Constant_ID110>
<Company___Address_Line_3_ID40>Clifton NJ 07012</Company___Address_Line_3_ID40>
<Lease_Number_Constant_ID122>Lease Number:</Lease_Number_Constant_ID122>
<Customer_Address_Constant_ID102>Customer Address:</Customer_Address_Constant_ID102>
<Billing_Address_Constant_ID100>Billing Address:</Billing_Address_Constant_ID100>
<Customer___Alpha_Name_ID116>AEGON</Customer___Alpha_Name_ID116>
<Customer___Mailing_Name_ID73>400 ket Street</Customer___Mailing_Name_ID73>
<Customer___Address_Line_1_ID75>Su 400</Customer___Address_Line_1_ID75>
<Customer___Address_Line_2_ID77>Lolle K 40202</Customer___Address_Line_2_ID77>
<a_ID123>a</a_ID123>
<Notification_Constant_ID104>Please be advised that your account has been debited or back-charged as follows:</Notification_Constant_ID104>
- <Columnar_S7>
<Invoice_Date_ID27>2010-02-06</Invoice_Date_ID27>
<DocVoucherInvoiceE_ID21>10000106</DocVoucherInvoiceE_ID21>
<Document_Type_Description_ID41>Manual Billing</Document_Type_Description_ID41>
<Pay_Item_ID33>001</Pay_Item_ID33>
<Due_Date_ID29>2010-03-01</Due_Date_ID29>
<Remark_ID31>JAN 10 CLEANING INVOICES</Remark_ID31>
<Amount_ID47>1176.16</Amount_ID47>
<Taxable_Amount_Value_ID15>1176.16</Taxable_Amount_Value_ID15>
<CompanyKey_ID43>03285</CompanyKey_ID43>
<AddressNumber_ID35>204346</AddressNumber_ID35>
<Company_ID45>03285</Company_ID45>
</Columnar_S7>
- <Columnar_S7>
<Pay_Item_ID33>002</Pay_Item_ID33>
<Due_Date_ID29>2010-03-01</Due_Date_ID29>
<Remark_ID31>FEB 10 CLEANING</Remark_ID31>
<Amount_ID47>872.00</Amount_ID47>
<Taxable_Amount_Value_ID15>872.00</Taxable_Amount_Value_ID15>
<CompanyKey_ID43>03285</CompanyKey_ID43>
<AddressNumber_ID35>204346</AddressNumber_ID35>
<Company_ID45>03285</Company_ID45>
</Columnar_S7>
- <Columnar_S7>
<Pay_Item_ID33>003</Pay_Item_ID33>
<Due_Date_ID29>2010-03-01</Due_Date_ID29>
<Remark_ID31>ADMIN FEE</Remark_ID31>
<Amount_ID47>143.37</Amount_ID47>
<Taxable_Amount_Value_ID15>143.37</Taxable_Amount_Value_ID15>
<CompanyKey_ID43>03285</CompanyKey_ID43>
<AddressNumber_ID35>204346</AddressNumber_ID35>
<Company_ID45>03285</Company_ID45>
</Columnar_S7>
<Total_Invoice_Amount_Value_ID2>2191.53</Total_Invoice_Amount_Value_ID2>
<Total_Amount_Invoiced_Constant_ID190>Total Amount Invoiced</Total_Amount_Invoiced_Constant_ID190>
<Tax_Amount_Constant_ID192>Tax Amount</Tax_Amount_Constant_ID192>
<Balance_Due_Constant_ID184>Balance Due</Balance_Due_Constant_ID184>
<Balance_Credit_Due_Value_ID6>2191.53</Balance_Credit_Due_Value_ID6>
<Transaction_Currency_ID47>USD</Transaction_Currency_ID47>
<Credit_Due_Constant_ID194>Credit Due</Credit_Due_Constant_ID194>
</On_Address_Number_S8>
- <On_Address_Number_S8>
<Page_Breake_S21 />
<Date_01_ID31>2010-02-06</Date_01_ID31>
<Remit_To_Constant_ID98>Remit To:</Remit_To_Constant_ID98>
<Date_Constant_ID106>Date:</Date_Constant_ID106>
<Account_Constant_ID108>Account:</Account_Constant_ID108>
<AddressNumber_ID28>204352</AddressNumber_ID28>
<Company___Address_Line_1_ID36>Lou Trophy, LLC</Company___Address_Line_1_ID36>
<RefNo_ID126>10000109001</RefNo_ID126>
<Refer.No__ID125>Refer.No:</Refer.No__ID125>
<Company___Address_Line_2_ID38>ValBank, 925 All Rd</Company___Address_Line_2_ID38>
<Company___Mailing_Name_ID34>Loui Trophy LLC</Company___Mailing_Name_ID34>
<Page_Number_ID89>1</Page_Number_ID89>
<Page_Constant_ID110>Page:</Page_Constant_ID110>
<Company___Address_Line_3_ID40>Clifton NJ 07012</Company___Address_Line_3_ID40>
<Lease_Number_Constant_ID122>Lease Number:</Lease_Number_Constant_ID122>
<Customer_Address_Constant_ID102>Customer Address:</Customer_Address_Constant_ID102>
<Billing_Address_Constant_ID100>Billing Address:</Billing_Address_Constant_ID100>
<Customer___Alpha_Name_ID116>Commn Bank</Customer___Alpha_Name_ID116>
<Customer___Mailing_Name_ID73>400 Market Street</Customer___Mailing_Name_ID73>
<Customer___Address_Line_1_ID75>Suite 140</Customer___Address_Line_1_ID75>
<Customer___Address_Line_2_ID77>Lo KY 40202</Customer___Address_Line_2_ID77>
<a_ID123>a</a_ID123>
<Notification_Constant_ID104>Please be advised that your account has been debited or back-charged as follows:</Notification_Constant_ID104>
</On_Address_Number_S8>
- <On_Address_Number_S8>
- <Columnar_S7>
<Invoice_Date_ID27>2010-02-06</Invoice_Date_ID27>
<DocVoucherInvoiceE_ID21>10000109</DocVoucherInvoiceE_ID21>
<Document_Type_Description_ID41>Manual Billing</Document_Type_Description_ID41>
<Pay_Item_ID33>001</Pay_Item_ID33>
<Due_Date_ID29>2010-03-01</Due_Date_ID29>
<Remark_ID31>JAN 10 CLEANING INVOICES</Remark_ID31>
<Amount_ID47>75.00</Amount_ID47>
<Taxable_Amount_Value_ID15>75.00</Taxable_Amount_Value_ID15>
<CompanyKey_ID43>03285</CompanyKey_ID43>
<AddressNumber_ID35>204352</AddressNumber_ID35>
<Company_ID45>03285</Company_ID45>
</Columnar_S7>
- <Columnar_S7>
<Pay_Item_ID33>002</Pay_Item_ID33>
<Due_Date_ID29>2010-03-01</Due_Date_ID29>
<Remark_ID31>FEB 10 CLEANING</Remark_ID31>
<Amount_ID47>385.00</Amount_ID47>
<Taxable_Amount_Value_ID15>385.00</Taxable_Amount_Value_ID15>
<CompanyKey_ID43>03285</CompanyKey_ID43>
<AddressNumber_ID35>204352</AddressNumber_ID35>
<Company_ID45>03285</Company_ID45>
</Columnar_S7>
- <Columnar_S7>
<Pay_Item_ID33>003</Pay_Item_ID33>
<Due_Date_ID29>2010-03-01</Due_Date_ID29>
<Remark_ID31>ADMIN FEE</Remark_ID31>
<Amount_ID47>46.00</Amount_ID47>
<Taxable_Amount_Value_ID15>46.00</Taxable_Amount_Value_ID15>
<CompanyKey_ID43>03285</CompanyKey_ID43>
<AddressNumber_ID35>204352</AddressNumber_ID35>
<Company_ID45>03285</Company_ID45>
</Columnar_S7>
<Total_Invoice_Amount_Value_ID2>506.00</Total_Invoice_Amount_Value_ID2>
<Total_Amount_Invoiced_Constant_ID190>Total Amount Invoiced</Total_Amount_Invoiced_Constant_ID190>
<Tax_Amount_Constant_ID192>Tax Amount</Tax_Amount_Constant_ID192>
<Balance_Due_Constant_ID184>Balance Due</Balance_Due_Constant_ID184>
<Balance_Credit_Due_Value_ID6>506.00</Balance_Credit_Due_Value_ID6>
<Transaction_Currency_ID47>USD</Transaction_Currency_ID47>
<Credit_Due_Constant_ID194>Credit Due</Credit_Due_Constant_ID194>
</On_Address_Number_S8>
+ <On_Address_Number_S8>
<Page_Breake_S21 />
<Date_01_ID31>2010-02-06</Date_01_ID31>
<Remit_To_Constant_ID98>Remit To:</Remit_To_Constant_ID98>
<Date_Constant_ID106>Date:</Date_Constant_ID106>
<Account_Constant_ID108>Account:</Account_Constant_ID108>
<AddressNumber_ID28>202370</AddressNumber_ID28>
<Company___Address_Line_1_ID36>Lou Trophy, LLC</Company___Address_Line_1_ID36>
<RefNo_ID126>10000112001</RefNo_ID126>
<Refer.No__ID125>Refer.No:</Refer.No__ID125>
<Company___Address_Line_2_ID38>Val Bank, 925 All Rd</Company___Address_Line_2_ID38>
<Company___Mailing_Name_ID34>Lou Trophy LLC</Company___Mailing_Name_ID34>
<Page_Number_ID89>1</Page_Number_ID89>
<Page_Constant_ID110>Page:</Page_Constant_ID110>
<Company___Address_Line_3_ID40>Clifton NJ 07012</Company___Address_Line_3_ID40>
<Lease_Number_Constant_ID122>Lease Number:</Lease_Number_Constant_ID122>
<Customer_Address_Constant_ID102>Customer Address:</Customer_Address_Constant_ID102>
<Billing_Address_Constant_ID100>Billing Address:</Billing_Address_Constant_ID100>
<Customer___Alpha_Name_ID116>Ern Young</Customer___Alpha_Name_ID116>
<Customer___Mailing_Name_ID73>Suit 0</Customer___Mailing_Name_ID73>
<Customer___Address_Line_1_ID75>22 6th Street</Customer___Address_Line_1_ID75>
<Customer___Address_Line_2_ID77>Mp N 55402</Customer___Address_Line_2_ID77>
<a_ID123>a</a_ID123>
<Notification_Constant_ID104>Please be advised that your account has been debited or back-charged as follows:</Notification_Constant_ID104>
</On_Address_Number_S8>
+ <On_Address_Number_S8>
+ <Columnar_S7>
<Invoice_Date_ID27>2010-02-06</Invoice_Date_ID27>
<DocVoucherInvoiceE_ID21>10000112</DocVoucherInvoiceE_ID21>
<Document_Type_Description_ID41>Manual Billing</Document_Type_Description_ID41>
<Pay_Item_ID33>001</Pay_Item_ID33>
<Due_Date_ID29>2010-03-01</Due_Date_ID29>
<Remark_ID31>FEB 10 CLEANING</Remark_ID31>
<Amount_ID47>110.00</Amount_ID47>
<Taxable_Amount_Value_ID15>110.00</Taxable_Amount_Value_ID15>
<CompanyKey_ID43>03285</CompanyKey_ID43>
<AddressNumber_ID35>202370</AddressNumber_ID35>
<Company_ID45>03285</Company_ID45>
</Columnar_S7>
+ <Columnar_S7>
<Pay_Item_ID33>002</Pay_Item_ID33>
<Due_Date_ID29>2010-03-01</Due_Date_ID29>
<Remark_ID31>ADMIN FEE</Remark_ID31>
<Amount_ID47>11.00</Amount_ID47>
<Taxable_Amount_Value_ID15>11.00</Taxable_Amount_Value_ID15>
<CompanyKey_ID43>03285</CompanyKey_ID43>
<AddressNumber_ID35>202370</AddressNumber_ID35>
<Company_ID45>03285</Company_ID45>
</Columnar_S7>
<Total_Invoice_Amount_Value_ID2>121.00</Total_Invoice_Amount_Value_ID2>
<Total_Amount_Invoiced_Constant_ID190>Total Amount Invoiced</Total_Amount_Invoiced_Constant_ID190>
<Tax_Amount_Constant_ID192>Tax Amount</Tax_Amount_Constant_ID192>
<Balance_Due_Constant_ID184>Balance Due</Balance_Due_Constant_ID184>
<Balance_Credit_Due_Value_ID6>121.00</Balance_Credit_Due_Value_ID6>
<Transaction_Currency_ID47>USD</Transaction_Currency_ID47>
<Credit_Due_Constant_ID194>Credit Due</Credit_Due_Constant_ID194>
</On_Address_Number_S8>
</Columnar_S7_Group>
</R5503B505>Thanks for your response Shastry, but I am having trouble understanding it. Not sure how the above steps will read the current date.
To be more specific, I want to display only that cost that falls in fiscal year.
In above example now since it is 03/26/2011 and my fiscal year starts on 04/01 . I want to display cost from row 1 and when the same report will be run after 04/01/2011 it should display cost from row 2.
Like wise if the report is run after n number of years , it should display cost as per the fiscal year at that time.
So i guess the formula should really depend on system date/current date/ print date
Thanks! -
Custom SAP report used to display an average standard cost per material.
Hi All,
I need to implement a report with the following functionality,
This is a custom SAP report used to display an average standard cost per material. Standard cost data is stored in SAP at the Material/Plant level. This report will gather the individual Standard Costs at each applicable plant (restricted by selection screen input and additional logic specified in more detail in the u201CReport Fieldsu201D section) for applicable Materials (restricted by selection screen input; if not specified all materials should be returned) and calculate an average standard cost for each material. The corresponding Currency and Base Unit of Measure will also be displayed.
Additionally the relevant u201CCommodity Code/Import Codeu201D information should be displayed for each material returned. This attribute is also stored at the Material/Plant level. To determine the value of this field for each relevant material, the report logic must retrieve the values stored for each plant. If all values are the same, the value can be output to the report. If not all values are equal, a message u201CNot Consistentu201D should be output. It should be noted that if all values are u201Cnull,u201D a null value should be returned in the report.
Can any one provide me with sample code for the same??
Thanks Debrup.Hello,
Also refer this [ THREAD|Re: error in Fleet management customising] and [link|Error when recording measurements in IFCU]
Regards
Nav
Edited by: Desire_Naveen on Nov 4, 2009 12:35 PM -
How 2 creat report for displaying the details of a Delivery Document using
how to create report for displaying the details of a Delivery Document using the tables LIKP, LIPS
thank you
regards,
jagrut bharatkumar shukla
points will be rewardedHI
I AM GIVING YOU MY DELIVERY DOCUMENT CODE...MODIFY IT ACCORDING TO YOUR REQUIREMENT
*& Report ZDELIVERY *
report zdelivery message-id z9bhu .
types: begin of t_likp,
vbeln type likp-vbeln, "Delivery
erdat type likp-erdat, "Date for rec creation
* LFDAT TYPE LIKP-LFDAT, "Delevery Date
* WAERK TYPE LIKP-WAERK, "Currency
kunnr type likp-kunnr, "Ship-To Party
kunag type likp-kunag, "Sold-to party
traty type likp-traty, "Means-of-Transport
end of t_likp.
types: begin of t_lips,
vbeln type lips-vbeln, "Delivery
posnr type lips-posnr, "Delivery item
matnr type lips-matnr, "Material Number
arktx type lips-arktx, "Short Text for Sales Order Item
lfimg type lips-lfimg, "Actual quantity delivered
netpr type lips-netpr,
* MEINS TYPE LIPS-MEINS, "Base Unit of Measure
vgbel type lips-vgbel, "Doc no of the reference document
end of t_lips.
types: begin of t_vbpa,
vbeln type vbpa-vbeln, "SD DocumenT Number
posnr type vbpa-posnr, "Item number
parvw type vbpa-parvw, "Partner function
kunnrb type vbpa-kunnr, "Customer Number 1
end of t_vbpa.
types: begin of t_kna1,
kunnr type kna1-kunnr, "Customer Number 1
name1 type kna1-name1, "Name 1
ort01 type kna1-ort01, "City
adrnr type kna1-adrnr, "Address
end of t_kna1.
types: begin of t_li_vbpa,
vbeln type likp-vbeln, "Delivery
erdat type likp-erdat, "Date for rec creation
* LFDAT TYPE LIKP-LFDAT, "Delevery Date
* WAERK TYPE LIKP-WAERK, "Currency
kunnr type likp-kunnr, "Ship-To Party
kunag type likp-kunag, "Sold-to party
traty type likp-traty, "Means-of-Transport
vbeln1 type lips-vbeln, "Delivery
posnr type lips-posnr, "Delivery item
matnr type lips-matnr, "Material Number
arktx type lips-arktx, "Short Text for Sales Order Item
lfimg type lips-lfimg, "Actual quantity delivered
netpr type lips-netpr, "Net Price
* MEINS TYPE LIPS-MEINS, "Base Unit of Measure
vgbel type lips-vgbel, "Doc no of the reference document
vbeln3 type vbpa-vbeln, "SD DocumenT Number
parvw type vbpa-parvw, "Partner function
kunnrb type vbpa-kunnr, "Customer Number 1
end of t_li_vbpa.
types: begin of t_final,
vbeln type likp-vbeln, "Delivery
erdat type likp-erdat, "Date for rec creation
kunnr type likp-kunnr, "Ship-To Party
kunag type likp-kunag, "Sold-to party
traty type likp-traty, "Means-of-Transport
vbeln1 type lips-vbeln, "Delivery
posnr type lips-posnr, "Delivery item
matnr type lips-matnr, "Material Number
arktx type lips-arktx, "Short Text for Sales Order Item
lfimg type lips-lfimg, "Actual quantity delivered
netpr type lips-netpr, "Net Price
vgbel type lips-vgbel, "Doc no of the reference document
vbeln3 type vbpa-vbeln, "SD DocumenT Number
parvw type vbpa-parvw, "Partner function
kunnrb type vbpa-kunnr, "Customer Number 1
name1 type kna1-name1, "Name 1
ort01 type kna1-ort01, "City
adrnr1 type kna1-adrnr, "Address
name2 type kna1-name1, "Name 1
ort02 type kna1-ort01, "City
adrnr2 type kna1-adrnr, "Address
name3 type kna1-name1, "Name 1
ort03 type kna1-ort01, "City
adrnr3 type kna1-adrnr, "Address
end of t_final.
* D A T A D E C L A R A T I O N
*&*********Internal Table Declaration****************&*
data: it_likp type standard table of t_likp.
data: it_lips type standard table of t_lips.
data: it_vbpa type standard table of t_vbpa.
data: it_kna1 type standard table of t_kna1.
data: it_li_vbpa type standard table of t_li_vbpa.
data: it_li_vbpa_temp type standard table of t_li_vbpa.
data: it_final type standard table of t_final.
*&*********Work Area Declaration********************&*
data: wa_likp type t_likp.
data: wa_lips type t_lips.
data: wa_vbpa type t_vbpa.
data: wa_kna1 type t_kna1.
data: wa_li_vbpa type t_li_vbpa.
data: wa_li_vbpa_temp type t_li_vbpa.
data: wa_final type t_final.
*&*********Data Declaration************************&*
data: d_vbeln type likp-vbeln.
data: flag type i value 0.
* S E L E C T I O N S C R E E N D E C L A R A T I O N
selection-screen begin of block block2 with frame title text-001.
select-options: s_vbeln for d_vbeln obligatory. "Delivery no
selection-screen end of block block2.
* A T S E L E C T I O N - S C R E E N E V E N T S
*AT SELECTION-SCREEN.
*PERFORM VALIDATE_DATA.
* S T A R T O F S E L E C T I O N E V E N T S
start-of-selection.
perform fetch_data.
perform merge_data_kna1.
*INCLUDE Z9BT_SH_***4_FORMS.
call function 'OPEN_FORM'
exporting
* APPLICATION = 'TX'
* ARCHIVE_INDEX =
* ARCHIVE_PARAMS =
device = 'PRINTER'
* DIALOG = 'X'
* FORM = ' '
language = sy-langu
* OPTIONS =
* MAIL_SENDER =
* MAIL_RECIPIENT =
* MAIL_APPL_OBJECT =
* RAW_DATA_INTERFACE = '*'
* SPONUMIV =
* IMPORTING
* LANGUAGE =
* NEW_ARCHIVE_PARAMS =
* RESULT =
exceptions
canceled = 1
device = 2
form = 3
options = 4
unclosed = 5
mail_options = 6
archive_error = 7
invalid_fax_number = 8
more_params_needed_in_batch = 9
spool_error = 10
codepage = 11
others = 12
if sy-subrc <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
endif.
sort it_final by vbeln.
loop at it_final into wa_final.
call function 'START_FORM'
exporting
* ARCHIVE_INDEX =
form = 'Z9BT_DELIVERY'
language = sy-langu
* STARTPAGE = ' '
* PROGRAM = ' '
* MAIL_APPL_OBJECT =
* IMPORTING
* LANGUAGE =
exceptions
form = 1
format = 2
unended = 3
unopened = 4
unused = 5
spool_error = 6
codepage = 7
others = 8
if sy-subrc <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
endif.
call function 'WRITE_FORM'
exporting
element = 'ITEM_LIST'
function = 'SET'
type = 'BODY'
window = 'MAIN'
* IMPORTING
* PENDING_LINES =
* EXCEPTIONS
* ELEMENT = 1
* FUNCTION = 2
* TYPE = 3
* UNOPENED = 4
* UNSTARTED = 5
* WINDOW = 6
* BAD_PAGEFORMAT_FOR_PRINT = 7
* SPOOL_ERROR = 8
* CODEPAGE = 9
* OTHERS = 10
if sy-subrc <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
endif.
call function 'END_FORM'
* IMPORTING
* RESULT =
exceptions
unopened = 1
bad_pageformat_for_print = 2
spool_error = 3
codepage = 4
others = 5
if sy-subrc <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
endif.
endloop.
call function 'CLOSE_FORM'
* IMPORTING
* RESULT =
* RDI_RESULT =
* TABLES
* OTFDATA =
exceptions
unopened = 1
bad_pageformat_for_print = 2
send_error = 3
spool_error = 4
codepage = 5
others = 6
if sy-subrc <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
endif.
*& Form VALIDATE_DATA
* text
* --> p1 text
* <-- p2 text
form validate_data .
select single vbeln into wa_likp-vbeln
from likp where vbeln in s_vbeln.
append wa_likp to it_likp.
if sy-subrc <> 0.
flag = 1.
endif.
endform. " VALIDATE_DATA
*& Form FETCH_DATA
* text
* --> p1 text
* <-- p2 text
form fetch_data .
select a~vbeln
a~erdat
a~kunnr
a~kunag
a~traty
b~vbeln
b~posnr
b~matnr
b~arktx
b~lfimg
b~netpr
b~vgbel
c~vbeln
c~parvw
c~kunnr
into table it_li_vbpa
from likp as a
left outer join lips as b on a~vbeln = b~vbeln
inner join vbpa as c on b~vgbel = c~vbeln
where a~vbeln in s_vbeln and
c~parvw = 'RE'.
endform. " FETCH_DATA
*& Form MERGE_DATA_KNA1
* text
* --> p1 text
* <-- p2 text
form merge_data_kna1 .
if it_li_vbpa[] is not initial.
it_li_vbpa_temp[] = it_li_vbpa[].
sort it_li_vbpa_temp by kunnr.
delete adjacent duplicates from it_li_vbpa_temp comparing kunnr.
loop at it_li_vbpa into wa_li_vbpa.
read table it_li_vbpa_temp into wa_li_vbpa_temp with key kunnr =
wa_li_vbpa-kunag.
if sy-subrc <> 0.
wa_li_vbpa_temp = wa_li_vbpa.
append wa_li_vbpa_temp to it_li_vbpa_temp.
endif.
read table it_li_vbpa_temp into wa_li_vbpa_temp with key kunnr =
wa_li_vbpa-kunnrb.
if sy-subrc <> 0.
wa_li_vbpa_temp = wa_li_vbpa.
append wa_li_vbpa_temp to it_li_vbpa_temp.
endif.
endloop.
endif.
if it_li_vbpa_temp[] is not initial.
select kunnr
name1
ort01
adrnr into table it_kna1 from kna1
for all entries in it_li_vbpa_temp
where kunnr = it_li_vbpa_temp-kunnr.
endif.
loop at it_li_vbpa into wa_li_vbpa .
wa_final-vbeln = wa_li_vbpa-vbeln.
wa_final-erdat = wa_li_vbpa-erdat.
*it_final-LFART = it_li_vbpa-LFART.
wa_final-kunnr = wa_li_vbpa-kunnr.
wa_final-kunag = wa_li_vbpa-kunag.
*it_final-VSTEL = it_li_vbpa-VSTEL.
wa_final-traty = wa_li_vbpa-traty.
wa_final-vbeln1 = wa_li_vbpa-vbeln.
wa_final-posnr = wa_li_vbpa-posnr.
wa_final-matnr = wa_li_vbpa-matnr.
wa_final-arktx = wa_li_vbpa-arktx.
wa_final-lfimg = wa_li_vbpa-lfimg.
wa_final-netpr = wa_li_vbpa-netpr.
*wa_final-GEWEI = it_li_vbpa-GEWEI.
*it_final-VOLUM = it_li_vbpa-VOLUM.
*it_final-VOLEH = it_li_vbpa-VOLEH.
wa_final-vgbel = wa_li_vbpa-vgbel.
wa_final-vbeln3 = wa_li_vbpa-vbeln.
*wa_final-PARVW = wa_li_vbpa-PARVW.
wa_final-kunnrb = wa_li_vbpa-kunnrb.
read table it_kna1 into wa_kna1 with key kunnr = wa_li_vbpa-kunnr.
if sy-subrc = 0.
wa_final-name1 = wa_kna1-name1.
wa_final-ort01 = wa_kna1-ort01.
wa_final-adrnr1 = wa_kna1-adrnr.
endif.
read table it_kna1 into wa_kna1 with key kunnr = wa_li_vbpa-kunag.
if sy-subrc = 0.
wa_final-name2 = wa_kna1-name1.
wa_final-ort02 = wa_kna1-ort01.
wa_final-adrnr2 = wa_kna1-adrnr.
endif.
read table it_kna1 into wa_kna1 with key kunnr = wa_li_vbpa-kunnrb.
if sy-subrc = 0.
wa_final-name3 = wa_kna1-name1.
wa_final-ort03 = wa_kna1-ort01.
wa_final-adrnr3 = wa_kna1-adrnr.
endif.
append wa_final to it_final.
clear wa_final.
endloop.
endform. -
Hello,
I was wondering if it's possible have a matrix which shows total credits by month and have drill-down groupings to display the invoice numbers for each credit. Then, once the drill-down is expanded for a particular month, be able to click on the invoice
number and have another table under the matrix display the details of the invoice.
I don't really want a drill-through because that opens a different report in the window, what I want to be able to do is stay on the main report. I also don't want to drill-into the invoice details from the matrix as that expands the matrix out and
makes it unruly and ugly. I've been playing with subreports but not able to get what I want out of it.
I hope this makes sense - is there a way to do this in SSRS?
Thanks!!Hi AvenueStuart,
After testing the issue in my environment, we can refer to the steps below to work around the issue:
Create a new table with the details of the invoice under the matrix.
Add a parameter named invoice which get available values from the invoice field in the dataset.
Right-click the [Sum(invoice)] cell to add an action with “Go to report” option, and specify the same report with the parameter below:
Name: invoice
Value: [invoice]
Right-click the table to add a filter in the table:
Expression: [invoice]
Operator: =
Value: [@invoice]
If there are any misunderstanding, please elaborate the issue for further investigation.
Thanks,
Katherine Xiong
Katherine Xiong
TechNet Community Support -
ALV report i want to display in each P.O , i want to display item details
Hi all,
in alv report i want to display in each P.O , i want to display item details. is it possible without hierarchical display.hi,
once you retrive po number from ekko then retrive data from ekpo and loop at ekpo and append all the item details to your internal table. -
Good afternoon, I would like some information I have an ipod nano 6th generation and has the same one-year warranty is only 2 months of use, and it fell down and broke the glass of the display, I called technical assistance in Brazil and informed me that Brazil has no repair services for Apple, which was the basis of its price change in the exchange is not worth half the value of the product.
I wonder how I do to change this device without the expense of 50% for the same product is in warranty?
Thanks in advance.yes agree, plus a multinational seeing a product and has no technical assistance to do the maintenance then it's no use I buy a new product if it is damaged I will always be because it has no prejudice in this maintenance.
sorry but even more products coming from China to Brazil in technical assistance. -
Second line item in Shoppin cart is not displaying the details
Second line item's district value is not displayed when the detailed button of second line item is clicked.
In the shopping cart , there are two line items are added. ( before ordering )
click on the detail button of first line item, then click on the Ship to address tab . it is displaying the details of the first line item ship to address.
For getting the value in the district field, BBP_doc_change_badi is implemented .
The problem is when i click on the detail button of second line itme , the value in the district field is cleard.
When i click on refresh buttion after that, the value is there.
I debugged BBP_DOC_CHANGE_Badi~bbp_SC_change method,
When the second line item is clicked, it populates only the value of first line item . After that if i click on any other buttion, the it_item in the badi populates the second line item value.
Is this a standard error in SRM or is there any way to display the value of second line item when it is clicked at the first timeHi,
In item category details insure there is tickmark for Schedule line allowed,
In sales order at item level under shipping tab see storage location ,plant is appearing or not,
Kapil -
I want to display invoice details(MIRO) in REPORT
Hi,
i am new for abap can any one please send code for to display miro details in a report based on below logic.
Pass the RSEG-BELNR & RSEG-GJAHR joined together into BKPF-AWKEY to get the MIRO Doc date BKPF-BUDAT, vendor invoice number BKPF-XBLNR& Vendor invoice date BKPF-BLDAT.
Pass the RSEG-BELNR & RSEG-GJAHR joined together into BKPF-AWKEY to get the BKPF-BELNR & BKPF-GJAHR to pass this into BSEG-BELNR BSEG-GJAHR to get the BSEG-LIFNR, BSEG-DMBTR, BSEG-ZTERM corresponding to the vendor code.Set the option PRINT OBJECT ON to First Page, I think this might resolve your problem.
-
Display Vendor details through Screen Personas
Hello Friends,
I am trying to get hands on experience in Screen Personas and while trying to work on display vendor details in one screen getting error.
First, I am trying display XK03 details in one screen and I am going step by step (first to display address details), before I include all information in one Screen.
Clarifications:
1. In XK03, I want to make certain check box (General Data & Accounting info) as selected and make it as “Default”.
2. I want to make Company Code as default “1000”.
3. And from next screen, I want to copy Address details in first screen.
If you can help me, that would be of great help.
Please find below screenshot of Script
Screenshot of Vendor screen.
Please let me know what mistake I am doing.
Regards,
SrikanthHi Srikanth,
I think I understand you now. When you press enter, it goes to the vendor display address screen instead of running the script?
Have you linked the script to the enter vendor number field?
If not, click in the vendor number area:
then click the link button:
You will see this:
Again, use the object picker to select your script button.
Then Press Link:
And save.
This way when you press enter it should run the script for you.
Again, I apologise if I have misunderstood you.
regards,
Ian -
Fm to display material details based on material description
Hi,
Is there any bapi or fm to display material details based on material description
Regards,Hi,
Get the material number from material description from MAKT table and then use the FM BAPI_MATERIAL_GET_DETAIL.
Regards,
Nagaraj -
How to display the detailed navigation with the Search Results
Hello Gurus,
I was able to display the search results in the same frame rather than opening the new window and getting it displayed. Now when the search results are displayed, my detailed navigation and portal favorites etc.. all the iviews are automatically suppressed.
Please help me displaying the search results with Navigation Panel.
Regards
V.Hi Vaibhav,
What do you mean by suppressed?
Is it gone, or just closed?
If it is just closed, you can try 2 things:
1. Check if the property "Initial State of Navigation Panel" of the page has any influence.
2. There is a javascript method that opens it.
You can see it by importing the file '<b>com.sap.portal.layouts.framework.par.bak</b>'.
Navigate to
System Administration -> Support -> Support Desk -> Portal Runtime -> Browse deployment
then the folder
ROOT/WEB-INF/deployment/pcd
and press download.
Import from par to Developer Studio, and check the javascript files under dist/PORTAL-INF for a function called something like 'expandTray'.
Hope that helps,
Yoav. -
Detail of Cost elements Settled to VV
Hi experts
How can see the details of cost elements that has been settled to a specific Value Filed?. I made assessment cycle and defined the cost elemnts groups and Value Fields, but I need to cross check the amount assessed to COPA with that in Cost Center.
Any clues?HI,
One alternative is to use KE24 (Actual line item) report, where you can include 'Cost element' and 'Value fields' in the layout to compare. Or, you can even use table CE1XXXX.
Hope this helps.
Maybe you are looking for
-
What's a good 3 bureau monitoring service???
Morning All, Whats a good 4 bureau monitoring services that gives you access to your scores, and allows you to view your three credit reports on a daily basis? I have USAA Credit Monitoring premium, and it's changing and will only allow me to pull m
-
WD Elements External Hard Drive not mounting
My external hard drive is not mounting it is connected by via USB connected directly to my Macbook. When I connect it error "The disk you inserted is not redable by this computer". I can see it on Disk Utility however all options are grayed out. I al
-
IPhoto doesn't work in Yosemite
Since upgrading to 10.10 (and subsequently the new iPhoto) I haven't been able to use it because of the attached prompt I went online and downloaded and installed the upgrader but to no avail. Has anyone had this issue/found a solution? Thanks
-
Yesterday I decided to install Windows on my MacBook. I had both a Windows XP installation disk and a Vista Upgrade disk. I successfully did both according to the Boot Camp instructions. After tweaking Vista and downloading software and upgrades that
-
Hi, please I need help for n500
Hello, I have a notebook Lenovo 3000 n500 4233-3hs and I had format the notebook for install windows vista 64 Bits. now I don´t find the video and BIOS drivers for this system. please cand you help me with that... thnks