Value Mapping through Tables in R/3 from XI
Hi All,
I'm new to XI and got a scenario as "Value Mapping through Tables in R/3 from XI". Kindly do tell me the steps which I should follow to complete this scenario. I'm from ABAP so table creation is known to me, what next should I do after table creation?
Thanks in Advance to all of you,
Sreedhar
sree,
value mapping are done using message mapping. In message mapping you have to make a RFC call to query the db and get the response. were you have to write a java function in mapping program.
check this blog, it speaks on value mapping
/people/jayakrishnan.nair/blog/2005/06/20/dynamic-file-name-using-xi-30-sp12-part--i
Similar Messages
-
Header value in data table can be fetched from managed bean.
hi
My requirement is to display a report in which column headers are also retrieved from data base, it cannot be hardcoded.
instead of My Column it should come from managed bean
<f:facet name="header">
<h:outputText value="My Column"/>
</f:facet>
I am not able to fetch the header value from the managed bean.
I tried
<f:facet name="header">
<h:outputText value="#{character.name}"/>
</f:facet>
but failed.
Is there any way i can fetch these values at run time.Is that bean the main bean or the row object? It should be the main bean. There is only one column per table, its value is not to be derived from the row object.
-
How to achieve transport of value mapping replication cache table values ?
During the migration of our interface from XI3.0 to PI 7.11,
I need to transport the value mapping replication cache table values present in cache monitoring of runtime workbench in
XI 3.0 PRD to PI 7.11 DEV .
Please let me know the ways to acheive this so that I can have the same values present in PI 7.11 Value Mapping Cache table as maintained in XI 3.0.
Please point me into correct direction.
Regards
PSClick on "Tools" option, select "Export Configuration Objects" -> "Individual Objects" -> Choose the "Value Mapping Group" type, and then select the value mappings you want to transport.
-
Value Mapping in PI 7.0
Hi All,
I need to implement the value mapping.
The mapping rule for the value mapping is for varius z tables like
ztable1
ztable2
ztable3
ztable4
ztable5
ztable6
ztable7
Can you please help me in implementing the value mapping ?
Can you please tell me the steps to umplement it?
Thanks in advanceHow can I come to know about the Agency and Schema to implement the Value Mapping?
Check the blog # 5479
From the blog:
Enter Value Mapping Properties such as Agency, Schema for Source and Target messages. Any arbitrary string value can be
used. But enter the Value Mapping Context as http://sap.com/xi/XI
I am not getting which Value Mapping should be done for my mapping requirement,but I thibk it should be for the fixed value,but dont know whether I need to implement the Valume Mapping replication or not?
If you give more details about your requirement then somebody may help you out on the approach.
Regards,
Abhishek. -
Is Mapping Lookup table possible with IDOC to FIle scenario
Hi all,
Need suggestion, I am using SP16
My sceanrio is IDOC to FIles, and have to use a Mapping Lookup tables for some of the fields within the mapping...
'Crossref: PlantLoc_to_WhseComDiv. Value mapping lookup to take two fields from SAP and convert to WMS 3-digit value'
How to go with this, since i have checked in SAP library that it is for only RFC,JDBC,SOAP adapters ...
Need u r valuable inputs,
Regards,
sridharYou can use RFC or SOAP or JDBC lookup in your mapping.Why not?..It does not mean that we use the lookups only in RFC secnarios.You can use them in any scenario.
-
Hi Guys,
Is it possible to do the value mapping in a UDF.
ReceiverService at runtime - X --> Value mapping not maintained
ReceiverService - Y ---> Value mapping maintained. I want to use this receievr service.
There are more than 300 VM groups and i dont want all the new receivers to add and i want to handle them in UDF
the value mapping picks the receiver service always from the runtime and i want to handle this in UDF and use a different
receiver service. Is it something possible? any help or suggestions would be appreciated
Thanks,
SriniHi Srini,
You can go for Value Mapping Replication for Mass Data as described in these links-
/people/udo.martens/blog/2009/04/03/value-mapping-replication-scenario
http://help.sap.com/saphelp_nw70/helpdata/en/2a/9d2891cc976549a9ad9f81e9b8db25/frameset.htm
JDBC lookup is also one option in your case. Have a look at similar discussions for other approach -
Value mapping with 100's of values then what to do.?
Dynamic SOAP Adapter TServerLocation with value Mapping
Regards,
Sunil Chandra -
Import conversion data table from SAP R/3 into value mapping table in XI
Hi:
Somebody knows how to import a table with conversion data that are in SAP R/3 and to take it to a value mapping table in XI?
The purpose is to use a mapping table that can change in the future. Must I use a ABAP programming that retrieve data and build the value mapping table?
If so, how I specify in the ABAP programming the group id, the scheme, the agency and the corresponding value?
Please, help me.
Regards!!!Hi David,
please refer to this section in the help: http://help.sap.com/saphelp_nw04/helpdata/en/2a/9d2891cc976549a9ad9f81e9b8db25/content.htm
There is an interface for mass replication of mapping data. The steps you need to carry out to use this are:
+Activities
To implement a value-mapping replication scenario, proceed as follows:
1. Register the Java (inbound) proxies.
To do so, call the following URLs in the following order in your Internet browser:
¡ http://:/ProxyServer/register?ns=http://sap.com/xi/XI/System&interface=ValueMappingReplication&bean=localejbs/sap.com/com.sap.xi.services/ValueMappingApplication&method=valueMappingReplication (for the asynchronous replication scenario)
¡ http://:/ProxyServer/register?ns=http://sap.com/xi/XI/System&interface=ValueMappingReplicationSynchronous&bean=localejbs/sap.com/com.sap.xi.services/ValueMappingApplicationSynchronous&method=valueMappingReplicationSynchronous (for the synchronous replication scenario)
You only need to perform this step once (for each installation).
2. Application programming
The ABAP program must perform the following tasks:
¡ Read the value mapping data from the external table
¡ Call the outbound proxy used to transfer the data to a message, which is then sent to the Integration Server
3. Configuration of the replication scenario in the Integration Directory
This involves creating all the configuration objects you need to execute the scenario successfully. One special aspect of the value-mapping replication scenario is that the receiver is predefined (it must be on the Integration Server). The sender, however, is not predefined in the replication scenario and can be defined to meet your individual requirements.
For example, you can use the shipped ABAP proxies.
In the case of the receiver communication channel, choose the adapter type XI. Ensure that you configure a channel for the Java proxy receiver in this case.
Enter the path prefix /MessagingSystem/receive/JPR/XI for this purpose.
+
Regards
Christine -
Lookup value mapping table through message mapping.
Hello All,
I am working on a graphical mapping (message mapping). When trying to map the source message to the target message, I need to find out it a particular <b>key</b> exists in the <b>value mapping table</b>. Depending on the result, I need to map different source fields to the target field.
Is there any inbuilt function which will allow me to do a lookup on a value mapping table, or is it possible to lookup a value mapping table from a UDF?
Please help!
Warm Regards,
KeertiHi,
Please see the below links for Value mapping ..
Value mapping /people/sukumar.natarajan/blog/2006/10/23/accessing-value-mapping-defined-in-directory-using-java-functions
Value mapping in XSLT /people/sreekanth.babu2/blog/2005/01/05/design-time-value-mappings-in-xslt
Value Mapping replication - /people/sreekanth.babu2/blog/2005/02/23/value-mapping-replication
Also see
https://www.sdn.sap.com/irj/sdn/advancedsearch?query=value%20mapping%20in%20xi&cat=sdn_weblog
/people/community.user/blog/2007/01/08/valuemapping-using-the-graphical-mapping-tool
/people/alessandro.guarneri/blog/2006/03/27/sap-xi-lookup-api-the-killer
https://www.sdn.sap.com/irj/sdn/advancedsearch?query=value%20mapping%20in%20xi&cat=sdn_weblog
Regards
Pradeep N -
Accessing values in Value Mapping from JDBC database during runtime.
Hi all,
I have a query here.
Actually we have to populate the value mapping from a JDBC database, I've gone through the blogs but all of them expalin the value mapping replication process where in SAP tables are the source and it includes ABAP programming, where as my source system is a JDBC database.
Please provide me with the detailed steps to be carried out in IR and ID to accomplish this task.
Thanks once again.
YounusHi Younus,
search the blogs with "lookup". I guess you will find you solution.
Regards Mario -
How to bind internal table values with RootUIElement(Table) from select Que
Hello Friends,
In my view Layout,there r two Input fields ,Submit button and Table... My concept is when user posting values in two input fields and clicking submit button means the result(more than one values) should be displayed in Table...
I written coding also but i dont know to bind internal table values with Table... My code as follows,
method onactionsearch .
data:
Node_Node_Flight type ref to If_Wd_Context_Node,
Elem_Node_Flight type ref to If_Wd_Context_Element,
Stru_Node_Flight type If_View1=>Element_Node_Flight ,
itab TYPE STANDARD TABLE OF sflight.
navigate from <CONTEXT> to <NODE_FLIGHT> via lead selection
Node_Node_Flight = wd_Context->get_Child_Node( Name = IF_VIEW1=>wdctx_Node_Flight ).
@TODO handle not set lead selection
if ( Node_Node_Flight is initial ).
endif.
get element via lead selection
Elem_Node_Flight = Node_Node_Flight->get_Element( ).
@TODO handle not set lead selection
if ( Elem_Node_Flight is initial ).
endif.
alternative access via index
Elem_Node_Flight = Node_Node_Flight->get_Element( Index = 1 ).
@TODO handle non existant child
if ( Elem_Node_Flight is initial ).
endif.
get all declared attributes
Elem_Node_Flight->get_Static_Attributes(
importing
Static_Attributes = Stru_Node_Flight ).
select * from sflight into CORRESPONDING FIELDS OF TABLE itab
WHERE carrid = Stru_Node_Flight-carrid and connid = Stru_Node_Flight-connid.
Node_Node_Flight->bind_table( new_items = itab ).
endmethod.
Plz reply me asap...!Hi,
What I understood from your coding is...
* navigate from <CONTEXT> to <NODE_FLIGHT> via lead selection
Node_Node_Flight = wd_Context->get_Child_Node( Name = IF_VIEW1=>wdctx_Node_Flight ).
You are reading values from the above node and binding the values to the same node.Am i right?
Did you take seperate context node for your input fields or binded the above context to the fields.If not then read the context attribute values which are binded to the carrid and connid then pass these values to select query.
One more thing is select cardinality 1..n for node NODE_FLIGHT since you are displaying more than one record.
Go through the some basic tutorials.Search in sdn you will it get.Already there is a tutorial in sdn which explains exactly what do you require.
Go throgh this link
Web Dynpro for ABAP: Tutorials for Beginners
Web Dynpro for ABAP: Tutorials for Beginners [original link is broken]
Edited by: suman kumar chinnam on Mar 26, 2009 10:50 AM -
How to read Group ID from Value Mapping Context in Cache Monitoring ?
Hi friends,
In RWB --> Cache Monitoring --> Integration Server (Java) -> (Search for Value Mapping Groups) in this each item is identified by Value Mapping Group (GroupID, Context, Identifier/Agency, Identifier/Scheme). Either we create Value Mapping Table in ID or replicate value mapping data directly from text file/SAP table etc., in run time cache, data will be identified in this manner.
Now, our requirement is to delete a record the Cache for a particular context. Two operations provided by XI one is 'Delete' and another one is 'DeleteGroup'. When we use either of this, we should know GroupID. Suppose, I replicated some large amount of data from my text file in Runtime Cache. Value Mapping Table is like that IN --> India, US --> USA, AU --> Australia, EG --> Egypt. Now, I am required to write a program to get the input country code from user which is going to delete in the value mapping table like IN/AU.... For this, what logic we should follow in the program is, First we scan the value mapping table and find the record (country code) which is match with the input. Then find the GUID value for this record. Now we use the DeleteGroup Operation and pass this GUID and then delete the record.
So, in essence, how to read the GUID from value mapping context.
Friends, Kindly help me to do this.
Thanks in advance.
Jegatheeswaran P.Did you get the way to read group id?
-
How to update value in internal table from cdpos taking fname n value_new?
hello everyone,
i want to insert value in internal table from cdpos table taking field name from fname and value from value_new.but the problem is i am not getting how to map the corresponding field of internal table with fname value which is the field name.
for example
i
fieldname
value
name1
raj
name2
sharma
i want to update field name1. this name1 is there in fname with updated value in value_new how to make name1 with fname value
thanks and regards
laxmikant soniHi Laxmikant,
If I have understood your requirement correctly, you need to update an internal table with latest 'value_new' from cdpos table where 'fname' = 'fieldname' .
Hope the below logic will help you:
FIELD-SYMBOLS: <wa_intab> LIKE LINE OF lt_intab. "the internal table you want to change
LOOP AT lt_intab ASSIGNING <wa_intab> .
READ TABLE lt_cdpos INTO wa_cdpos "lt_cdpos contains latest data selected from CDPOS
WITH KEY fname = <wa_intab>-fieldname.
IF sy-subrc = 0.
<wa_intab>-value = wa_cdpos-value_new.
ELSE.
"//logic if the name is not there in CDPOS
ENDIF.
CLEAR wa_cdpos.
ENDLOOP.
If you wish to improve performance, I suggest using
1. "transporting value_new" addition in READ TABLE,
2. select only the data which you require from CDPOS,
3. create the internal tables with only fields which you require,
4. when you are using SELECT,LOOP AT statements, limit records by using WHERE condition
Regards,
Kavya -
How to insert bulk values in value mapping table at a time.
Hi all,
I hv one issue in value mapping i.e,
I hv some bulk data in MS- Excel, i am unable to copy all the date from ecel to value mapping table.
SO, How can i insert bulk values in my value mapping table at a time.
plz, help me in this asap.
Regards,
Maheshhai mahesh check the below links,
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/1f42d490-0201-0010-6d98-b18a00b57551
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/83086a1d-0e01-0010-2797-f1ce7f8f562d
note:reward points if solution found helpfull.....
regards
chandrakanth.k -
How can i access value mapping table using xslt mapping
Hi All,
I have maintained value mapping table in integration directory.I want to access the data from the value mapping table in XSLT mapping using java function.PLease suggest me to do this.
Thanks
Pullarao.Value mapping that thread should solve your query !!!
-
Accessing ID Value Mapping table in XSLT
Hi Experts,
In the XSLT mapping,I would like to access my value mapping table which i defined in ID .The purpose of ID value mapping here is, the table entries will be changing in future and i don want to use fix values, XML table which is defined in runtime.
I have gone through the blog
/people/sreekanth.babu2/blog/2005/01/05/design-time-value-mappings-in-xslt
which explians design value mapping table in XSLT.
Is there any way to access Configuration Value Mapping table in XSLT? If yes, can you explain how should i achieve it ?Hi,
you can use the xivmService to call ID val map tables.
Use tha java function executeMapping, Its a standard SAP api.
Declare the Service in XSLT at start
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:vm="com.sap.aii.mapping.value.api.XIVMService" version="1.0">
Call the val mapping table using below template wherever required.
<xsl:template name="ValueMapping">
<xsl:param name="SenderParam"/>
<xsl:value-of select="vm:executeMapping( 'SenderType', 'SenderTypeSchema', $SenderParam, 'receiverType', ReceiverTypeSchema')"/>
</xsl:template>
Call template like :
<xsl:call-template name="ValueMapping">
<xsl:with-param name="SenderParam">
try it and let me know if you have any doubt.
regards
Inder
Edited by: Kulwinder Grewal on Aug 12, 2009 11:36 PM
Maybe you are looking for
-
Vista Prob - iTunes won't open
I've seen this posted several times but haven't really seen an answer to the problem. I have Windows Vista Premium and when I attempt to open windows, the hour glass will come up for a few seconds, like the program is attempting to open, but it won't
-
Satellite P300 PSPCCE: I want to remove or chang splash screen on startup
I have Satellite P300 PSPCCE laptop and want to remove or change splash screen on begin of booting laptop. Is there a way to do it? My Bios version is v3,40
-
Report to exclude entries where on id could have multiple statuses.
Hi , I have a table where it keeps record of a status number and a corresponding r_number(report number) where one r_number could have multiple amount of statuses. As shown below. id r_number Sta date setupby 1 1111 2 11/
-
Word processing quits when I try to print
Thank you for taking the time to read this. Thank you even more if you can help me solve this problem! First, the basics: I'm working with an older iBook G3, using OS X (10.4.2). The problem happens with both Word:Mac (2004) and AppleWorks. The probl
-
Is there auto save in pages?
Is there a function for auto save in Pages. Word has it and it's really useful especially when the program quits unexpectedly. I like using pages but i've also lost quite a bit of important stuff because it does not auto save. anyone can has a soluti