Getting a set type data to CRMD_ORDER
Hi Experts,
I have created a new settype which has 2 attributes .I need to show these attributes in Sales Order Line Item level.
I know there is a BADI CRM_CUSTOMER_I_BADI which gives me the freedom to show my own screen in the sales order screen(additiional tab).
I need to show the details in an existing tab. Is there a way to acheive this?
Please help.
Thanks
Hi,
For Example Enhancing product workbench Commpr01 in CRM for any Product category or somthing, we will use set type concept in CRM,for creating set types we need to go EEWB workbench and create .while creation of set types in EEWB itself it will have one option "Create BW extractor".So just we need to select that option system will create set type data source for the same.Delta will be based on Change pointer and it will use push technology.so just u need to ask your CRM IT team to select that option .u dont need to create data source in RSO2.
See the properties of Set type data source
Extraction Methods - F1
Extractor - COM_GENERIC_FULL_UPLOAD(its common for all data sources generated through set type concept)
Extract Structure ZZSET*
Gen. Interface X.
Delta Process AIM
Delta Test Possible X
DeltaInit Simu 1
U can see these propeties in RSA2
Regards,
Jyothi
Similar Messages
-
How to Get and Set personalization data from Iview with Java Webdynpro ?
Hi All,
I'm trying to get Iview properties from an Iview in the portal, did anyone knows how to do this?
sample caode?
Thanks,
AmitYYou can use PCD API to access iView properties
Check this link
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/314ae7a5-0c01-0010-c198-9c7c5e8cee46
/people/daniel.wroblewski/blog/2006/08/15/pcd-ii-creating-portal-objects -
Dear Experts,
Currently I am working on an interface between CRM 6.0 and XI to deliver product specific information, including customer fields.
I am using the BDOC type PRODUCT_MAT.
The customer fields have been implemented through set types in transaction comm_attrset. For each set type an API append was created successfully through function u201CSet types/attributesu201D > u201CTransportu201D > u201CSet Typeu201D.
The set types are available in the API structure of the BDOC PRODUCT_MAT (structure COMT_PROD_MATERIAL_BDOC_TAB). But the set types are not available in the generated IDOC (I use the function module CRMXIF_PRODUCT_MATERIAL_SAVE to generate the IDOC...).
Has anybody of you an idea why the set types are not in the IDOC / how to get the set types into the IDOC?
Thanks in advance,
AlexDear Vamsi,
Thanku2019s for your reply. I checked the module CRMXIF_PRODUCT_MATERIAL_SAVE, but it has no output structure named CUSTOMER_SET_DATA which could hold the set types.
Any other hints?
At the moment I am wondering what might be the general process to add set types to IDOCs? Are set types generally also added to IDOCs as soon as they are generated and added to BDOCS, or is there a different mechanism like generating the IDOC structure from the BDOC structure?
Thanks for any answers in advance!
Regards,
Alex -
Error while setting a value into an UDF of type date
Hello,
i get the following error while trying to set a value to an udf with the type "date":
Exception from Server: RPC_E_SERVERFAULT
This code is used:
objDate = CDate(objLineRecordSet.Fields.Item("U_TESTDATE").Value)
objDocument.Lines.UserFields.Fields.Item("U_ACTDATE").Value = objDate '### Here comes the error
The application is in PL 29Christian,
If you search this forum on "date UDF" you will find many posts that may assist you such as this one ...
Format of string passed to Date/Time Hour UDF
HTH,
Eddy -
Error message "Data cannot be maintained for set type COMM_PR_PUR_1
Hi
While replicating the material master through R3AS I am getting an error for which the details to be checked in SMW01. In SMW01 when I selected the record for error details I am getting above error message. How to resolve ? Pls guide me stepwise. For your information I has cleared SMQ1 in R3 & SMQ2 in SRM
For curioisity next I selected all such error logs & deleted. It gave me one warning (some inconstinecies error) which I ignored. After that I checked SMQ1 of R3 & SMQ2 of SRM. No log
But I observed a strange thing. Whatever material codes I am creating it is going straightway to SRM without running R3AS transaction. I checked R3AM1, selected the row and cancelled. But still going without any interferrance. Why ? How shall I stop this.
ThanksHello,
>
BNR wrote:
> Hi
> While replicating the material master through R3AS I am getting an error for which the details to be checked in SMW01. In SMW01 when I selected the record for error details I am getting above error message. How to resolve ? Pls guide me stepwise. For your information I has cleared SMQ1 in R3 & SMQ2 in SRM
>(...)
Have a look at OSS note 1049693 - Data cannot be maintained for set type COMM_PR_PUR_1.
Regards.
Laurent. -
JDBC-ODBC Bridge to SPSS data files - Result Set Type is not supported
Hello,
As mentioned in the subject I am trying to read SPSS data files using the SPSS 32-Bit data driver, ODBC and the JDBC-ODBC Bridge.
Using this SPSS Driver I manged to read the data directly into an MS-SQL Server using:
SELECT [...] FROM
OPENROWSET(''MSDASQL.1'',''DRIVER={SPSS 32-BIT Data Driver (*.sav)};DBQ=' SomePathWhereTheFilesAre';SERVER=NotTheServer'', ''SELECT 'SomeSPSSColumn' FROM "'SomeSPSSFileNameWithoutExt'"'') AS a
This works fine!
Using Access and an ODBC System DNS works for IMPORTING but NOT for LINKING.
It is even possible to read the data using the very slow SPSS API.
However, when it comes to JDBC-ODBC the below code does only work in part. The driver is loaded successfully, but when it comes to transferring data into the resultset object the error
SQLState: null
Result Set Type is not supported
Vendor: 0
occurs.
The official answer from SPSS is to use .Net or to use their implementation with Python in their new version 14.0. But this is obviously not an option when you want to use only Java.
Does anybody have experience with SPSS and JDBC-ODBC??? I have tried the possible ResultSet Types, which I took from:
http://publib.boulder.ibm.com/infocenter/db2luw/v8/index.jsp?topic=/com.ibm.db2.udb.doc/ad/rjvdsprp.htm
and none of them worked.
Thank you in advance for your ideas and input & stay happy!
Here the code without all the rest of the class arround it:
// Module: SimpleSelect.java
// Description: Test program for ODBC API interface. This java application
// will connect to a JDBC driver, issue a select statement
// and display all result columns and rows
// Product: JDBC to ODBC Bridge
// Author: Karl Moss
// Date: February, 1996
// Copyright: 1990-1996 INTERSOLV, Inc.
// This software contains confidential and proprietary
// information of INTERSOLV, Inc.
public static void main1() {
String url = "jdbc:odbc:SomeSystemDNS";
String query = "SELECT SomeSPSSColumn FROM 'SomeSPSSFileName'";
try {
// Load the jdbc-odbc bridge driver
Class.forName ("sun.jdbc.odbc.JdbcOdbcDriver");
DriverManager.setLogStream(System.out);
// Attempt to connect to a driver. Each one
// of the registered drivers will be loaded until
// one is found that can process this URL
Connection con = DriverManager.getConnection (url);
// If we were unable to connect, an exception
// would have been thrown. So, if we get here,
// we are successfully connected to the URL
// Check for, and display and warnings generated
// by the connect.
checkForWarning (con.getWarnings ());
// Get the DatabaseMetaData object and display
// some information about the connection
DatabaseMetaData dma = con.getMetaData ();
System.out.println("\nConnected to " + dma.getURL());
System.out.println("Driver " +
dma.getDriverName());
System.out.println("Version " +
dma.getDriverVersion());
System.out.println("");
// Create a Statement object so we can submit
// SQL statements to the driver
Statement stmt = con.createStatement(ResultSet.TYPE_FORWARD_ONLY ,ResultSet.CONCUR_READ_ONLY);
// Submit a query, creating a ResultSet object
ResultSet rs = stmt.executeQuery (query);
// Display all columns and rows from the result set
dispResultSet (rs);
// Close the result set
rs.close();
// Close the statement
stmt.close();
// Close the connection
con.close();
}Thank you for your reply StuDerby!
Actually the above script was before, as you suggested, leaving the ResultSetTeype default. This did not work...
I am getting gray hair with SPSS - in terms of connectivity and "integratebility" none of their solutions offered is sufficient from my point of view.
Variable definitions can only be read by the slow API, data can only be read by Python or Microsoft Products... and if you want to combine both you are in big trouble. I can only assume that this is a company strategy to sell their Dimensions Platform to companies versus having companies developping their applications according to business needs.
Thanks again for any furthur suggestions and I hope, that some SPSS Developper will see this post!
Cheers!! -
How to set a date type variable to null, nothing or such
I created an User Defined Type that holds a Deadline property which is date type. Whenever there is no Deadline set yet, I would like such property to be set to Null, Nothing or such. I noticed that if I just Dim a Date Type variable its value will be
already set to 12:00 AM, and the same value takes place if I set the variable to a blank cell value. Any ideas to get around of this problem?
Jorge Barbi Martins ([email protected])A variable of type Date cannot be empty. Its default value is 0, which corresponds to Midnight on 30 December 1899.
If you want to be able to make it empty, declare it as Variant instead of as Date. You can then set its value to Null.
Regards, Hans Vogelaar (http://www.eileenslounge.com) -
Set type is not getting filled
Hi ,
I have created a set type ZTLS_ORG, which is organisation dependent. This set type has fields from table MVKE. I am filling up the fields of this set type in an enhacement of Badi Definition Customer_product2. But the values are not getting populated, when I am checking it in product master through commpr01. Kindly suggest.
Regards
ShwetaHello Shweta,
You mean to say that attributes of your settype is nothing but fields from table MVKE?
Have you generated the settype before using it in your program?
Best Regards,
Shanthala Kudva. -
Bursting 2 Oracle BI Analysis type Data Set
Hi
We have 2 Oracle BI Analysis type Data Set.We are able to burst but in the email we just recieve only email attachement with only header(only column headings) ( in
excel/pdf output without any data.
But when we import the report xml and load into xml into template we are able to preview data in excel or PDF format.
Could you Please answer as soon as possible
Thanks
Niteshedit BI Analysis and remove any FILTER USING etc... save analysis and then try in BIP to add the BI Analysis data set.
-
Error when trying to set a date type edit field
Hi all
I have an edit text field in a form which is bounded to a date type
database field using dbDataSource.
When i try to set the edit text field value with Today's date by code.
I recieve an error message that the value which
i'm trying to set is not legal. the error number is [131-183].
I use the following code to set the edit field:
If oEditText.Value.Trim = String.Empty Then
Dim strDate As String
Dim sboBob As SAPbobsCOM.SBObob =
oCompany.GetBusinessObjec(SAPbobsCOM.BoObjectTypes.BoBridge)
rs = sboBob.Format_DateToString(Microsoft.VisualBasic.Today)
strDate = rs.Fields.Item(0).Value.ToString().Trim()
Try
oEditText.Value = strDate
Catch ex As Exception
SBO_Application.MessageBox("error setting
current date: " & ex.Message)
End Try
End If
My question is how can i set the edit field with a valid value?Hi!
When writing to EditText.Value you must always use the B1 "DB-Format" as String.
The following examples are assuming (it's a must!) that the EditText-Fields are bound to a corrosponding DataSource (Type Date, Price etc...)
MyDateEditTxt.Value="20080207"
MyPriceEditTxt.Value="1341.79"
The best of it: It's Windows and SBO-GUI-Language independent.
EditText.String must always be written with the format of the actual Language of the SBO-GUI, which can be changed by the user....
You may also have a look at my statements regarding these problems near the end of this thread:
[How to pass date value to an UDF;
Cheers,
Roland -
Hi All,
following piece of code was working fine in 4.6 C but in ECC 6.0 I get the following error:
" "END_OF_RECORD" must be a character-type data object (data type C, N,D, T or STRING) . "
I tried type-casting with field symbols but still not able to remove the error. Cannot convert end_of_record directly to type C as it may hamper the functionality. Plz advice how to remove the error without converting type x to type C
In the following code :
DATA: DELIMITER TYPE C VALUE CL_ABAP_CHAR_UTILITIES=>HORIZONTAL_TAB,
end_of_record TYPE x.
SPLIT data_file_i AT delimiter INTO it_ekko-rtype
it_ekko-ebeln
it_ekko-bsart
it_ekko-lifnr
it_ekko-bedat
it_ekko-ekorg
it_ekko-ekgrp
it_ekko-bukrs
it_ekko-zterm
it_ekko-zbd1t
it_ekko-zbd1p
it_ekko-zbd2t
it_ekko-zbd2p
it_ekko-zbd3t
it_ekko-inco1
it_ekko-inco2
it_ekko-waers
it_ekko-wkurs
it_ekko-kufix
it_ekko-verkf
it_ekko-telf1
it_ekko-ihrez
it_ekko-unsez
it_ekko-angnr
it_ekko-ihran
it_ekko-submi
it_ekko-loekz
end_of_record.
where all these fields except " end_of_record " are of character type and "data_file_i " is a character type structure as defined below:
DATA :
BEGIN OF data_file_i OCCURS 0,
record(1000),
END OF data_file_i,Type X is not allowed in Unicode. When a field is declared as Type X with Value u201809u2019 or any other value, it can be resolved by using classes.
Before Unicode
CONSTANTS: c_hex TYPE x VALUE '09'.
Resolution:
Itu2019s work for any value of x.
First a temporary field of Type c should declare. Following class will convert Type x variable into type c.
Example:
CONSTANTS: c_hex TYPE x VALUE '09'.
DATA: LV_TEMP TYPE STRING.
DATA: LV_TMP TYPE C.
TRY.
CALL METHOD CL_ABAP_CONV_IN_CE=>UCCP
EXPORTING
UCCP = c_hex
RECEIVING
CHAR = LV_TMP .
CATCH CX_SY_CONVERSION_CODEPAGE.
CATCH CX_PARAMETER_INVALID_TYPE.
CATCH CX_SY_CODEPAGE_CONVERTER_INIT.
ENDTRY.
CONCATENATE I_OUTPUT-BKTXT I_OUTPUT-BVORG
I_OUTPUT-BUDAT I_OUTPUT-MESSAGE INTO
SEPARATED BY LV_TMP.
I_BUFFER = LV_TEMP.
CLEAR LV_TEMP.
CLEAR LV_TMP.
OR
Note: It works only for type x value 09.
CLASS cl_abap_char_utilities DEFINITION LOAD.
CONSTANTS: c_hex TYPE c VALUE
abap_char_utilities=>HORIZONTAL_TAB. -
On the initial set up for apple tv it just sits there trying to set the date and time . it is a wireless setup and the ipaddress and router address is correct . I can't get by this screen. The setting is on automatic and I have picked a city in my time zone yet it still tries to set a time and date but fails.
thanksMake sure router is up to date. Try ethernet to rule out any wifi issues. Reboot ATV and router.
-
How to retrieve date from a set type in SAP CRM in BRF+ application
Hi,
Can anybody please let me know how can I retrieve date from a set type in SAP CRM to BRF+.
I need to process the data in BRF+ and then send it back to CRM. Thanks.
Regards
YogeshHi Manish,
From my experience, you cannot change an existing attribute of a set type (esp. when it has a dependency).
You need to delete the attribute, save the changes and then re-create the attribute with new value table.
Also remove any dependencies before deleting the attribute.
Regards,
Vartika -
How to generate a set of date type records
How to generate a set of date-type records, with a fixed interval, starting from a date like 2008-01-01.
Some thing like this
SQL> select to_char(to_date('2008-01-01','yyyy-mm-dd') + (level - 1),'DD-MON-YYYY') my_date
2 from dual
3 connect by level <= 10
4 /
MY_DATE
01-JAN-2008
02-JAN-2008
03-JAN-2008
04-JAN-2008
05-JAN-2008
06-JAN-2008
07-JAN-2008
08-JAN-2008
09-JAN-2008
10-JAN-2008
10 rows selected. -
Pcr To Get The Wage Type Value From Previous Years Master Data Records
Hi
I have an issue related to pcr. I want to get the value of a wage type from previous year and it has to be added to another wage type. Tried to write pcr by using the operation TABLE. But i am not able to get the previous years data. Request to help in writing the PCR for the issue.
Thanks
EKP Yadav1 - Create an "Information WT" that will be saved into RT but that has no impact on net pay.
2 - Create a PCR that will be activated on the last pay of the year to read the WT you want and transfer it's information into your Information WT.
3 - Create a PCR that will read the last payroll results (activated with function PLRT) and transfer into the Input Table (IT) the Information WT.
Maybe you are looking for
-
I am running OS 10.7.5 on a Macbook. Problems with ftp upload
I am running OS 10.7.5 on a Macbook. I am trying to upload to an ftp server. The connection is established with no problem but any attempt to upload files times out. This is an intermittent problem. I have been using fetch as an ftp client quuite suc
-
Using contact form created in DW with Business Catalyst (was: form submit)
Hi. I hope some one can help. My son has built a contact form which he wants the contents to be sent to his email address when they submit it. His site is built using Dreamweaver and is hosted on BC, he has not used BC modules to build the site it wa
-
Code syntax error in header using a template?
Now running CS5 DW in a 32 bit Windows/Vista ultimate environment. The improved error messages have brought to light a problem that I apparently have had for a long time but didn't know it as CS4 simply flagged the line but no message. Many of my sit
-
How can I create the little arrow in the latest pages version on Mavericks
I mean the arrow you normally get, when you type in -->...(it works this way in office word) Thank you for your help.
-
What is the highest OS a second generation ipod touch can go up to?
What is the highest OS a second generation ipod touch can go up to?