How to map bapimtcs-data to bapimatmra ?
Hello friends,
In order to implement the user exit z_uexit_material_vtl_status mentioned in Note Nr. 623026, I need a function which can convert (or map) bapimtcs-data to bapimatmra. This is necessary beacuse the standart code includes lines which contain syntax errors ("LS_BAPIMARA" and "LS_BAPISTRUCT-DATA" are not mutually convertible in a Unicode program. error) The conversion (mapping) of
bapimatmvk to bapimtcs is necessary, too. Here is the link leading to the problematic user exit. Any useful help would appreciated and rewarded.
Regards;
Özcan.
Hi,
This MIGHT work, I am doing something similar in one of my user exits:
in your variable declarations put this:
DEFINE move_casting.
assign &1 to <unicode_x1> casting.
assign &2 to <unicode_x2> casting.
move <unicode_x1> to <unicode_x2>.
END-OF-DEFINITION.
And then at the point where you need to convert the data:
move_casting ls_bapimtcs-data ls_bapimatmra
I hope it helps!
Jeroen
Similar Messages
-
How to map query data to workbook
Hi Freinds,
Hoping you have goodday, please let me know how to create workbook
and how to map query data to it.
Thanks
Chandan KumarHello,
Execute a BEx Query and in the BEx toolbar you can see SAVE button, click that as select SAVE as Workbook.
If you want to insert more queries then first place the cursor where you want to insert the query, then Goto BEX toolbar, Select the Tool Icon and you can see a menu called Insert Query.
Thanks
Chandran -
How to map Due date from Jdev to show in BPM Workspace
Hello,
Requirement:
Due date of the human tasks(that are set in jdev) should be visible in BPM Workspace .
I have added due date column in BPM workspace under process tracking and observed that the column is not reflecting the due date.
I found in a blog that we can map the variables that are required as flex fields to the systemManagedAttributes and then use them in BPM Workspace.
In our requirement, we have date as an input variable, for due date if i use "By Duration" and give 2 days then the date due will the "date which we will give as input+2days". So to map that due date to the systemManagedAttributes, which variables do i need to map so as to reflect the due date in workspace.
Please suggest any other ways of reflecting the due date of human task in BPM workspace.
Thanks,
Sravani.Hi Sravani,
I admire your innovative solution using flex fields, but there is a simpler way to show the deadlines in the Workspace's task list.
You can simply add the "Expires" column in the Workspace for your Inbox. That way it will automatically show your human task's deadline in the Expires column and you can avoid going the flex field route.
Dan -
How to Map XML data with XSD Schema in JAXB
Hello,
I am very much new to JAXB.
I am in need of someone help to go further in my dev.
I am having an XSD and i could able to do marshall and unmarshall using JAXB.
My problem is...
Consider followings are my Schema...
- <person id="general" help="USER.DOM.HELP.GENERAL" label="USER.DOM.LABEL.GENERAL" access="READWRITE">
<attribute id="Name" mandatory="true" type="STRING" access="READONLY" widget="NONE" />
<attribute id="login" label="USER.LABEL.LOGIN" help="USER.HELP.LOGIN" regexp="[A-a]" type="STRING" summary="true" access="WCREATE_RUPDATE" widget="TEXTFIELD" />
<attribute id="firstname" summary="true" label="USER.LABEL.FIRSTNAME" help="USER.HELP.FIRSTNAME" type="STRING" regexp="[A-a]" access="READWRITE" widget="TEXTFIELD" />
In this example a person contains set of attributes... some are mandatory(Name)...
In my application i will unmarshall the the schema file and show in GUI as a set of attributes when the operator want to create a person. And its very well working.
Now say for example, i am requesting my server to show all the created persons and its showing. when i click on the particular person the GUI will place the request to the server to get the corresponding date for the selected person.
But the response contains only the mandatory attribute.. i mean Name.... this may be because of the way my server working. So now i want to show the operator all the set of attributes for that person with the Name.
I mean i need to merge the schema with me resultant data and show it in the GUI.
My result is in the form of xml stream. And i will convert my schema also in the form of XML...
Now i need to merge both of this XMl and need to present in the GUI...
Any help please...
Thank You!!!Still i am not getting any reply :(
-
How to delete some date in target table at a mapping?
How to delete some date in target table at a mapping?
I extract date from source tabel into target table,
but before extract date I want to delete some date from target?
how to do?Just to change a bit of terminology in the reply, within the mapping, click on operator properties and choose TRUNCATE/INSERT.
Note that truncate is dependent on constraints, so you probably must disable those before doing this. You can of course do DELETE/INSERT...
Jean-Pierre -
How to validate a date in message mapping
Hi experts,
how to validate a date in message mapping. For ex: if date comes as 2008/02/31, then file it shold not get processed.how to achieve this in message mapping. Please help .
Thanks&Regards,
Reyaz HussainHi,
There are few simple ways for date validation as follow,
1.If you would like to handle it in XI only, then in message mapping you could verify about it with the help of generating smart exception.
For e.g in mapping there is one Date conversion API i.e. somthing DateTransformation It converts the incoming date format to required format. Here give the date format i.e expected from Sender File.
If in case the format miss-matched then it will create the exception.
You could handle this exception with the use of [Alert notification|http://help.sap.com/saphelp_nw04/helpdata/en/2c/abb2e7ff6311d194c000a0c93033f7/frameset.htm] and could be even able to notify to sender system about it.
2. The another solution is easy for SAP synchornous communication --If you are passing the file data to SAP, then you could use below function modules to verify date format in receiver RFC/BAPI or inbound IDOC program. If the sy-subrc is not 0 then don't process further.
CONVERT_DATE_FORMAT
ISU_DATE_FORMAT_CHECK
Thanks
Swarup -
How i map the caf data with data of UWL in web dynpro
Hi Experts,
i created a bpm project with nwce 7.1.1 and it have a independent caf to keep it's data and status.
now i have to create a view(use web dynpro) such like UWL,
my question is
how i map the caf data with UWL, and let the view can open the task(popup a window, just like UWL do) for user to finish their job?
thanks.Hi Vic
Your requirement is exect functionality of UWL based on WEBDYNPRO, CAF and BPM for automation? ,and question is How to use CAF with WD or CAF with UWL API's ?. please clarify it.
Please fo through from given doc misght give u some idea
1. [How to develop Web Dynpro UI for your CAF project |http://www.sdn.sap.com/irj/scn/weblogs;jsessionid=(J2EE3417300)ID0722080650DB02400261803144436507End?blog=/pub/wlg/5414]
Best Regards
Satish Kumar -
How to map service contract data from ecc to crm
Hi Experts,
Please help me,how to map service contract data from ecc to crm system.
is there any perticular process.please let me know.
thanks in advance..Hi Srinivasulu,
Create the service contract type of ECC and also item categories under it in ECC in CRM. Map the number ranges.
Check the Partners mapping from R/3 to CRM and that will be all.
I tried but in CRM in the transaction type internal number range is mandatory. So, if you create service contract in ECC with one number it will replicate to CRM but with different number. But you can see ECC number under the transaction history in CRM.
Good Luck.
Sharath. -
My requirement is to update 3 valuesets daily based on data coming to my staging table. What is the API used for this and how to map any API to our staging table? I am totally new to oracle and apps. Please help. Thanks!
Hi,
You could use FND_FLEX_LOADER_APIS.UP_VALUE_SET_VALUE to upload them from staging table (I suppose you mean value set values...).
You can find a sample scripts if you google around.
What do you mean "how to map any API to our staging table" ?
You should do at least the following mapping (which column(s) in the staging table will provide these information):
- the 3 value sets name which you're going to update/upload (I suppose these are existing value sets or which have been already created)
- the value set values and description
Try to start with something and if there is any issues the community could then help... but for the time being with the description of the problem you have provided, that's the best I can do... -
How can I implement data type map?
The getString() method of java.sql.ResultSet interface is not efficient enough.
I want to map any data type to VARCHAR type,then use the getBytes() method to get the value.
How can I implement it.
I know proc can implement it, simply set selda->T[sli] with 1 for any field.Hello,
What's your LabVIEW version ? Do you have a simple example program which demonstrates this behavior ?
I found another discussions related to your issues with Xcontrols:
updating type defs in Xcontrol Facade
No Data Change event generated for a XControl in a Type Def
XControl facede.vi
Hope this helps.
Regards,
Steve M.
National Instruments France
#adMrkt{text-align: center;font-size:11px; font-weight: bold;} #adMrkt a {text-decoration: none;} #adMrkt a:hover{font-size: 9px;} #adMrkt a span{display: none;} #adMrkt a:hover span{display: block;}
>> Vidéo-t'chats de l'été : présentations techniques et ingénieurs pour répondre à vos questions -
How to map the appointment date in CRMXIF_ORDER_SAVE_M02-4x ?
Hi Team,
I want to map the field in CRMXIF_ORDER_SAVE_M02-4X, how to map..please help ..where we need to do ..could you please tell me the steps.
CustomerAppointmentDate
CRMXIF__ORDER__SAVE__M02-4x/ E101CRMXIF__BUSTRANS/ E101CRMXIF__APPOINTMENT__XT/E101CRMXIF__APPOINTMENT/ TIMESTAMP__FROM
Thanks
KalpanaHi Kalpana,
Below is a sample code. Modify this as per your input.
* Header details
CLEAR itab_edidc40.
MOVE sy-mandt TO itab_edidc40-mandt .
MOVE sy-saprl TO itab_edidc40-docrel.
itab_edidc40-docnum = '0000000000000001'.
itab_edidc40-direct = '2' .
CONCATENATE 'SAP' sy-sysid INTO itab_edidc40-rcvpor.
itab_edidc40-rcvprt = 'LS'.
itab_edidc40-rcvprn = t000-logsys.
CONCATENATE 'SAP' sy-sysid INTO itab_edidc40-sndpor.
itab_edidc40-sndprt = 'LS'.
itab_edidc40-sndprn = t000-logsys.
itab_edidc40-mestyp = 'CRMXIF_ORDER_SAVE_M' .
itab_edidc40-idoctyp = 'CRMXIF_ORDER_SAVE_U02' .
itab_edidc40-arckey = ' '.
itab_edidc40serial = l_serial .
APPEND itab_edidc40 . CLEAR itab_edidc40 .
CLEAR: itab_edidd40 ,e101crmxif_bustrans.
itab_edidd40-segnam = 'E101CRMXIF_BUSTRANS'.
itab_edidd40-docnum = '0000000000000001'.
e101crmxif_bustrans-object_task = ’I’.
e101crmxif_bustrans-object_type = eg: 'BUS2000117'.
e101crmxif_bustrans-process_type = process type of your transaction.
e101crmxif_bustrans-description = ’Test’.
MOVE e101crmxif_bustrans TO itab_edidd40sdata .
APPEND itab_edidd40 . CLEAR itab_edidd40 .
itab_edidd40-segnam = 'E101CRMXIF_APPOINTMENT_XT'.
itab_edidd40-docnum = '0000000000000001'.
e101crmxif_partner_xtdatax = 'X' .
MOVE e101crmxif_partner_xt TO itab_edidd40-sdata .
APPEND itab_edidd40 .
CLEAR: itab_edidd40,e101crmxif_bustrans .
*** Pass the Value
itab_edidd40-segnam = 'E101CRMXIF_APPOINTMENT'.
itab_edidd40-docnum = '0000000000000001'.
e101crmxif_appointmenttimestamp_from = ‘01/03/2015’.
MOVE e101crmxif_appointment TO itab_edidd40sdata .
APPEND itab_edidd40 . CLEAR itab_edidd40 .
* Create IDoc
CALL FUNCTION 'IDOC_INBOUND_ASYNCHRONOUS'
TABLES
idoc_control_rec_40 = itab_edidc40
idoc_data_rec_40 = itab_edidd40.
SELECT * FROM edidc WHERE serial = l_serial .
l_range-low = edidc-docnum. l_range-sign = 'I'. l_range-option = 'EQ'. APPEND l_range. ENDSELECT .
* report program to create transaction
SUBMIT rbdapp01 WITH docnum IN l_range WITH p_output = ' ' AND RETURN. COMMIT WORK.
WAIT UP TO 2 SECONDS.
SELECT status countr statyp stapa4 INTO (l_status, l_countr, l_statyp,l_stapa4) UP TO 1 ROWS FROM edids WHERE docnum = edidc-docnum ORDER BY countr DESCENDING .
ENDSELECT.
SELECT SINGLE object_id guid INTO (lv_object_id , lv_object_guid) FROM crmd_orderadm_h WHERE guid = l_stapa4+0(32).
IF lv_object_id IS NOT INITIAL.
object_id = lv_object_id.
ENDIF.
COMMIT WORK.
You can test it using WE02 or WE05 transaction.
Give Points if useful.
Regards,
Abi -
How to pass the data from a input table to RFC data service?
Hi,
I am doing a prototype with VC, I'm wondering how VC pass the data from a table view to a backend data service? For example, I have one RFC in the backend system with a tabel type importing parameter, now I want to pass all the data from an input table view to the RFC, I guess it's possible but I don't know how to do it.
I try to create some events between the input table and data service, but seems there is no a system event can export the whole table to the backend data service.
Thanks for your answer.Thanks for your answer, I tried the solution 2, I create "Submit" button, and ser the mapping scope to be "All data rows", it only works when I select at least one row, otherwise the data would not be passed.
Another question is I have serveral imported table parameter, for each table I have one "submit" event, I want these tables to be submitted at the same time, but if I click the submit button in one table toolbar, I can only submit the table data which has a submit button clicked, for other tables, the data is not passed, how can I achieve it?
Thanks. -
How to Map the Unit field in case of DSO and INFOCUBE
Dear Experts,
I have a issue ,Please help me to solve this
I have DSO as provider ,
And, i have to map transformations btw the Datasource and DSO.
In generic Data source, i have unit fields like BASME,MEINS (Quantity units) & STWAE (currency field)
and normal Quantity fields like KWMNG,OAUME(quantity related),OAUWE (value related).
In DSO data fields as Key figure info objects like 0Quantity (which have 0Unit as unit of measure) and some other key figures which have there respective unit of measure in info object definition.
So you Please tell me how to map the Quantity ,Amounts, unit fields to key figures that we have.
(How it will be for both DSO and Info cube is there any difference?)
Edited by: AnjunathNaidu on Jan 18, 2012 1:20 PMNavasamol ,
If it is works ,will u please tell me what is the difference ,if the transformations btw data source and DSO and
what is the difference btw data source and info cube and btw DSO to Infocube or cube to cube .
And i have seen the Quantity fields and there respective unit fields are mapped directly to key figure info object
in case of Info cube . Its working fine .
If only 1:1 mapping allowed in DSO data fields key figures and there respective unit of measure characteristic.
why this difference btw DSO and Info cube can any one explain me in detail.
Expecting your valuable suggestions.
Thanks & Regards,
Anjunath Naidu
Edited by: AnjunathNaidu on Jan 18, 2012 4:05 PM -
Introduction
In SQL Server Reporting Services, we can define a mapping between the fields that are returned in the query to specific delivery options and to report parameters in a data-driven subscription.
For a report with a parameter (such as YEAR) that allow multiple values, when creating a data-driven subscription, how can we pass a record like below to show correct data (data for year 2012, 2013 and 2014).
EmailAddress Parameter
Comment
[email protected] 2012,2013,2014 NULL
In this article, I will demonstrate how to configure a Data Driven Subscription which get multi-value parameters from one column of a database table
Workaround
Generally, if we pass the “Parameter” column to report directly in the step 5 when creating data-driven subscription.
The value “2012,2013,2014” will be regarded as a single value, Reporting Services will use “2012,2013,2014” to filter data. However, there are no any records that YEAR filed equal to “2012,2013,2014”, and we will get an error when the subscription executed
on the log. (C:\Program Files\Microsoft SQL Server\MSRS10_50.MSSQLSERVER\Reporting Services\LogFiles)
Microsoft.ReportingServices.Diagnostics.Utilities.InvalidReportParameterException: Default value or value provided for the report parameter 'Name' is not a valid value.
This means that there is no such a value on parameter’s available value list, this is an invalid parameter value. If we change the parameter records like below.
EmailAddress Parameter Comment
[email protected] 2012 NULL
[email protected] 2013 NULL
[email protected] 2014 NULL
In this case, Reporting Services will generate 3 reports for one data-driven subscription. Each report for only one year which cannot fit the requirement obviously.
Currently, there is no a solution to solve this issue. The workaround for it is that create two report, one is used for view report for end users, another one is used for create data-driven subscription.
On the report that used create data-driven subscription, uncheck “Allow multiple values” option for the parameter, do not specify and available values and default values for this parameter. Then change the Filter
From
Expression:[ParameterName]
Operator :In
Value :[@ParameterName]
To
Expression:[ParameterName]
Operator :In
Value :Split(Parameters!ParameterName.Value,",")
In this case, we can specify a value like "2012,2013,2014" from database to the data-driven subscription.
Applies to
Microsoft SQL Server 2005
Microsoft SQL Server 2008
Microsoft SQL Server 2008 R2
Microsoft SQL Server 2012
Please click to vote if the post helps you. This can be beneficial to other community members reading the thread.For every Auftrag, there are multiple Position entries.
Rest of the blocks don't seems to have any relation.
So you can check this code to see how internal table lt_str is built whose first 3 fields have data contained in Auftrag, and next 3 fields have Position data. The structure is flat, assuming that every Position record is related to preceding Auftrag.
Try out this snippet.
DATA lt_data TYPE TABLE OF string.
DATA lv_data TYPE string.
CALL METHOD cl_gui_frontend_services=>gui_upload
EXPORTING
filename = 'C:\temp\test.txt'
CHANGING
data_tab = lt_data
EXCEPTIONS
OTHERS = 19.
CHECK sy-subrc EQ 0.
TYPES:
BEGIN OF ty_str,
a1 TYPE string,
a2 TYPE string,
a3 TYPE string,
p1 TYPE string,
p2 TYPE string,
p3 TYPE string,
END OF ty_str.
DATA: lt_str TYPE TABLE OF ty_str,
ls_str TYPE ty_str,
lv_block TYPE string,
lv_flag TYPE boolean.
LOOP AT lt_data INTO lv_data.
CASE lv_data.
WHEN '[Version]' OR '[StdSatz]' OR '[Arbeitstag]' OR '[Pecunia]'
OR '[Mita]' OR '[Kunde]' OR '[Auftrag]' OR '[Position]'.
lv_block = lv_data.
lv_flag = abap_false.
WHEN OTHERS.
lv_flag = abap_true.
ENDCASE.
CHECK lv_flag EQ abap_true.
CASE lv_block.
WHEN '[Auftrag]'.
SPLIT lv_data AT ';' INTO ls_str-a1 ls_str-a2 ls_str-a3.
WHEN '[Position]'.
SPLIT lv_data AT ';' INTO ls_str-p1 ls_str-p2 ls_str-p3.
APPEND ls_str TO lt_str.
ENDCASE.
ENDLOOP. -
How to find the data loaded from r/3 to bw
hi
how to find the data loaded from r/3 to bw is correct . i am not able to find which feild in the query is connected to which feild in the r/3 . where i am geting the data from r/3 . is there any process to find which feild and table the data is comming from . plz help
thanks in advance to u allHi Veda ... the mapping between R/3 fields and BW InfoObjects should take place in Transfer Rules. Other transformation could take place in Update Rule.
So you could proceed this way: look at InfoProvider Data Model and see if the Query does perform any calculation (even with Virtual keyfigures / chars). Than go back to Update Rules and search for other calculation / transformation. At least there are Tranfer Rule and eventually DataSource / Extraction Enhancements.
As you can easily get there are many points where you have to look for ... it's a quite complex work but very usefull.
Once you will have identified all mappings / transfromation see if BW data matchs R/3 (considering calculations ...)
Good job
GFV
Maybe you are looking for
-
Issue in creation of level 2 WBS for level 1 WBS which is released
Hello All, I am trying to create a level 2 WBS for a alrealy created level 1 WBS using BAPI_BUS2054_CHANGE_MULTI .If the level 1 WBS is not released then level 2 WBS gets created .However if the level 1 is released then level 2 WBS doesnt gets create
-
OIM and OIA11g Integration(error while importing Resource metadata into OIA
Hi, I followed the below link and trying to integrate OIM 11.1.1.5 and OIA 11.1.1.3.6 And both are deployed different weblogic domains.. http://wikis.sun.com/display/OIA11gDocs/Integrating+With+Oracle+Identity+Manager,+Preferred+Method I am getting e
-
Except function with parent child hierarchy using mdx query
HI, I need to remove some items using mdx query in parent child hierarchy. I tried with below query,it is not removeing ,could you please help me. SELECT {[Measures].[Amount]} ON COLUMNS NonEmpty([Account].[Accounts].[Account Level 01],[Measures].[A
-
Plant information in Customer Statement (FBL5N)
Hi, I observe that plant field is availalbe in FBL5N. Hower the system has not populated the plant value in this field and I know that this is a Standard SAP functionality. I also understand that it is be possible to create a single billing document
-
Mapping the CMP Fields with the Database Table using Websphere???
Hi, How to Map the CMP Fields with the Database Table using Websphere thru ejb.jar.xml??? Thanks, JavaCrazyLover