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.Raja
Hi!
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
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 -
Portal Master-detail form how to auto assign detail record sequence number
Portal Master-detail form how to auto assign detail record sequence number.Please help me?
You can just read the following section
Can I specify a sequence number generator as the default value for a form column?
Yes. Enter the following in the "default value" field for the column:
#<schema name>.<sequence name>.nextval
where <schema name> is the name of the schema containing the sequence, and <sequence name> is the name of the sequence. The entry is preceded by a "#".
For example, if the schema name is "SCOTT", and the sequence name is "CUSTOMER_SEQ", the default value entry is:
#SCOTT.CUSTOMER_SEQ.NEXTVAL
same way you can do for master - detail form.
for more information on forms please refer the following URL.
http://otn.oracle.com/products/iportal/htdocs/portal_faq.htm#BuildingApplications
hope it helps. -
How to open a new window with no Portal Header and Portal Navigation bar
Hi,
I am working with the EPCM.doNavigate() method and passing the value "1" for the mode parameter in order to open it in a seperate window without the Portal header.
For some reason, the Portal header is still seen in the new window.
Do anyone know the reason?
Thanks,
Aviad
int openType = 1;
"EPCM.doNavigate(\""Url"\", "openType"); \n"Hi Aviad,
Try out the command
EPCM.doNavigate(\""Url"\", "openType",'toolbar=no','status=no','menubar=no');
<b>Put opentype=1</b>
I think it will work
Thanx & Regards
Anish -
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. -
Cannot view personalize link in the portal header
I cannot see the personalize link in the portal header of the BI portal. I have already verified the two things below:
1) personalize link is enabled in masthead iview through portal content->portal users->standard portal users->default frame work page-> select masthead-> open its properties->enable *Show Link in Masthead: Personalize *
2) The end user role is assigned under content administration->portal content->content provided by sap->end user content->standard portal users->worksets->portal personalization.
What else can i check, please help. I need this for end users to carry out user mapping. Or any other way they can carry out user mapping ?
thanksHi Balajee,
He can see the masthead property Show link in Masthead: Personalize so I doubt you need to make any changes to the PAR file for masthead.
personalize link is enabled in masthead iview through portal content->portal users->standard portal users->default frame work page-> select masthead-> open its properties->enable *Show Link in Masthead: Personalize *
Cheers-
Pramod -
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 -
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..
Maybe you are looking for
-
Mac OS X 10.5.8 Safari 5.0.6 Flash Player 10.3 I'm not sure what the problem is. I could play youtube videos etc fine last time I was on the computer and now they just wont work and say 'plug-in missing'. But when I try to download the latest compati
-
The server responded with an error in iCal
I've been getting this message all day in iCal: The request for account "iCloud" failed. The server responded with "500" to operation CalDAVAccountRefreshQueueableOperation. Any solution to this madness?
-
Hi all, I create a table named "Organism" on my marvel schema. When I do a SELECT * FROM "Organism", I get correct results, but when I try to do DESC "Organism" I get an error message saying the table doesn't exist. Is there something I am missing ?
-
SharePoint Provider Hosted App
Hi all, I'm new in SP online development, and I want to know how can I open a SharePoint Provider Hosted App in visual studio? what are the steps? can I use it if I'm not using Azure? thank's!!
-
So I've searched and searched for this to no avail. Is there anyway to return to a SLiM prompt after returning from pm-suspend, as opposed to directly returning to the open session? Maybe something to do with return hooks? I'm currently running Openb