PLD Header Detail
hi,
I have an UserDefined Master and Detail table , i want to show report like header and detail (like A/R Invoice) , is it possible using PLD? I put the field in area header then , blank value is showing , if i put the field in Page Header then it is showing first row data in the table .
Pls help
Hi
You can get the data of the UDT in the repeatative area only. About the header you can make it in whichever way you had made for other document.
Hope this Solve
Closed the thread if solve
Ashish Gupte
Similar Messages
-
How to NOT display header details in every page when printed with PLD
Hi All
I am printing a report of all related activities of a business partner using PLD. in the printout the header details of business partner such as name, phone details are printing in every page along with contents. how to avoid this situation printing the header details in everypage except first page?
SV ReddyHi,
Add a formula field to the page header. The formula field will need to contain the following text on the Content tab.
CurrentPage()
Add another formula field, once again add the following to the Content tab
Field_101=='1'
in the example above, Field_101 is the field id for the first formula field you added.
Now all you need to do is link the fields that you only want printed on the 1st page to the 2nd formula field you added.
Regards,
Adrian -
Issue in displaying header details in ALV report
Hi,
I have used slis_t_listheader and REUSE_ALV_COMMENTARY_WRITE to display the header details in ALV report.I want the details to be displayed as below.
Requester : ---------------------- Page: 1
Program: ----------------------- Date:---------
Title of Report
But when I use the structure slis_t_listheader to display the header details,all the fields are coming one below the other.
How can I get the fields as shown in the above format
Edited by: Abaper12345 on Jun 25, 2009 7:54 AMHi,
Go through following code... its showing the data exactly the way you want....
REPORT TEST3.
TYPE-POOLS:slis.
TABLES:MARA.
*Type Declaration
TYPES:BEGIN OF t_mara,
matnr TYPE mara-matnr,
ersda TYPE mara-ersda,
ernam TYPE mara-ernam,
END OF t_mara.
*Internal Table
data:it_mara type standard table of t_mara.
*Work Area
data:wa_mara type t_mara.
DATA:i_repid TYPE sy-repid .
i_repid = sy-repid.
*Declaration for field catalog
DATA : fcat TYPE slis_t_fieldcat_alv,
wa_fcat TYPE slis_fieldcat_alv.
*Declaration for Layout
data : WA_LAYOUT type SLIS_LAYOUT_ALV.
*Initializing ColumnWidth_Optimize For Layout
WA_LAYOUT-COLWIDTH_OPTIMIZE = 'X'.
START-OF-SELECTION
START-OF-SELECTION.
*Fetching data into internal tables
PERFORM get_data.
*Buil Fieldcatalog
PERFORM build_fcat.
*Display ALV Report
PERFORM alv_display.
*Build Fieldcat
FORM build_fcat .
wa_fcat-tabname = 'IT_MARA'.
wa_fcat-fieldname = 'MATNR'.
wa_fcat-inttype = 'C'.
wa_fcat-seltext_m = 'Material Number'.
wa_fcat-outputlen = 25.
wa_fcat-col_pos = 1.
APPEND wa_fcat TO fcat.
CLEAR wa_fcat.
wa_fcat-tabname = 'IT_MARA'.
wa_fcat-fieldname = 'ERSDA'.
wa_fcat-inttype = 'C'.
wa_fcat-seltext_m = 'Date'.
wa_fcat-outputlen = 25.
wa_fcat-col_pos = 1.
APPEND wa_fcat TO fcat.
CLEAR wa_fcat.
wa_fcat-tabname = 'IT_MARA'.
wa_fcat-fieldname = 'ERNAM'.
wa_fcat-inttype = 'C'.
wa_fcat-seltext_m = 'User'.
wa_fcat-outputlen = 25.
wa_fcat-col_pos = 1.
APPEND wa_fcat TO fcat.
CLEAR wa_fcat.
endform.
*& Form GET_DATA
text
--> p1 text
<-- p2 text
form GET_DATA .
select matnr ersda ernam from mara into table it_mara.
endform. " GET_DATA
*& Form ALV_DISPLAY
text
--> p1 text
<-- p2 text
form ALV_DISPLAY .
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
I_INTERFACE_CHECK = ' '
I_BYPASSING_BUFFER = ' '
I_BUFFER_ACTIVE = ' '
I_CALLBACK_PROGRAM = i_repid
I_CALLBACK_PF_STATUS_SET = ' '
I_CALLBACK_USER_COMMAND = ' '
I_CALLBACK_TOP_OF_PAGE = ' '
I_CALLBACK_HTML_TOP_OF_PAGE = 'HTML_TOP_OF_PAGE'
I_CALLBACK_HTML_END_OF_LIST = ' '
I_STRUCTURE_NAME =
I_BACKGROUND_ID = ' '
I_GRID_TITLE =
I_GRID_SETTINGS =
IS_LAYOUT =
IT_FIELDCAT = fcat
TABLES
t_outtab = it_mara
EXCEPTIONS
PROGRAM_ERROR = 1
OTHERS = 2
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
endform. " ALV_DISPLAY
*& Form html_top_of_page " I_CALLBACK_HTML_TOP_OF_PAGE "
FORM html_top_of_page USING document TYPE REF TO cl_dd_document.
CALL METHOD document->add_text
EXPORTING
text = 'Program'
sap_color = document->list_group
sap_fontstyle = document->standard
sap_emphasis = document->strong.
CALL METHOD document->new_line
EXPORTING
repeat = 1
CALL METHOD document->add_text
EXPORTING
text = 'Requester'
sap_color = document->list_group
sap_fontstyle = document->standard
sap_emphasis = document->strong.
CALL METHOD document->new_line
EXPORTING
repeat = 1
CALL METHOD document->add_gap
EXPORTING
width = 125
CALL METHOD document->add_text
EXPORTING
text = 'This Is Test Data'
sap_color = document->list_group
sap_fontsize = document->LARGE
sap_fontstyle = document->standard
sap_emphasis = document->strong.
ENDFORM. "HTML_TOP_OF_PAGE
Thanks & Regards
Ashu SIngh -
Problem in mapping xml data with header details from IPM 11g to BPEL
Hi,
I want to map xml data as a supporting content from IPM application to BPEL.
My xml is
<?xml version="1.0" encoding="utf-8"?>
<DocumentFile xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://tempuri.org/Document.xsd">
<Document DocumentType="Invoice">
<DocumentImage>
<Filename>\\10.205.0.209\Img\10883212.TIF</Filename>
</DocumentImage>
</DocumentFile>
If I remove header details from root element <DocumentFile> i.e. modified xml is
<DocumentFile>
<Document DocumentType="Invoice">
<DocumentImage>
<Filename>\\10.205.0.209\Img\10883212.TIF</Filename>
</DocumentImage>
</DocumentFile>
it works fine but i need to pass header details as well.
Please suggest.
Thanks,
PriyaHi Naveen,
In sxmb_moni the content transmitted to the adapter(RFC)is as follows
<?xml version="1.0" encoding="UTF-8" ?>
- <ns:ZRFID_EQUIP xmlns:ns="urn:sap-com:document:sap:rfc:functions">
- <RECORDS>
- <item>
<FLOC>f1-01-01</FLOC>
<RFID_NO>I006</RFID_NO>
</item>
- <item>
<FLOC>f1-01-02</FLOC>
<RFID_NO>I002</RFID_NO>
</item>
- <item>
<FLOC>f1-01-03</FLOC>
<RFID_NO>I003</RFID_NO>
</item>
- <item>
<FLOC>f1-01-04</FLOC>
<RFID_NO>I004</RFID_NO>
</item>
- <item>
<FLOC>f1-01-05</FLOC>
<RFID_NO>I005</RFID_NO>
</item>
- <item>
<FLOC>f1-01-06</FLOC>
<RFID_NO>I001</RFID_NO>
</item>
</RECORDS>
</ns:ZRFID_EQUIP>
At r/3 side the field floc and rfid_no gets mapped to floc which is of char30
eg floc=f1-01-01I006
rfid_no= -
In BDC VA02 i am uploading header details in BILLING PLAN tab.
Hi Friends,
In BDC VA02 i am uploading header details in BILLING PLAN tab.
I am having sales order no in flat file.
While i am clicking BILLING PLAN tab its showing 1 POPUP screen for Milestobe For billing plan (INPUT AS NETWORK NO).
Some sales order nos this popup is not coming.
How to code this bdc?CLOSED
-
ALV list Header details scattered
Hi All,
I have a ALV-LIST report output but the header details displayed are scattered in output. Can you suggest how to align all deatils properly aligned.Hi again,
1. first of all how are u writing / displaying
the alv header ?
2. using documentary write ?
then also, u can use one variable of
length 100 and use this concept.
3. If u are using top_of_page
event,
in this event, WE CAN use WRITE.
(i have used it, and it
works fantastic)
(not in case of alv grid)
4. My point is, what ever u are using,
use on variable of length 100.
WRITE value INTO variable.
using offset
and then proceed further.
regards,
amit m. -
How to get the Change Document Header details for a given date
Hi All,
Can anyone help me on this Change Document Header details(CDHDR).
Better way to pull the information of Change Document Header details(CDHDR). No Index is maintained for the tables.
So please suggest better Optimising techniques to get the Change Document Header details(CDHDR).
Using this Function module : CHANGEDOCUMENT_READ_HEADERS how to import the DATE_OF_CHANGE.
Thanks in advance
Regards
ChakriHI,
Go through the documenattion of the FM u can get the details.. and also where used list
Regards,
Nagaraj -
Fixed width file outgoing with header,detail and trailer in one map
we have a scenario where in we have to create an output file. the file is fixed width with three different kinds of records namely header, details and trailer. if the specification of the metadata of the file is specified how will we incorporate the creation of the file in one map since the map produces only one call to UTL_FILE and writes it.
there is a work around in a crude way where in we can define the file as a CSV and pass everything in an appanded string in one column. but i wanted to know how we can get the three logical records in one map..
thanks
kamalThe problem is not with generating the records.. i mean header , detail and trailer.
it is how we put them into a fixed width sampled file. if we look at the code generated we will see only one call being made to generate the file. -
Table name for the AMOUNT field in header details of costomer invoice
hi experts,
I need the table name for the field AMOUNT(wrbtr) which is in header details in fb70 tcode .I have checked many tables like bseg bsid, there its showing the amount but at item level.Hi,
the table behind structure INVFO is RBKP (Header level).
For item level you have table RSEG.
These tables refer to MM.
Once the MM documents are completed and you post the corresponding invoice RBKP data goes to BKPF and RSEG data goes to BSEG data.
The relattion between MM(RBKP/RSEG) and FI(BKPF/BSEG) documents is in field BKPF-AWKEY. This field usually contains (RBKP-BELNRRBKP-GJAHR that is MM documentMM year).
e.g. (BKPF-AWKEY = 51056024412009)
Best regards. -
Regarding Updating Shipment Header Details in VT02N tcode
Hi all,
I have created a dialog program, inwhich iam populating shipment related details.
1st Screen: Selection screen fields:
billing Doc
Billing date
2nd Screen: Based on Billing Document number and date, i have to fetch Shipment details using Table Control like:
shipment number, Output only
Forwarding Agent, input/Output both -
editable
Shipment start Date, input/Output both -
editable
Container id. input/Output both -
editable
and i have created a button as "Update VT02N" on second screen.
When we choose Columns in table control and click on "Update VT02N", then it should trigger VT02N transaction and update the shipment details with following fields:
1. Forwarding agent
2. Container id
3. Shipment start Date.
So i waht to know any BAPI available to update Shipment Header details in VT02N tcode.
I have tried: BAPI_SHIPMENT_CHANGE -
NOT WORKING PROPERLY.
SD_SHIPMENT_SAVE -
NOT WORKING.
IF ANY BODY HAS SOME SOLUTION, PL SUGGEST WITH STEPS.
HELPFUL ANSWERS -
BETTER POINTS...
Regards,
VamsyHi,
Have you called the BAPI_TRANSACTION_COMMIT after executing BAPI_SHIPMENT_CHANGE , even then if it is not working
you can check the FM SD_SHIPMENT_HEADER_CHANGE.
Thanks. -
Hi,
Is there any report of PO header details which gives the below details?
1. PO
2. PO creator(Planner)
3. Buyer
4. Customer Data in header details ( In our organisation we put email ID which should be available in the report).
Regards,
RajaneeshHi Rajaneesh
The table EKKO contains the following fields (SE16 -> EKKO)
EBELN Purchasing document
AEDAT Created on
ERNAM Created by
LIFNR Vendor
IHREZ Your Reference
VERKF Salesperson
LLIEF Supplying Vendor
KUNNR Customer
etc..
I hope this can help -
Portal Header details to be added
Hi,
In the SAP GUI, in a report program, I'm creating a URL by calling the function module CALL_BROWSER. I'm calling the report program in Portals. In the report program, when I call the URL, the URL should appear with Portal header details.
When the call is made from portals, is it possible to get the Portal Header details in the BSP page which I'm calling from the Report program.
Thanks & Regards
G.RajaHi!
With EP60 you should use the Portal URL instead of the backend url.
The Portal URL points to the Portal iView with a URL like this: http://<portalserver>:<port>/irj/portal/?NavigationTarget=ROLES%3A%2F%2Fportal_content%2Fyour.folder%2Fyour.sub.folder%2Fcom.your.iview
Hope this helps.
Regards,
Volker -
Help required in getting the header details.
Hi All ,
In my first WDA , I am showing the header details of Purchase Order for a input parameter in table
and now I want to show the items details for that particular PO on lead selection of the the PO details
in my second application . How can I achieve the desired functionality .
Please help , any pointers regarding this ..
Thanks in Advance.Hi ,
U need tto get the URL of the called application through method
construct_wd_url and generate the popup window for the second application with the above URL .
in ur first app , crate an event on lead selection of the table and write the following piece of code :
DATA:
w_url type string,
w_value type string.
call method cl_wd_utilities=>construct_wd_url
exporting
application_name = u2018 u2018 // here specify the name of the called application
importing
out_absolute_url = w_url.
* make the Value type compatible that has to be passed with the URL
w_value = lv_ebeln.
* Attach the parameters and its value with the URL that
* have to be passed to the 2nd application
call method cl_http_server=>append_field_url
exporting
name = ' ' // input parameter here
value = w_value
changing
url = w_url.
* generate a popup window for the 2nd application with the above URL
DATA lo_window_manager TYPE REF TO if_wd_window_manager.
DATA lo_api_component TYPE REF TO if_wd_component.
DATA lo_window TYPE REF TO if_wd_window.
lo_api_component = wd_comp_controller->wd_get_api( ).
lo_window_manager = lo_api_component->get_window_manager( ).
lo_window = lo_window_manager->create_external_window(
url = w_url ).
lo_window->open( ).
Now in the doinit of ur called application , u can get the value for that particular input parameter
[code}
DATA:
lv_param type string.
lv_param = wdr_task=>client_window->get_parameter( ' u2018 ). // paramtr name
Now select the appropriate values in internal table for this and bind it to ur context node ..
I hope this helps.. -
how to define a schema for fixed length consisting of multiple records of different types having header detail and footer at positions 22 and 23 namely having 10 for header ,20 for detail and 30 for footer.
here is the sample file
DDWTYBILL13092502572 1000000112\\NHLSFS\ORACLE\ORACLE\BILLING\VERIFY\ 2013/09/25 01:19:08 BILLEND
DDWTYBILL13092502572 2000000212PRIVATE PRIVATE STY5572142 010700 INV 12STYD000789 02-AUG-20130000010472 STY STY 1100611006MGIT 91 NNM DIMPHANA,CN,CELESTE NERINA 09-JAN-1964 TYG A2 DR DU PREEZ 5602181 63301345 TB731543 Suspect TB ?CA, (L) EMPIEEM Ward A2 TYGERBERG HOSPITAL Z03.0 Z03.9 05-AUG-201305-AUG-201324-SEP-2013FEND 113.60
DDWTYBILL13092502572 2000000312PRIVATE PRIVATE STY5572149 010700 INV 12STYD000789 02-AUG-20130000010472 STY STY 1100611006MGIT 91 NNM DIMPHANA,CN,CELESTE NERINA 09-JAN-1964 TYG A2 DR DU PREEZ 5602181 63301345 TB731548 Empyema BPF Ward A2 TYGERBERG HOSPITAL Z03.9 Z03.9 05-AUG-201305-AUG-201324-SEP-2013FEND 113.60
DDWTYBILL13092502572 2000000412PRIVATE PRIVATE STY5572351 010700 INV 12STYD000789 02-AUG-20130000010472 STY STY 1100611006MGIT 91 NNM DIMPHANA,CN,CELESTE NERINA 09-JAN-1964 TYG A2 DR DU PREEZ 5602181 63301345 TB731584 Suspect TB ?EMPIEEM, ?CA Ward A2 TYGERBERG HOSPITAL Z03.0 Z03.9 05-AUG-201305-AUG-201324-SEP-2013FEND 113.60
DDWTYBILL13092502572 2000000512PRIVATE PRIVATE STY5572352 010700 INV 12STYD000789 02-AUG-20130000010472 STY STY 1100611006MGIT 91 NNM DIMPHANA,CN,CELESTE NERINA 09-JAN-1964 TYG A2 DR DU PREEZ 5602181 63301345 TB731585 Suspect TB ?EMPIEEM, ?CA Ward A2 TYGERBERG HOSPITAL Z03.0 Z03.9 05-AUG-201305-AUG-201324-SEP-2013FEND 113.60
DDWTYBILL13092502572 2000000612MAJOR MAJOR STY5577530 010700 INV 12ZTYG000009 02-AUG-20130000010472 STY STY 1100611006MGIT 91 NNS ZOZI,S,SIYAMBONGA 27-MAR-2010 TYG D3 DR MAHOMED 5602181 113799662 TB731663 Lymphadenitis Ward D3 TYGERBERG HOSPITAL I88.9 Z03.9 H1 07-AUG-201307-AUG-201324-SEP-2013MEND 58.52
DDWTYBILL13092502572 2000000712MAJOR MAJOR STY5577537 010700 INV 12ZTYG000009 06-AUG-20130000010472 STY STY 1100611006MGIT 91 NNS DLAMINI,N,NTLANTLA 09-OCT-1976 TYG F1 DR WZESE 5602181 135524676 TB731666 Suspect TB Ward F1 TYGERBERG HOSPITAL Z03.0 Z03.9 H1 07-AUG-201314-AUG-201324-SEP-2013MEND 58.52
DDWTYBILL13092502572 30003034120000003032ENDYou can create an nXSD using Native Format Builder and use lookAhead attribute to read values at specific position and use that as the choice. You can find an example here
http://docs.oracle.com/cd/E11036_01/integrate.1013/b28994/nfb.htm#BGBBAJFD -
IHC errors :valid clearing partner not found and no header details found while idoc creation after f110
Please let me know where the config is missing for ihc automatic payment program.in we02 status is not 53.
Please helpHi
Please share the error message in the IDOC.
If the error message is IHC204 "No valid clearing partner was found", it may be due to the missing correct configuration in Set Up Creation of Payment Requests for Inbound IDoc in FI, which links the clearing partner, ALE logical system partner type and IHC account number.
Cheers
taro
Maybe you are looking for
-
Can I record audio on an iPad direct from a mac via line out
I use the noteability app alot, recording audio at a live lecture works great. However, due to a bug you can not add an audio file directly into your notes (at the moment), you must record them. I have a bunch of podcasts that I would like to add to
-
Attempting to Launch Data Control windows using reentrant execution using LV7.1
Need to get several devices connected to one Data collection System. Each Window will poll its assigned device and get a data packet which needs to go into a histograph. All the devices then need to pass their data back into the main window to be cal
-
Is it possible to change my credit card information in my iPhone4?
Is it possible to change my credit card information in my iPhone4?
-
Suppose i want to create anA/R invoice in which i have 3 items namely Item A,Item B,Item C Item A-----Rs.4000 @vat 4% = 4160 Item B----Rs.4000 @vat 4% =4160 Item C-----Rs.4000 @vat 4% =4160 Total =12480 Now i
-
I have migrated a BPEL process from 11.1.1.3 to 11.1.1.5. When deploying my migrated BPEL process from JDEVELOPER I get the following error: java.lang.ClassNotFoundException: oracle.bpel.services.datacontrol.types.Number I found this: http://www.oras