UWL CONFIG FIELD MAPPING
Hi all,
We have done some config in UWL by uploading XML file so that the workitem displayed in the manager's inbox(UWL) has got one box where he(manager) enters some text if he accepts or rejects the workitem.
The filed in XML file is
< action property u201CUserDecisionNoteTextu201D>
I am not able to locate to which field this text which manager enters is mapped to R/3.I require the field to which it si mapped as i require it for further processing.
Hi,
Check the below may be usefull.
What you need to is to modify the section or add new parameters if it doesn't. Here's a sample custom task/item type configured to launch a custom web dynpro application with the work item ID as a parameter, you can modify this according to your needs:
code <ItemType name="uwl.task.webflow.TS.SAP_R3_HumanResources" connector="WebFlowConnector" defaultView="webflowView" defaultAction="launchWebDynPro" executionMode="pessimistic">
<ItemTypeCriteria systemId="SAP_R3_HumanResources" externalType="TS9" connector="WebFlowConnector"/>
<Actions>
<Action name="launchWebDynPro" groupAction="" handler="SAPWebDynproLauncher" returnToDetailViewAllowed="yes" launchInNewWindow="yes">
<Properties>
<Property name="WebDynproApplication" value="Approval"/>
<Property name="WebDynproDeployableObject" value="DC"/>
<Property name="DynamicParameter" value="wi_id=${item.externalId}"/>
<Property name="display_order_priority" value="1"/>
</Properties>
<Descriptions default=""/>
</Action>
</Actions>
</ItemType>[/code]
Similar Messages
-
How to add a new field in the Field Mapping
Dear Freinds,
I have two un used fields in the Source fields to the Target Fields ,
i have to add the 3 fields which r there in the my source fields to that
of the target fields ( as per the change in the requirement) in the 5th Step
i.e Maintain Field Mapping and Conversion Rules
the Target strucutre & the Source fields( by clicking the button
Source field and selcting the fields from the popup menu) in the mapping and conversion step ,i want to add 3 fields which are availabe in the list of th source list which i want to map to the Target strucutre .
When i tried it is adding in the othe target field
presently i have mapping (5th sept ) as below.
ZPA30_08 LSMW
Fields
TABNAME Table Name
Source: ZP0008_STRC-PERNR (Personnel Number)
Rule : Default Settings
Code: ZPA30_08-TABNAME = 'ZPA30_08'.
TCODE Transaction Code
Rule : Default Settings
Code: ZPA30_08-TCODE = 'PA30'.
now i want to add 3 fields Pernr,wage type and Amount , but when iam trying it is
getting and saved in the TABNAME .
How can i map please let me know .
Regards
syamlaHi,
So you need that this new field have data in old records?
1.- If you are in BI 7.0 and the logic or data for that New field are in the same Dimension, you can use a Remodeling to fill it. I mean if you want if you want to load from a Master Data from other InfoObject in the same Dim.
2.- If condition "1" is not yours.
First add the new field, then create a Backup Cube (both cubes with the new field) and make a full update with all information in the original Cube. The new field willl be empty in both cubes.
Create an UR from BackUp_Cube to Original_Cube with all direct mapping and create a logic in the Start Routine of the UR (modiying the data_package) you can look for the data in the DSO that you often use to load.
To do that both cubes have to be Datasources ( right click on Cube-> aditional function-> and I think is "Extract Datasource")
Hope it helps. Regards, Federico -
In XI Mapping multiple fields mapping to single target field.
Hi Friends,
In XI Mapping multiple fields mapping to single target field.
For example my requirement is :
Source Fields:(This RFC BAPI Structure)
Empno 0-1
EmpName 0-1
Address 0-1
Taget Field is:
Details 0-1
The above three fields passed to the Details Field. Here i am using Concat function
But i have one query on that on,Every field having "line Break" required.
Can you please help me out above this requirement.
Thanks in Advance,
Sateesh N.If you want a line break between the three fields, then try
passing a,b,c to the udf and in the udf you would have
return a+"\n"+b+"\n"+c; -
ABAP code which will use function module during field mapping in LSMW
Hi,
During field mapping in LSMW, for one of the field called field, I want to use a function module 'QF05_RANDOM_INTEGER', which will generate random numbers and map that random number to that field.
How do I write ABAP code which uses function module, during filed mapping for a particluar field in LSMW ?
Please help...
Regards,
Tushar.Hi Tushar,
You can write in FORM ROUTINE and LSMW.
I hope you know how to write ABAP code at field level.
If not ...
Come to change mode->select the field->Rule->ABAP Code
write a perform statement in ABAP code at field level.
<b>PERFORM test</b> using val
changing valu.
Go to Utilities(at menu)->switch layout-> extras ->select Layout->check Form routine-> it will display a FORM Routine... at bottom
this is the place where you can write some code for
<b> FORM test</b> using value
changing value1
FM call....
.ENDFORM
Get the value1 returned and use for the Field population.
Reward points if this Helps.
Manish
Message was edited by:
Manish Kumar -
How to create Rules with Flex Field mapping in the bpm worklist
I Have created a flex field label and was able to map to the flex field attributes .
But when i try to create a rules , I don't see the label or the flex attributes in the task payload .
Can someone please help is understanding how to create Rules with Flex Field mapping in the bpm worklist .
Even I am also searching for any scripts which will take the flex fields prompts and can directly create a label in the bpm worklist .
Any pointers or suggestion is highly appreciated .Hi,
SE38 -> Enter program
Select Variants button and display. In the next screen, enter a variant name, (If not existing , press Create to create new one), else click on Change.
Now the selection screen will display with a button "Variant Attributes" at the top.
Click on that button.
In the next screen, go to the selection variable column of the date field. Press F4 or drop down and select 'D' for date maintenance.
In the column "Name of Variable (Input Only Using F4)" press F4 or drop down, select whichever kind of date calculation you want and save the variant.
Now whenever you run the prgrm with this variant, date will be displayed by default.
Regards,
Subramanian -
LDAP Field Mapping in 4.6C - Using WebAS 6.10+ as an LDAP Gateway
Dear All,
We have a need to enable CUP Functionality (we use GRC AC 5.3) for one of our oldest R/3 systems - on 4.6C. All other R/3 backends are on 4.7+ releases, so it's a multiple backend configuration for GRC AC.
However, LDAP Field Mapping functionality is missing in 4.6C. It was enabled through LDAPMAP in the higher releases only.
At the same time, I discovered in one SAP HR document a diagram, which shows that indeed 4.7+ can map and post data directly to LDAP, but for 4.6C and below you can use WebAS 6.10+ as an LDAP Gateway. Meaning that 4.6C calls through RFC some functions in the higher release R/3 system to use its functions for Field Mapping and further transfer of user data to the target LDAP server.
But... I can not find anywhere how to configure 4.7 / 6.0 servers to act as an LDAP Gateway for the older 4.6C server to bypass its limitation - absence of built-in LDAP Field Mapping functionality.
Advice on how to realise this concept will be highly appreciated.
Thanks,
LazizHi,
In order to migrate users, groups and password you have to use the command ldapaddent as you did with this sintax:
# ldapaddent -D "cn=Directory Manager" -w secret -f /etc/group group
# ldapaddent -D "cn=Directory Manager" -w secret -f /etc/passwd passwd
# ldapaddent -D "cn=Directory Manager" -w secret -f /etc/shadow shadowNote that you must use passwd instead of people container.
I suggest you to check this article from BigAdmin http://www.sun.com/bigadmin/features/articles/nis_ldap_part1.jsp
G. -
Example of a custom field mapping?
Ok, I admit it I am struggling here. I have simplified my example from
what I actually have.
I have a table that models a flat hierarchy
ID | START_DATE | END_DATE | CLASSNAME | FIELD1 | FIELD2 | ...
one of the objects in my hiearchy (CashFlow) has a field that is in fact
another object called DatePeriod that contains two fields startDate and
endDate.
I understand that what I am trying to do is embed the DatePeriod object
inside of the larger object when it get's persisted.
I have the following metadata set-up
<class name="CashFlow" persistence-capable-superclass="InstrumentFlow">
<extension vendor-name="kodo" key="table" value="INSTRUMENT_FLOW"/>
<extension vendor-name="kodo" key="pk-column" value="ID"/>
<extension vendor-name="kodo" key="class-column" value="none"/>
<extension vendor-name="kodo" key="lock-column" value="none"/>
<field name="accrualPeriod" embedded="true"/>
</class>
and for my DatePeriod object
<class name="DatePeriod">
<extension vendor-name="kodo" key="table" value="INSTRUMENT_FLOW"/>
<extension vendor-name="kodo" key="pk-column" value="ID"/>
<extension vendor-name="kodo" key="lock-column" value="none"/>
<extension vendor-name="kodo" key="class-column" value="none"/>
<field name="startDate">
<extension vendor-name="kodo" key="data-column" value="START_DATE"/>
</field>
<field name="endDate">
<extension vendor-name="kodo" key="data-column" value="END_DATE"/>
</field>
</class>
Every time I try to fetch a CashFlow object I get an error as KODO is
trying to select the column 'ACCRUALPERIODX.'
What am I doing wrong? Do I need to use a custom field mapping? If so
where is the documentation to help me write a custom field mapping?
A second question would be what happens if the DatePeriod object is used
in a couple of places, I don't want to tie it's persistence to the
INSTRUMENT_FLOW table.
All help gratefully received
Cheers
MattAs you suspect, Kodo 2.x does not support embedded class mappings. Kodo
3.0 will support embedded mappings.
In the meantime, you can create a custom mapping, but unfortunately our
documentation for custom mappings is lacking right now. Given how simple
your DatePeriod object is, you're probably better off with something
simpler (and as a bonus, less bound to Kodo):
Just make your DatePeriod class and the field that holds the DatePeriod
instance non-persistent. In the class that has the (now non-persistent)
DatePeriod field, add two new persistent fields for the startDate and
endDate. Then just use internal logic to construct the DatePeriod from
the startDate and endDate. You can do this using the
javax.jdo.InstanceCallbacks methods, or just do the logic in your setter
and getter methods for the DatePeriod. -
How to change field mapping in IDOC
Hi Experts,
My requirement is to create a purchase requisition automatically through an interface using the IDOC sent by a *source client*.
For this i have used PREQCR as the message type, PREQCR02 as basic type.
E1BPEBANC & E1BPEBANTX are the segment type i have to use.
I have created a Z process code in which the function module that i have used is IDOC_INPUT_PREQCR.
With the help of this i can map all the field values to PR.
Now there is a field in this idoc called vendor which comes from the source client.
Now the value that is maintained in this field(vendor) should go to the Text Id that is maintained at the header level. ( i.e. the header text. i.e. In transaction ME51N, the text IDs which we can see at header level, the vendor value should go in one of this text Id ).
Now how do i do this, because I am using standard funciton module IDOC_INPUT_PREQCR in which there is already field mapping that this vaue should go in this field and so on...
Do I have to use an exit for the same ?? If yes then which is the exit ??
Please suggest.
Regards,
Priti.Hi,
I think there is no userexits available during the processing using function module "IDOC_INPUT_PREQCR". You have to copy this function module to a Z function module. Change as per your requirement and attach the new function module with the Z Process code created by you.
Regards
Vinod -
Field Mapping of CREMAS05 IDoc..!!
Hi Gurs ,
Iam trying to map the following fields in CREMAS05 Basic IDoc Type but unable to find the correct mapping field segments in the IDoc.
Fields need to be mapped are:
1.Building Code
2. Pan No
Can anyone suggest me which segment and field i need to use for the above fields mapping..? or if i extended my idoc with some custom table how i will map into Standard field .
Thanks .
Hemant Gulati(A1)Hi Jurgen ,
Thanks for Reply .
Vendor Master Idoc CREMAS05
i have extended my idoc with some zfields . in zfield i have Building code and Pan no
like zbuild and zpanno i need to map these in ADDR1_DATA-BUILDING and J_1IMOVEND-J_1IPANNO respectively .
Thanks & Regards
Hemant Gulati(A1) -
LSMW field mapping Rule-ABAP code
Dear Guru!
I'm new to ABAP, but I have to write a little in ABAP.
I create a LSMW project using BAPI for changing standart price of material.
Input data: material, price, posting date.
The point is: system should found in table MBEW all valuation areas and valuation types fo which the material record is exist and cang price for all these records.
I wrote a code for these fields in Field Mapping menu. But it puts in only one record whereas I need it to execute BAPI for all records.
I wrote the folliwing:
VALUATIONAREA Valuation Area
Code: tables MBEW.
select * from MBEW
where MATNR = ZHEADER-MATNR.
E1MATERIALVALUATION_PRICECH-VALUATIONAREA = MBEW-BWKEY.
endselect.
VALUATIONTYPE Valuation Type
Code: select * from MBEW
where MATNR = ZHEADER-MATNR.
E1MATERIALVALUATION_PRICECH-VALUATIONTYPE = MBEW-BWTAR.
endselect.
May be it's simple, may be not. But I don't know how do do it.
Will be grateful for any hints.
Thanks.
Edited by: assoli on Aug 3, 2011 3:51 PMselect endselect goes like a Loop, so if you don't store the value in some table (internal table), only the last row will be available to you as it will be overwritten everytime in the loop.
There is no need of using 2 selects, one select itself will give you all the data for that material in MBEW table. I don't understand what you are doing with
E1MATERIALVALUATION_PRICECH-VALUATIONAREA = MBEW-BWKEY
Is E1MATERIALVALUATION_PRICECH a structure ? You need somethng like
select * from MBEW
where MATNR = ZHEADER-MATNR.
E1MATERIALVALUATION_PRICECH-MATERIAL = ZHEADER-MATNR
E1MATERIALVALUATION_PRICECH-VALUATIONAREA = MBEW-BWKEY.
E1MATERIALVALUATION_PRICECH-VALUATIONTYPE = MBEW-BWTAR.
Append E1MATERIALVALUATION_PRICECH to itab. "(itab is internal table)
endselect.
Then use that itab for your purpose. -
Hi,
Detail:
========
I have a class called CustomerSpecificField extending another class
NameValueTimestamp which contains 3 attibutes name, value, timestamp.
In my package.jdo file when i tried to map my fields, I got the following
exception. the attibutes in the parent class are not at all recognized for
mapping.
JDO Info
========
<class name="CustomerSpecificField">
<extension vendor-name="kodo" key="jdbc-class-map" value="base">
<extension vendor-name="kodo" key="table" value="ADB.UP_CUST_SPEC_FIELD"/>
<extension vendor-name="kodo" key="pk-column" value="ID"/>
</extension>
<field name="name">
<extension vendor-name="kodo" key="jdbc-field-map" value="value">
<extension vendor-name="kodo" key="column" value="NAME"/>
</extension>
</field>
<field name="timestamp">
<extension vendor-name="kodo" key="jdbc-field-map" value="value">
<extension vendor-name="kodo" key="column" value="TIMESTAMP"/>
</extension>
</field>
</class>
Error:
=======
Exception in thread "main" kodo.util.FatalException: java.io.IOException:
org.xml.sax.SAXException:
file:/C:/kodo-jdo-3.1.3/bin/com/bo/package.jdo [Location: Line: 65, C:
37]: Field "timestamp
" is not declared in "CustomerSpecificField".
[java.lang.NoSuchFieldException]
NestedThrowables:
java.io.IOException: org.xml.sax.SAXException:
file:/C:/kodo-jdo-3.1.3/bin/com/bo/package.jd
o [Location: Line: 65, C: 37]: Field "timestamp" is not declared in
"CustomerSpecificField". [java.l
ang.NoSuchFieldException]I have a class called CustomerSpecificField extending another class
NameValueTimestamp which contains 3 attibutes name, value, timestamp.In JDO, each class can only persist fields that it declares. So you
need to make your superclas a persistent class and map it, and reference
it with the persistence-capable-superclass attribute from your subclass. -
Problem in lsmw. step: display field mapping and conversion rule
hi,
The IDOC structure to be mapped is missing in step 5[lsmw using IDOC]. Hence target structures are missing in auto gnerated conversion program.
As a result the the step Convert Data step is failing.[Converted data cant be generated]
I am using standard BAPI charcteristics as my Basic Type.
Anyone having idea why the target structure is missing??..The problem is solved....The field mapping was missing coz i didnt assign the target structure properly....
-
Auto field mapping not working
Hi,
I am working on LSMW for transaction DGP2. for the 5th step ( 5 Maintain Field Mapping and Conversion Rules), this functionality is not working niether I am able to assign manually. The source structure might have problem. How should I find out the error in which step and how to sort out that?
Thanks in advance,
Rgds,
MadhuriHi Chenna,
I have given same structure for this one. Still its not working.
please help.
Thanks
Rgds,
MAdhuri -
Related Content Field Mapping using "Page Field" mapping type
In PeopleBooks it refers to a Page Field mapping type whene mapping fields from the component to it's related content.
Is this a misprint in PeopleBooks, did this feature not make it into 8.50.09 or is this option only available under certain circumstances.
I'm trying to pass a non key field from level 0 to the rel content url.
Thanks to anyone who can shed some light on this.
GrahamHi Jim
Thanks for the reply.
It appears that you can't select the "Page Field" mapping type unless you have the related content specified by PAGE ratehr than component.
PBOOKS states Page Field: use when you want to map the service parameter to any level 0 page field.
In the component buffer fields in level 0 could be any page. I was hoping to pass ANY level 0 field through to the Rel Content URL for any page in this component.
Kind regards
Graham -
SWFVISU task not appearing in any of the UWL Config files
Hello Workflow/Portal gurus, gotta question...
Scenario: I want custom workflow single-step tasks used in perf. mgmt. workflows to launch BSP application.
My understanding is that when you maintain link between workflow task and BSP application in SWFVISU followed by 'Register item types for all systems' in UWL and clearing Cache, UWL config file should be updated to include the task maintained in SWFVISU with appropriate launching parameters. I have used this successfully in the past with Wedbdynpro applications.
In my portal system, a new custom task that I maintain in SWFVISU is not even appearing in any of the UWL config file. when we use 'Register item types for all systems' option in UWL followed by clearing Cache,one of the config file does successfully get updated (we see success message and update date and time) but custom task is missing from the config.
Also, when I manually try to configure custom task and launching applications using one of the UWL wizard it gives error symbol with no messages. UWL behaves strange (Auth is not an issue) and couple of things we checked per UWL/Portal config docs seems to be in order.
Any pointers what we could be missing? Is there anything else other than adding task in SWFVISU followed by 'Register item types for all systems' in UWL and clearing Cache that needs to be done?
Appreciate your help,
SaurabhHi,
i had the same problem that all entries form SWFVISU could not be displayed in the XML config file.
The solution is very simple since SP 18 of NW portal: you need to configure a RFC destination in the Visual Admin (see Note 1133821).
Though if you are not using Delta Pull you have to create this destination to register the UWL.
I hope this helps.
Regards,
Marc
Maybe you are looking for
-
Exchange 2013 installation Problem on Hyper-V
Hello, I have a very interesting problem Exchange 2013 installation step on Hyper-V. I have 2 server. I installed on server Server 2012 R2 Standart. And then installed hyper-v role for both server. I created virtual machine for first server and this
-
Using Time Capsule as a common hard drive for 8 macs.
Can anyone help? We are currently using Dropbox's expensive 1,000 GB annual service at our English school, in order to maintain common materials, development, etc folders that remain in sync. Too expen but not bad. We really just need to maintain one
-
Hawking Wifi Extender??
Hi, I've been trying to improve the wireless signal in my parents house for some time now but with no joy with the free steps that BT suggest. I am now looking into the Hawking devices they recommend on their help pages to boost/extend the signal. Th
-
No Radius hosts configured...
For days now, I've been trying to troubleshoot an authentication problem and the solution still eludes me. I have a Windows 7 SP1 laptop, a wireless client, that should be able to access the wireless network LAB1 with SSID AP1. It should authenticate
-
I feel so frustrated because I cannot get the horizontal guide to appear out of the top ruler since I installed Indesign on my new computer. I can get the vertical guide out of the left ruler like always. I have searched the net and came across a way