Return code 8 while converting field in record 1 (Remote cube)
Hello,
I am executing a query which fetches data from a remote cube. This query gives me errors 'Return code 8 while converting <Field> in record <no.>' RSAR 1118.
What might be the issue with the remote cube. and how should I check it.
Tx.
Regards,
KP
Hi Venkat,
Is already has ALPHA conversion routine. We are getting this error for few more infoobjects in different transaction data loads.
Regards
SSS
Similar Messages
-
Greetings,
I have a base image I have created with an MDT task sequence, than I am then immediately capturing with another MDT task sequence (the capture sequence is basically the default). After capture, I get 0 errors, 1 warning: "Unexpected return code
while re-arming office 2010, RC= -1073425657".
I am capturing immedaitely after the base image build, and even more strangely, even with Office 2010 removed from my base build, I STILL get this warning! Office isn't even on there anymore (I verified before capture just to double check).
Not sure how or why this is happening - or more importantly, should I care? I've deployed a couple of machines using this image, and both Office and Windows show as activated. Can this safely be ignored, or if not... what is the fix?
Thanks in advance!Freddie,
Please read your own post again, can you tie the knots together, because your phrasing is going crazy!?!
However, if using the sysprep step from within a MDT task sequence, please scroll through the ZTISysprep.wsf to find that not only the machine will be sysprepped, but also Office 2010 will be automatically re-armed, this is provided in the script already,
so no need to run it on your own.
Ok how do i undo that because thatswhy the message appears to many rearms...
If a machine is domain joined, it will not sysprep and capture. Also I wouldn't sysprep and capture an already sysprepped and captured image again (based on gut feeling) and as always check your logfiles, they can reveal what is going on here.
The machine is not domain joined in the Vm. And i do not sysprep and capture twice.Which logfiles exactly to see?
If this post is helpful please click "Mark for answer", thanks! Kind regards
freddie -
Error Getting return code while FTPing file through JAVA
Hello experts
My requirement is to send file to Mainframe server in a JOBQ.I used a socket to connect to server. A designated FTP ID is provided for authentication.
I tried to FTP file to mainframe sever, but while getting return code from server, i m recieving Junk values.I am reading return code through BufferReader.readline().
I have set up the connection mode to ASCII mode.I tried to set up the connection mode to EBSIDIC mode too, but i revieve the same error.
Any one have tried to FTP file to mainframe in got the same error.What could be the possible reason.
Here is the error looks like :-
Inside SocketClient() class, in connect(String hostname, int port) socket = Socket[addr=xxx.xx.xx.com/xx.xxx.xx.xx,port=21,localport=2500]
Inside SocketClient() class, in connectAction() method (InputStream) input = java.net.SocketInputStream@696fc610
Inside SocketClient() class, in connectAction() method (OutputStream) output = java.net.SocketOutputStream@695b8610
Inside FTP class, in __getReply() method _controlInput = java.io.BufferedReader@15370617
Inside FTP class, in __getReply() method Line = ��&�����(��&����/������<�������<��|(?>
Any help in this topic is appriciated
Regards
SamitThis is the third party API's i have used
http://www.enterprisedt.com/downloads/ftp.html
download this.
Version 1.2.1 (Jan 29, 2003). Download here. (tar.gz format. WinZip will unpack this). Compiled/tested for JDK1.4.x. Will work for 1.3.x etc -
UOM is not converting in APO reports(Remote Cube-Bex)
Hi Guru's
I am using SCM5.0 with BI7 and i have created the reports (Bex)in DP with remote cube.
Here i am unable to get the option to convert the units from ton - kg - pc.
System by default taking the ton from PA, But i need to convert this into kg/ pc in my report.
Note: I have maintained conversation in master data(product).
I think i have missed some settings in Q-Designer/ Cube settings?????
Please help me experts in this regards.
Great thanks for your help!!!!
Regards,
SantoshHi,
Edit the Infosource based on your PA:
1. Add new KF to Communication structure - let's say QUANT_PC
2. In transfer rules for new KF choose "Routine". In ABAP code read the conversion factor from master data and calculate the quantity in PC. Assign to RESULT.
3. Activate
Now you can add new KF to your remote cube and new KF will be accessible in BEx reports.
Regards,
Alexander -
Getting unkown errors while running the listcube for remote cube
Hi we r trying to run the listcube for remote cube .We are trying to access the oracle data by creating views and pulling it into bw using remote cube through UDConnect
We r getting uknown errors like below
Messages for DataSource 6BTV_HISTORY_FXD_CST1 from source system DB2CX
System error: Message type is unknown.
Error reading the data of InfoProvider ZR_CHFCB
If any one face the similar issue please reply me back .Remote cube doesn´t store data in BW....it only access data from remote system and shows in a report.....the listcube TX need to find a data table in order to show the information but in this case tha remote cube doesn´t have anything.....
Regards -
No tax code while converting PR (EBP-PR) into PO
Hi Al
I am trying to convert a PR (created through EBP) into PO in the backend but the tax code which was determined in the
PR privously within EBP will not be transmitted or determined in the PO. Is this a standard problem?
Since in the PR on the EBP side is the tax code visible. I have looked that via T-code BBP-PD on the EBP side.
I'm lost here so any help is highly appreciated and greatly rewarded
Regards
MarcoHi
SPRO - Financial Accounting (New)->Financial Accounting Global Settings (New)->Tax on Sales/Purchases
SPRO - Financial Accounting (New)->Financial Accounting Global Settings (New)->Withholding Tax
In short you will have to define the tax codes, define Tax code in the info record of materials (ME11 to create).
So as soon as you put the vendor the Tax code can be populated in the PO.
Regards
sam -
Changes to be done in the code while converting appln to web start
Hi All,
I am developing one application using swing, Spring, Hibernate. It is working fine through eclipse. Now I want
this project to be launched via java web start. For that I have to make changes in the code for accessing
resources such as images, files. Also changes have to be made to access the system environment variables.
But there will not be 2 versions. I want something like
if applcaiton running through eclispe
execute this code for images and files
else if application is running though jabva web start i.e. by clciking on jsp
execute this code for images and files
Also spring-beans.xml has the system propery as environment.
<property name="location" value="classpath:application-${environment}.properties" />
but while running though eclipse i have to change it as
<property name="location" value="classpath:application-${jnlp.environment}.properties" />
Now can it be possible to have only one property value for location?
Please help me. If u know any URL which addresses this issues of give some what direction on this matter,
please provide me those also.
Thank and Regards
Deepali.I think it's much better to make a JSP, Spring Hibernate version of your swing app.
You can even choose JSF as a view layer. -
Dump while accessing remote cube
I have a remote cube on a r/3 function module.
While doing listcube on the remote cube I get following error:
System error: Message type is unknown.
Error reading the data of InfoProvider
In R/3 error dump analysis gives the following:
Only message types A, E, I, W, S and X are allowed.
There is probably an error in the program "GP45R68OC5AE7889UWEDQJN1THJ".
MESSAGE_TYPE_UNKNOWN
Does anyone have experience to handle similar situation? Any suggestion for the next step?This is a standard function module: FAGL_GET_TT_DATA_LEAD
Import Parameters:
I_REQUNR
I_ISOURCE
I_MAXSIZE
I_INITFLAG
I_UPDMODE
I_DATAPAKID
I_PRIVATE_MODE
I_CALLMODE
I_NO_AGGREGATION
Table Parameters:
I_T_SELECT
I_T_FIELDS
E_T_DATA
E_T_SELECT
There is no export paramters -
Effects of R3 DS enhancement on remote cube
Hi All,
Is there a direct effect while running queries against a remote cube when its underlying R3 DS has been enhanced?
An example is, I'm running queries on a remote cube copied from OL_PCA_1. Now I enhanced R3 DS 0EC_PCA_1_9 (which feeds IS 0EC_PCA_1, which in turn in the basis of my remote cube). I did not include the new characteristics in the remote cube itself, but rather included it in the enhanced standard OL_PCA_1 where more granular reporting will be performed.
Will there be query performance effects on the remote cube using this approach? How can I measure the performance impact (if any) on the remote cube's queries?
Thanks.Hi All,
Is there a direct effect while running queries against a remote cube when its underlying R3 DS has been enhanced?
An example is, I'm running queries on a remote cube copied from OL_PCA_1. Now I enhanced R3 DS 0EC_PCA_1_9 (which feeds IS 0EC_PCA_1, which in turn in the basis of my remote cube). I did not include the new characteristics in the remote cube itself, but rather included it in the enhanced standard OL_PCA_1 where more granular reporting will be performed.
Will there be query performance effects on the remote cube using this approach? How can I measure the performance impact (if any) on the remote cube's queries?
Thanks. -
Return code 4 when converting field GN_PAR_SSY in record
Hi friends,
This is very much urgent.
I am getting error
"Record 1 :Return code 4 when converting field GN_PAR_SSY in record " while extracting customer text through 0customer_text.
In the transfer rule there is nothing assigned to the infobjects 0GN_PAR_SSY.
My source system is EEC 6.0.
I am not getting this error on development and quality servers.
Regards,
Sane M. V.Hi mahendra , just have a look on the routine , for this infobject.
PROGRAM CONVERSION_ROUTINE.
Type pools used by conversion program
TYPE-POOLS: RS, RSARC, RSARR, SBIWA, RSSM.
Declaration of transfer structure (selected fields only)
TYPES: BEGIN OF TRANSFER_STRUCTURE ,
InfoObject 0PLANT: CHAR - 000004
WERKS(000004) TYPE C,
InfoObject 0POSTAL_CD: CHAR - 000010
PSTLZ(000010) TYPE C,
InfoObject 0PURCH_ORG: CHAR - 000004
EKORG(000004) TYPE C,
InfoObject 0SALESORG: CHAR - 000004
VKORG(000004) TYPE C,
InfoObject 0FACTCAL_ID: CHAR - 000002
FABKL(000002) TYPE C,
InfoObject 0COUNTRY: CHAR - 000003
LAND1(000003) TYPE C,
InfoObject 0REGION: CHAR - 000003
REGIO(000003) TYPE C,
InfoObject 0COUNTY_CDE: CHAR - 000003
COUNC(000003) TYPE C,
InfoObject 0DISTR_CHAN: CHAR - 000002
VTWEG(000002) TYPE C,
InfoObject 0RT_CUSTPL: CHAR - 000010
KUNNR(000010) TYPE C,
InfoObject 0PLANTCAT: CHAR - 000001
VLFKZ(000001) TYPE C,
InfoObject 0SALES_DIST: CHAR - 000006
BZIRK(000006) TYPE C,
dummy field to avoid syntax error
$dummy(1) type c,
END OF TRANSFER_STRUCTURE .
Global code used by conversion rules
$$ begin of global - insert your declaration only below this line -
DATA: l_s_errorlog TYPE rssm_s_errorlog_int,
l_text TYPE string.
$$ end of global - insert your declaration only before this line -
FORM COMPUTE_GN_R3_SSY
Compute value of InfoObject 0GN_R3_SSY
in communication structure /BIC/CS0PLANT_ATTR
Technical properties:
field name = GN_R3_SSY
data element = /BI0/OIGN_R3_SSY
data type = CHAR
length = 000002
decimals = 000000
ABAP type = C
ABAP length = 000004
reference field =
Parameters:
--> RECORD_NO Record number
--> TRAN_STRUCTURE Transfer structure
<-- RESULT Return value of InfoObject
<-> G_T_ERRORLOG Error log
<-- RETURNCODE Return code (to skip one record)
<-- ABORT Abort code (to skip whole data package)
FORM COMPUTE_GN_R3_SSY
USING RECORD_NO LIKE SY-TABIX
TRAN_STRUCTURE TYPE TRANSFER_STRUCTURE
G_S_MINFO TYPE RSSM_S_MINFO
CHANGING RESULT TYPE /BI0/OIGN_R3_SSY
G_T_ERRORLOG TYPE rssm_t_errorlog_int
RETURNCODE LIKE SY-SUBRC
ABORT LIKE SY-SUBRC. "set ABORT <> 0 to cancel datapackage
$$ begin of routine - insert your code only below this line -
DATA: l_s_errorlog TYPE rssm_s_errorlog_int.
CALL FUNCTION 'RSDG_ID_GET_FROM_LOGSYS'
EXPORTING
i_source_system = G_S_MINFO-LOGSYS
IMPORTING
e_soursysid = RESULT
EXCEPTIONS
id_not_found = 1.
IF sy-subrc <> 0.
RETURNCODE = 4.
MESSAGE e087(r7) WITH G_S_MINFO-LOGSYS INTO l_text.
MOVE-CORRESPONDING syst TO l_s_errorlog.
l_s_errorlog-record = RECORD_NO.
APPEND l_s_errorlog TO g_t_errorlog.
ABORT = 1.
ENDIF.
$$ end of routine - insert your code only before this line -
ENDFORM.
FORM INVERT_GN_R3_SSY
Inversion of selection criteria for InfoObject 0GN_R3_SSY
This subroutine needs to be implemented only for SAP RemoteCubes
(for better performance) and for the Report/Report Interface
(drill through).
--> I_RT_CHAVL_CS Ranges table for current InfoObject
--> I_THX_SELECTION_CS Selection criteria for all other InfoObjects
<-- C_T_SELECTION Selection criteria for fields of
transfer structure
<-- E_EXACT Flag: Inversion was exact
FORM INVERT_GN_R3_SSY
USING I_RT_CHAVL_CS TYPE RSARC_RT_CHAVL
I_THX_SELECTION_CS TYPE RSARC_THX_SELCS
CHANGING C_T_SELECTION TYPE SBIWA_T_SELECT
E_EXACT TYPE RS_BOOL.
$$ begin of inverse routine - insert your code only below this line-
DATA:
L_S_SELECTION LIKE LINE OF C_T_SELECTION.
An empty selection means all values
CLEAR C_T_SELECTION.
Selection of all values may be not exact
E_EXACT = RS_C_FALSE.
$$ end of inverse routine - insert your code only before this line -
ENDFORM.
Hope it helps , assign pts if helpful -
Return code 4 when converting field LOG_SYS in record
Hi,
When we try to load data into cube(0pur_c01) its giving this error
Return code 4 when converting field LOG_SYS in record
this LOG_SYS field id used in the following datasources: 2lis_02_itm.
how it solve this problem?
Thank u.Dear Devi
If you using data source as flat file, nothing related with some other data sources.
and also LOG_SYS is not needed in the transformation.
Remove that link (LOG_SYS), Which is in the transformation.
After that you will not get that error message.
Update me, if you had any problems
Regards
Saravanan.ar -
Return code 3 when converting field /BIC/IHRBGCF in record 31
Hi All,
i got an error in psa
Return code 3 when converting field /BIC/IHRBGCF in record 31
Could you please help me on this error
Thanks in advance
NityaHi ,
error in PSA
FORM COMPUTE_/BIC/IHRBGCF
USING RECORD_NO LIKE SY-TABIX
TRAN_STRUCTURE TYPE TRANSFER_STRUCTURE
G_S_MINFO TYPE RSSM_S_MINFO
CHANGING RESULT TYPE /BIC/OIIHRBGCF
G_T_ERRORLOG TYPE rssm_t_errorlog_int
RETURNCODE LIKE SY-SUBRC
ABORT LIKE SY-SUBRC. "set ABORT <> 0 to cancel datapackage
$$ begin of routine - insert your code only below this line -
DATA: l_s_errorlog TYPE rssm_s_errorlog_int.
V_PROD_LN = TRAN_STRUCTURE-PROD_LN .
Have to add the strange logic below, because ALPHA conversion
on 0PROFIT_CTR in the data source does not seem to work...
IF V_PROD_LN CO ' 0123456789' .
i.e. if input is numberic or empty,
then add 00000000 to "make" it into ALPA
Otherwise (if alpha) keep as-is, i.e. no ELSE
CONCATENATE '00000000' V_PROD_LN+0(2) INTO V_PROD_LN.
ENDIF.
End of "ALPHA" logic
Do the lookup in IHRPLSEG first...
SELECT SINGLE /BIC/IFISEGCD
INTO V_IFISEGCD
FROM /BIC/PIHRPLSEG
WHERE PROFIT_CTR = V_PROD_LN
AND CO_AREA = TRAN_STRUCTURE-KOKRS .
If no match found in IHRPLSEG,
then take incoming PROD_LN as-is.
IF SY-SUBRC <> 0.
V_IFISEGCD = TRAN_STRUCTURE-PROD_LN .
ENDIF.
IF V_IFISEGCD CO ' '.
i.e. if incoming PROD_LN was blank
or if SEGCD returned from IHRPLSEG is blank...
RETURNCODE = 1.
ELSE.
Getting date ...
SELECT SINGLE LOW
INTO TVARVC-LOW
FROM TVARVC
WHERE NAME = 'ZIHRBW_DATE' AND TYPE = 'P'.
TO DETERMINE CAL PERIOD...
V_CALPER = TVARVC-LOW(6).
For numeric incoming values we have to add 00
to find the match, because in BW 0COMPANY is CHAR(6)...
CONCATENATE '00' TRAN_STRUCTURE-BUKRS INTO COMPANY_STR.
get M/L indicator from 0COMPANY..
SELECT SINGLE /BIC/IMYSEPAR
INTO /BI0/PCOMPANY-/BIC/IMYSEPAR
FROM /BI0/PCOMPANY
WHERE COMPANY = COMPANY_STR
AND OBJVERS = 'A'
AND /BIC/IFIVFR =< V_CALPER
AND /BIC/IFIVTO => V_CALPER.
IF SY-SUBRC <> 0.
i.e. if no match found in 0COMPANY,
then try to find a match without added zeros...
SELECT SINGLE /BIC/IMYSEPAR
INTO /BI0/PCOMPANY-/BIC/IMYSEPAR
FROM /BI0/PCOMPANY
WHERE COMPANY = TRAN_STRUCTURE-BUKRS
AND OBJVERS = 'A'
AND /BIC/IFIVFR =< V_CALPER
AND /BIC/IFIVTO => V_CALPER.
ENDIF.
do the lookup in InfoObject IHRPLBG...
Need to strip zeros first...
SHIFT V_IFISEGCD LEFT DELETING LEADING '0'.
SELECT SINGLE /BIC/IHRBGCF
INTO /BIC/PIHRPLBG-/BIC/IHRBGCF
FROM /BIC/PIHRPLBG
WHERE /BIC/IFISEGCD = V_IFISEGCD
AND /BIC/IMYSEPAR = /BI0/PCOMPANY-/BIC/IMYSEPAR
AND OBJVERS = 'A'.
IF NOT /BIC/PIHRPLBG-/BIC/IHRBGCF IS INITIAL.
i.e. if match found in IHRPLBG...
RESULT = /BIC/PIHRPLBG-/BIC/IHRBGCF.
RETURNCODE = 0.
ELSE.
IF /BI0/PCOMPANY-/BIC/IMYSEPAR IS INITIAL .
i.e. no match found in 0COMPANY
RETURNCODE = 3.
ELSE.
i.e. no match found in IHRPLBG
RETURNCODE = 2.
ENDIF.
ENDIF.
ENDIF.
CLEAR: ZTHRBW_SEG_MAP-IFISEGCD, /BIC/PIHRPLBG-/BIC/IHRBGCF.
CLEAR: /BIC/PIHRPLBG-/BIC/IHRBGCF, /BI0/PCOMPANY-/BIC/IMYSEPAR.
CLEAR: V_IFISEGCD, V_PROD_LN, COMPANY_STR, V_CALPER.
returncode <> 0 means skip this record
RETURNCODE = 0.
abort <> 0 means skip whole data package !!!
ABORT = 0.
$$ end of routine - insert your code only before this line -
ENDFORM.
FORM INVERT_/BIC/IHRBGCF
Inversion of selection criteria for InfoObject IHRBGCF
This subroutine needs to be implemented only for SAP RemoteCubes
(for better performance) and for the Report/Report Interface
(drill through).
--> I_RT_CHAVL_CS Ranges table for current InfoObject
--> I_THX_SELECTION_CS Selection criteria for all other InfoObjects
<-- C_T_SELECTION Selection criteria for fields of
transfer structure
<-- E_EXACT Flag: Inversion was exact
FORM INVERT_/BIC/IHRBGCF
USING I_RT_CHAVL_CS TYPE RSARC_RT_CHAVL
I_THX_SELECTION_CS TYPE RSARC_THX_SELCS
CHANGING C_T_SELECTION TYPE SBIWA_T_SELECT
E_EXACT TYPE RS_BOOL.
$$ begin of inverse routine - insert your code only below this line-
DATA:
L_S_SELECTION LIKE LINE OF C_T_SELECTION.
An empty selection means all values
CLEAR C_T_SELECTION.
L_S_SELECTION-FIELDNM = 'BUKRS'.
L_S_SELECTION-FIELDNM = 'KOKRS'.
L_S_SELECTION-FIELDNM = 'PROD_LN'.
Selection of all values may be not exact
E_EXACT = RS_C_FALSE.
$$ end of inverse routine - insert your code only before this line -
ENDFORM.
Please advise
Thanks in Advance
Nitya -
Return code 4- when converting field CUSTOMER in record
Hi,
We are loading transaction data. Data load till PSA is succcessful but when we are loading from PSA to CUBE its is failing.
The error message is "Return code 4- when converting field CUSTOMER in record"
I have checked Transfer Rule, Update Rule it is simple object to object assignment. Data in PSA is also correct.
What could be the reason?
Regards
SSSHi Venkat,
Is already has ALPHA conversion routine. We are getting this error for few more infoobjects in different transaction data loads.
Regards
SSS -
Return Code 0XFFAB411C received when setting selected field for timestamp
I have a time stamp field that I want to change the selected fields (the fields that determine whether the time stamp gets updated)
When I select ALL fields and save I get the return code of 0xFFAB411C.
I have ran verify repair on repository, no change
I have archived and unarchived, no change
I have deleted the field and recreated it with the same result.
When I create the field it defaults with selected fields "ALL" I need to add all the fields and remove 2-3 fields but I get the error message.
I have added fields one by one until I get the error message, then try it with just the last field but I do not get the error.
Any ideas?FYI this is the response from SAP regarding this issue.
Please refer to SAP Note 1283688 which documents the limitation while
using time stamp fields.
As this is a Database limitation and currently can't be removed, please
consider the following options :
1) Since most of the fields are to be included, leave selected fields
with [All]
2) Split the table fields to 2 (or more) groups and add a Time stamp
field to each group
3) Lower the number of fields that should be tracked by the Time stamp
field
If both solutions are still not valid to use by the business, please
refer to SAP Note 1156293 on how to file an enhancement request. -
SY - System fields and return codes in ABAP
Hi
I'm new to ABAP, where do I find what the meaning of the system field return codes are ?
example SY-SUBRC returns a number of codes 0, 2, 4, 8 etc what do they mean.
Is there a resource somewhere that provides this information for all the system fields.
I have searched high and low and have found little, they must be defined somwhere ?
cheers HughHere is a listing of all of the system fields.
http://help.sap.com/saphelp_scm50/helpdata/en/7b/fb96c8882811d295a90000e8353423/frameset.htm
As for what the return codes( 0, 4, 8) for SY-SUBRC mean, that is a little tricky. The meanings of the values are dependent on what statement was used previously. They would mean different things when used with different statements. For example, if you check SY-SUBRC after a FIND statement, the return code value 4, would mean something different than if you had check the SY-SUBRC value after doing an OPEN DATASET. So you need to look at the specific statements in help.sap.com and see what it says about the SY-SUBRC values for each statement.
http://help.sap.com/saphelp_scm50/helpdata/en/43/41341147041806e10000000a1553f6/frameset.htm
Regards,
Rich Heilman
Maybe you are looking for
-
How to create startup disk to defray
I need to defrag. I have iDefrag software on a USB drive. When I use the Snow Leapoard install disk to start up, I cant see the USB drive where iDefrag rests. Can someone please advise.
-
List of Quotations yet to be converted into a Sales Order
Hi All I'm looking or a way to list Quotations in the system, something similar to ME57 (for Purchase Requisitions) where you can see a list of all Quotations which have yet to be made into a Sales Order. Thanks in advance! Vicky
-
Quicktime with new lion software
Hi, i recently purchased Mac OS X Lion and it was working great till i tried to play .avi files with quicktime like i do all the time. It sed I didnt have the proper codec so i redownload DivX and its still saying the exact same thing...someone pleas
-
not really sure where the issue is here. the monitoring tab of sccm2012 reports that i have 0 clients protected with endpoint protectiion when i select the collection of all systems. yet, all my client do in fact have forefront installed via my deplo
-
Runtime error! - contact application support team for info
m using hp pavillon dv6 for last 2 years never before encounter such problem .. 1st i cannot access n e of files it say access denied though m the adminstrator and only user, so i decided to restore it to factory default setting but cant do it, in sy