Set/change dynamic header configuration from ABAP Proxies
This question is with reference to Async ABAP Proxies.
Is it possible to set or change dynamic configuration header of an outbound (client) proxy, from within an inbound (server) proxy ? If it is, how do I do it?
Can someone please advise?
Thanks,
Badari
I am sorry to have to say, that this is not possible.
Regards
Stefan
Similar Messages
-
How To change UME Data source from Abap to Java.
Hi Experts,
Can any one give me Detailed Steps of how to Migrate from UME Data Source from Abap to Java, as the Ume Data Source is initally configured for Abap.
Regards,
SivaSiva,
Please search before you post a question.
This has been discussed many a times in here. Please refer to this [thread|To change ABAP UME database to Portal database;.
Good Luck!
Sandeep Tudumu -
Was there a change in method names for ABAP Proxies ???
Hi all,
i am wondering if there was a change in the method names when using ABAP proxies.
In my projects there were always the methods execute_synchronous and execute_asynchronous when generating proxies.
In a current project i created some ABAP proxies and the method names are not the same any longer. Now the method takes the name of the Message interface. I observed this in Backendsystems NW2004s (Basis 7.0) with SP14 and 15. It seems that it has changed since the sproxy was integrated in SE80.
Can anybody tell me, how i can use the "old" method names again when generating proxies ?
Best regards,
martinActually i guess they did in more SOA way. If u see it says connecting to ESR rather than integration repository.
Yes. In order to allow several operations for a message interface, the methods of the ABAP proxies get the operation name as method instead of a constant (the Java proxies alwas had this behaviour).
could u pl highlight what other operations are allowed on message interface rather than sending a message to the XI either in synchronous or asynchronous manner?
Thanks and Regards
Rajeev Patkie -
Need feasible one from Abap Proxies or RFC Adapters
Hi Experts,
I have two ways to do my scenario, either I can go for RFC adapter or ABAP server proxies. Out of these two I can't judge which one is good at performance.But I have a favour on ABAP proxies. Please comment on this and it would be more helpful if u provide related document on this.
ThanksHi.
As far as i have read and known, ABAP Proxies are best for performance.. Lets see what the other gurus say too .
Thanks
Sanjo -
Changing default heading in the Abap report
Hi experts,
How can I change the default comment lines in the ABAP report heading. Currently in our system it is as below..
*& Report ZFI_TEST_REPORT
I want it into my custom.hi,
you can do that using Patterns
check below link hoe to create pattern
How to create statement templates in ABAP?
regards
Deepak. -
How to set variant for ALV grid from ABAP
Hello,
I have a program which displays some data with ALV grid. Then after some operation I would like to set different layout for the grid, but not by choosing it manually but by the program. I thought that it would be enough to use the method SET_VARIANT, so I'm setting DISVARIANT structure properly, using SET_VARIANT method and after that I'm calling REFRESH_TABLE_DISPLAY but layout is not changed. What else should I do? Is that possible?
Best regards,
MarcinHi,
Check this
* While declaring select-options
parameters: p_vari like ltdx-variant. " Layout
* then add the following code in
at selection-screen on value-request for p_vari.
perform f_variant_f4 using p_vari.
* Code for f_variant_f4
form f_variant_f4 using p_vari.
* private variables
data : v_exit type c.
clear gs_variantt.
v_variant_save = 'U'.
call function 'LVC_VARIANT_F4'
exporting
is_variant = gs_variant
i_save = v_variant_save
importing
e_exit = v_exit
es_variant = gs_variantt
exceptions
not_found = 1
program_error = 2
others = 3.
if sy-subrc ne c_0.
message i999(yscc) with text-064. " No Layout Available for F4
endif.
if v_exit is initial.
gs_variant-variant = gs_variantt-variant.
p_vari = gs_variantt-variant.
endif.
endform. " F_variant_f4
* In PBO
call method grid1->set_table_for_first_display
exporting
is_layout = gs_layout
is_variant = gs_variant
i_save = 'A'
it_toolbar_excluding = i_exclude[]
changing
it_outtab = i_output[]
it_fieldcatalog = i_fieldcat[]
exceptions
invalid_parameter_combination = 1
program_error = 2
too_many_lines = 3
others = 4.
a® -
Hi,
I am having a requirement in which, based on the value of a source node I need to decide what the destination address should be.
E.g.: If source node, Name = sap01, then my message should reach the target with url as http://sap01/Storage/Upload.asmx
In this manner there would be two more conditions. This logic has to be implemented using a DynamicHeaderConfiguration in a mapping.
This is to be used on a SOAP receiver side in SAP-PI.
Please provide pointers on how to solve this.
Thanks,
Abhishek.Hi,
In this scenario it is expected that I achieve the logic in the mapping itself and that there is no need of implementation of any adapter module in the CC (confused with this part).
I have written an UDF to extract the Server name:
DynamicConfiguration conf = (DynamicConfiguration) map.get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
DynamicConfigurationKey key = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/SOAP", "TServerLocation");
serverName = (String) conf.get(key);
return serverName;
Now my question is how to implement the part:
1) If Server name = sap01 then message should be sent to url = http://sap01/sdn/forum/exchange.asmx
2) If Server name = sap02 then message should be sent to url = http://sap02/sdn/forum/exchange.asmx
3) If Server name = sap02 then message should be sent to url = http://sap03/sdn/forum/exchange.asmx
I am using a SOAP receiver adapter; SAP PI 7.1
Thanks,
Abhishek -
Where do I call to change my NAT configuration from "Moderate" To "open"?
I have already port forwarded, reset modem for 5 minutes, tried new IP adress, Switched in between wired and wireless, and nothing happens.
#1 What is the brand and model of your modem?
#2 What is the brand and model of your router?
If you are the original poster (OP) and your issue is solved, please remember to click the "Solution?" button so that others can more easily find it. If anyone has been helpful to you, please show your appreciation by clicking the "Kudos" button. -
Dynamic Configuration from Client ABAP Proxy
Hello Experts,
Is it possible somehow to set Dynamic Configuration values to Message Header when calling Client ABAP Proxy from SAP system?
Best RegardsI managed to get the dynamic header configuration at least with inbound proxies:
DATA:
server_context TYPE REF TO if_ws_server_context,
proxy_framework TYPE REF TO if_proxy_framework,
internal_protocol TYPE REF TO if_wsprotocol_internal,
lo_inb_pxy TYPE REF TO cl_xms_inbound_proxy_plsrv,
lo_dyn_header TYPE REF TO if_xms_msghdr30_dynamic.
server_context = cl_proxy_access=>get_server_context( ).
internal_protocol ?= server_context->get_protocol( 'INTERNAL' ).
lo_inb_pxy ?= internal_protocol->get_framework( ).
lo_dyn_header ?= lo_inb_pxy->xmb_message->get_dynamic_header( ). -
How to change the header text on output type in sapscript
Dear All,
In the sapscript, I would like to changes the header text from invoice number to sales number on the output type z001.
Could someone can guide me?
Thanks.Hi,
Please go through following link :
http://forums.adobe.com/thread/870081#870081
Thanks and Regards,
Vibhuti Gosavi | [email protected] | www.infocepts.com -
Merging of 2 Cells in WD ABAP ALV Header & Dynamically change the header
Hello Experts,
I have two main requirements with respect to WD ABAP - ALV report creation
1) Two feilds in the header of ALV GRID created in the WD ABAP screen must be merged as shown below(Month Column) ,
| January | February |
| Col 1 | Col2 | Col 1 | Col2 |
2) The header value(Month) should dynamically change based on the current date.
For Eg: If June 2011 is the current month , the ALV table should start from June 2011 and displayed till May 2012.
Looking forward for your valuable inputs @ the earliest
Regards,
SriramHi Sriram,
For merging..
Pleaese go through this
Merge of Cells in ALV table in ABAP webdynpro.
ABAP WD: ALV merge cells
For Header Change..
How to set title/text for ALV table column header in WD ABAP
Change column header in ALV to another DDIC Element type
Change label of a column in ALV
Cheers,
Kris. -
Possible to set Dynamic Config from ABAP Proxy
Hi,
I know how to get and set Dynamic Config from Java/XSLT mappings and adapter modules. But I want to do this from an outbound ABAP Proxy Call (in the same way I can set the serialization context for EOIO), is that possible?
The scenario is: I have an interface; Proxy -> Xi -> ftp, with no mapping. It seems unnecessary to introduce a mapping just to set some dynamic config values for the receiving adapter which are already known at the outbound proxy call...
rgds JohanHi Bhavesh,
In the thread you mention it is shown that you can set Dynamic Config properties during an ABAP mapping. My question was if I can set these properties already in the proxy call? Or did I miss something?
Of-course I can introduce a dummy mapping in Java/XSLT/ABAP which copies the source message to the result message and sets the dynamic config properties, but I would rather not introduce a mapping if not neccessary...
rgds Johan -
Change column header text dynamically
Hi,
I have requirement to change the column header text dynamically in sap gui programming. but couldn't see straight forward way to achieve this.
i tried following link but no success:
[Re: Dynamic header text in table control - Dialog programming;
Please share your suggestions if it can be acheived.
Thanks,
Rahul
Edited by: Rahul Yadav on Oct 25, 2010 7:29 PM>
anmol112 wrote:
> Hi,
> So you can try 1 thing,
> * Dont use default Column Headings
> * Create I/O and choose ouput only and fix them in place of Column headings.
> * pass the values to these I/O accordingly.
>
>
> Thanks,
> Anmol.
How is this different from the previous post?
Rob -
SAP Script - calling SAP layout set from ABAP/4
Hi,
Help me in calling SAP layout set from ABAP/4
ThanksAshish,
create a driver program
create a script
A script is called using the function modules open_form,write_form,close_form.
Check this dummy program.
REPORT ZF3 .
tables makt.
data:begin of imakt occurs 0,
matnr like makt-matnr,
spras like makt-spras,
maktx like makt-maktx,
end of imakt.
DATA : ITEXT LIKE TLINE OCCURS 0 WITH HEADER LINE.
DATA : TEXTNAME LIKE STXH-TDNAME.
select matnr spras maktx from makt into table imakt up to 100 rows where
spras = sy-langu.
CALL FUNCTION 'OPEN_FORM'
EXPORTING
APPLICATION = 'TX'
ARCHIVE_INDEX =
ARCHIVE_PARAMS =
DEVICE = 'PRINTER'
DIALOG = 'X'
FORM = 'ZF3'
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.
LOOP AT IMAKT.
CALL FUNCTION 'WRITE_FORM'
EXPORTING
ELEMENT = 'MAIN'
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.
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.
K.Kiran. -
How to configure drop-down that change dynamically in Call Scripts
Hi,
Would like to know as how to configure drop-down choices that change dynamically based on customer response in Call Scripts / Assessment Scripts of type "Service Request - Survey".
I've read the following from CRM OnDemand pdf but was not able to figure out how to do that.
Call Scripting:
• Reduces agent training time
• Provides drop-down choices that change dynamically based on customer response
• Supports personalized interactions based on existing record data
• Facilitates up-selling and cross-selling
• Does not require third-party software
I don't have a concrete requirement as of now, but was trying to check as how it works. Please guide me if any one has implemented the same.
Thanks in Advance,
Cheers!!!
Deepak Veeravalli.Arun,
If you plan to implement the "Querying the Active Directory" based on my code snippet,
and if you do not have permission [your account must be the part of domain admin] to do so,
Then still you can do it in least effort through code,
string usersInXml = SPContext.Current.Web.AllUsers.Xml;your xml string look like this.
<Users><User ID="2" Sid="" Name="Administrator"
LoginName="i:0#.w|murugesan\administrator" Email="" Notes="" IsSiteAdmin="True" IsDomainGroup="False" Flags="0" /><User ID="1" Sid="" Name="Murugesa Pandian" LoginName="i:0#.w|murugesan\murugesan" Email="" Notes="" IsSiteAdmin="True" IsDomainGroup="False" Flags="0" /><User ID="1073741823" Sid="S-1-0-0" Name="System Account" LoginName="SHAREPOINT\system" Email="" Notes="" IsSiteAdmin="False" IsDomainGroup="False" Flags="0" /></Users>
You can user Linq to XML to filter the "LoginName,Name and Email and then populate your drop down list.
* User must be logged into the site at least once.
Murugesa Pandian.,MCTS|App.Devleopment|Configure
Maybe you are looking for
-
Help using multiple ComboBoxes
I am working on a JSP to add a new Property in my application. On the insert page the user must select an existing County and Township in order to add their new entry. I use the following code to implement the County ComboBox... RowEditor.useComboBox
-
Network printing Printer Pauses /usr/libexec/cups/backend/lpd failed
Morning, I wonder if anyone has encountered the following problem? NETWORK SET UP We have a network of 8 macs & a Fuji Xerox c2255 printer all connected to a gigabit switch. The Fuji Xerox has an fixed ip address 192.168.1.122 All devices have fixed
-
I tried to download a movie on my iPad but it didn't work... Is there some way I can access it on my computer now to download it? When I go to purchases in my iTunes it doesn't come up :-/
-
How can I find out the incoming call and out going call from my orher chine
How will I know if my friend knows who I call
-
I'm following the LAMP guide on the wiki here: http://wiki.archlinux.org/index.php/LAMP and when I try downloading the packages, I get the following: [root@Firefly ssh]# pacman -S apache php php-apache mysql resolving dependencies... looking for inte