We have problems in abap rules when migrate the infosource
We are having problems to do the migration of some objects of version
3.x to version 7.
There are some objects standard like Update Rule, InfoSource and
Datasource that when we migrated the rules ABAPS contained in the
Update Rule and Infosource are not migrate properly.
We are using the method of automatic migration that when clicking the
right button on the object, choosing the option additional functions,
create transformation and input the name of the new infosource. The
same way is necessary to migrate the transfer structure. After this we
migrated the Datasource and we tried to activate all objects, but
several erros happened in the abap rules.
Example: In the new Transformation based n Upadate Rule 0PS_C08 in the
key figure 0AMOUNT, the routine show me the follow error:
E:Field "COMM_STRUCTURE" is unknown. It is neither in one of the
specified tables nor defined by a "DATA" statement. "DATA" statement
"DATA" statement.
This is one example, but this conversion happened for several
transformations with abap rules.
Which is the recommendation for the standard objects in this case and
the others cases ? For objects Z* there some recommendation too?
Old Routine in Upadte Rule:
"PROGRAM UPDATE_ROUTINE.
$$ begin of global - insert your declaration only below this line -
TABLES: ...
DATA: ...
$$ end of global - insert your declaration only before this line -
FORM compute_data_field
TABLES MONITOR STRUCTURE RSMONITOR "user defined monitoring
RESULT_TABLE STRUCTURE /BI0/V0PS_C08T
USING COMM_STRUCTURE LIKE /BIC/CS0CO_OM_NAE_1
RECORD_NO LIKE SY-TABIX
RECORD_ALL LIKE SY-TABIX
SOURCE_SYSTEM LIKE RSUPDSIMULH-LOGSYS
ICUBE_VALUES LIKE /BI0/V0PS_C08T
CHANGING RETURNCODE LIKE SY-SUBRC
ABORT LIKE SY-SUBRC. "set ABORT <> 0 to cancel update
$$ begin of routine - insert your code only below this line -
type-pools: PSBW1.
data: l_psbw1_type_s_int1 type psbw1_type_s_int1.
data: lt_spread_values type PSBW1_TYPE_T_ACT_SPREAD.
field-symbols: .
füllen Rückgabetabelle !
move-corresponding to RESULT_TABLE.
check not RESULT_TABLE-amount is initial.
append RESULT_TABLE.
endloop.
if the returncode is not equal zero, the result will not be updated
RETURNCODE = 0.
if abort is not equal zero, the update process will be canceled
ABORT = 0.
$$ end of routine - insert your code only before this line -
ENDFORM.
New Routine - Based on Update - DTP:
"PROGRAM trans_routine.
CLASS routine DEFINITION
CLASS lcl_transform DEFINITION.
PUBLIC SECTION.
Attributs
DATA:
p_check_master_data_exist
TYPE RSODSOCHECKONLY READ-ONLY,
*- Instance for getting request runtime attributs;
Available information: Refer to methods of
interface 'if_rsbk_request_admintab_view'
p_r_request
TYPE REF TO if_rsbk_request_admintab_view READ-ONLY.
PRIVATE SECTION.
TYPE-POOLS: rsd, rstr.
Rule specific types
$$ begin of global - insert your declaration only below this line -
... "insert your code here
$$ end of global - insert your declaration only before this line -
ENDCLASS. "routine DEFINITION
$$ begin of 2nd part global - insert your code only below this line *
$$ end of rule type
TYPES:
BEGIN OF tys_TG_1_full,
InfoObject: 0CHNGID ID de execução de modificação.
CHNGID TYPE /BI0/OICHNGID,
InfoObject: 0RECORDTP Categoria de registro.
RECORDTP TYPE /BI0/OIRECORDTP,
InfoObject: 0REQUID ID requisição.
REQUID TYPE /BI0/OIREQUID,
InfoObject: 0FISCVARNT Variante de exercício.
FISCVARNT TYPE /BI0/OIFISCVARNT,
InfoObject: 0FISCYEAR Exercício.
FISCYEAR TYPE /BI0/OIFISCYEAR,
InfoObject: 0CURRENCY Código da moeda.
CURRENCY TYPE /BI0/OICURRENCY,
InfoObject: 0CO_AREA Área de contabilidade de custos.
CO_AREA TYPE /BI0/OICO_AREA,
InfoObject: 0CURTYPE Tipo de moeda.
CURTYPE TYPE /BI0/OICURTYPE,
InfoObject: 0METYPE Tipo de índice.
METYPE TYPE /BI0/OIMETYPE,
InfoObject: 0VALUATION Perspectiva de avaliação.
VALUATION TYPE /BI0/OIVALUATION,
InfoObject: 0VERSION Versão.
VERSION TYPE /BI0/OIVERSION,
InfoObject: 0VTYPE Ctg.valor para reporting.
VTYPE TYPE /BI0/OIVTYPE,
InfoObject: 0WBS_ELEMT Elemento do plano da estrutura do projeto
*(elemento PEP).
WBS_ELEMT TYPE /BI0/OIWBS_ELEMT,
InfoObject: 0COORDER Nº ordem.
COORDER TYPE /BI0/OICOORDER,
InfoObject: 0PROJECT Definição do projeto.
PROJECT TYPE /BI0/OIPROJECT,
InfoObject: 0ACTIVITY Tarefa do diagrama de rede.
ACTIVITY TYPE /BI0/OIACTIVITY,
InfoObject: 0NETWORK Diagrama de rede.
NETWORK TYPE /BI0/OINETWORK,
InfoObject: 0PROFIT_CTR Centro de lucro.
PROFIT_CTR TYPE /BI0/OIPROFIT_CTR,
InfoObject: 0COMP_CODE Empresa.
COMP_CODE TYPE /BI0/OICOMP_CODE,
InfoObject: 0BUS_AREA Divisão.
BUS_AREA TYPE /BI0/OIBUS_AREA,
InfoObject: 0ACTY_ELEMT Elemento operação diagram.rede.
ACTY_ELEMT TYPE /BI0/OIACTY_ELEMT,
InfoObject: 0STATUSSYS0 Status do sistema.
STATUSSYS0 TYPE /BI0/OISTATUSSYS0,
InfoObject: 0PS_OBJ Tipo de objeto do PS.
PS_OBJ TYPE /BI0/OIPS_OBJ,
InfoObject: 0VTSTAT Código estatístico para ctg.valor.
VTSTAT TYPE /BI0/OIVTSTAT,
InfoObject: 0AMOUNT Montante.
AMOUNT TYPE /BI0/OIAMOUNT,
Field: RECORD Nº registro de dados.
RECORD TYPE RSARECORD,
END OF tys_TG_1_full.
Additional declaration for update rule interface
DATA:
MONITOR type standard table of rsmonitor WITH HEADER LINE,
MONITOR_RECNO type standard table of rsmonitors WITH HEADER LINE,
RECORD_NO LIKE SY-TABIX,
RECORD_ALL LIKE SY-TABIX,
SOURCE_SYSTEM LIKE RSUPDSIMULH-LOGSYS.
global definitions from update rules
TABLES: ...
DATA: ...
FORM routine_0001
CHANGING
RETURNCODE LIKE sy-subrc
ABORT LIKE sy-subrc
RAISING
cx_sy_arithmetic_error
cx_sy_conversion_error.
init variables
not supported
icube_values = g.
CLEAR result_table. REFRESH result_table.
type-pools: PSBW1.
data: l_psbw1_type_s_int1 type psbw1_type_s_int1.
data: lt_spread_values type PSBW1_TYPE_T_ACT_SPREAD.
field-symbols: .
füllen Rückgabetabelle !
move-corresponding to RESULT_TABLE.
check not RESULT_TABLE-amount is initial.
append RESULT_TABLE.
endloop.
if the returncode is not equal zero, the result will not be updated
RETURNCODE = 0.
if abort is not equal zero, the update process will be canceled
ABORT = 0.
ENDFORM. "routine_0001
$$ end of 2nd part global - insert your code only before this line *
CLASS routine IMPLEMENTATION
CLASS lcl_transform IMPLEMENTATION.
*$*$ begin of routine - insert your code only below this line *-*
Data:
l_subrc type sy-tabix,
l_abort type sy-tabix,
ls_monitor TYPE rsmonitor,
ls_monitor_recno TYPE rsmonitors.
REFRESH:
MONITOR.
Runtime attributs
SOURCE_SYSTEM = p_r_request->get_logsys( ).
Migrated update rule call
Perform routine_0001
CHANGING
l_subrc
l_abort.
*-- Convert Messages in Transformation format
LOOP AT MONITOR INTO ls_monitor.
move-CORRESPONDING ls_monitor to MONITOR_REC.
append monitor_rec to MONITOR.
ENDLOOP.
IF l_subrc <> 0.
RAISE EXCEPTION TYPE cx_rsrout_skip_val.
ENDIF.
IF l_abort <> 0.
RAISE EXCEPTION TYPE CX_RSROUT_ABORT.
ENDIF.
$$ end of routine - insert your code only before this line -
ENDMETHOD. "compute_0AMOUNT
Method invert_0AMOUNT
This subroutine needs to be implemented only for direct access
(for better performance) and for the Report/Report Interface
(drill through).
The inverse routine should transform a projection and
a selection for the target to a projection and a selection
for the source, respectively.
If the implementation remains empty all fields are filled and
all values are selected.
METHOD invert_0AMOUNT.
$$ begin of inverse routine - insert your code only below this line-
... "insert your code here
$$ end of inverse routine - insert your code only before this line -
ENDMETHOD. "invert_0AMOUNT
Please, HELP!!!!
Thanks,
Mateus.
Hi,
I checked the code and as I saw you're using return tables. This feature is not yet implemented in transformations! You have to find a workaoround for a code in start- or endroutines that appends the data.
In general you have to replace comm_structure and icube_Values by new class attributes/variables.
On which SP are you currently?
Regards,
JUergen
Similar Messages
-
Good evening I would please help me, IGood evening I would please help me, I have problems with flash player when update on my computer Flash Player for windows 8, gives me error in the installation that is not apply on my computer. Please help. Thank You
First, confirm that ActiveX Filtering is configured to allow Flash content:
https://forums.adobe.com/thread/867968
Internet Explorer 11 introduces a number of changes both to how the browser identifies itself to remote web servers, and to how it processes JavaScript intended to target behaviors specific to Internet Explorer. Unfortunately, this means that content on some sites will be broken until the content provider changes their site to conform to the new development approach required by modern versions of IE.
You can try to work around these issues by using Compatibility View:
http://windows.microsoft.com/en-us/internet-explorer/use-compatibility-view#ie=ie-11
If that is too inconvenient, using Google Chrome may be a preferable alternative. -
I have Speedgrade CS6 installed on my Mac and i have problems renaming my layers when I am grading. I was wondering if anybody can tell me how to rename my layers(Under the look tab). If not, is it because this is not possible in Speedgrade CS6.
No you can't. Renaming grading layers is a features since version 7 a.k.a. CC. Time to upgrade?
-
I have problem with my mic when i make call the others cannot hear me but the mic is ok
i have problem with my mic when i make call the others cannot hear me but the mic is ok i checked it out and it works dont know what to do help me !!
Hello Sabbir Khan,
Thanks for using Apple Support Communities.
For more information on this, take a look at:
iPhone: Hardware troubleshooting
http://support.apple.com/kb/ts2802
Can't hear through the receiver or through speaker, and can't be heard
iPhone: Can't hear through the receiver or speakers
http://support.apple.com/kb/TS1630
Best of luck,
Mario -
i have problem in mac store when i try to download app i get note (( app failed to download use the purchases page to try again ))
i try to downlod twitter and ccleaner but i can't open the app ?!?!!!It can also be an iTunes issue. Many of us, including myself, are not used to the new interface of iTunes 11 and would find ways to downgrade the available iTunes 11 back to iTunes 10.7 in Mac OS Mavericks. The only issue with downgrading (using AppZapper and Pacifist) is that you will not be able to update/install apps from the App Store after rebooting the Mac.
If you happen to have downgraded your iTunes in this method, then uninstall the iTunes 10.7 and reinstall iTunes 11 again - the App Store should resume its download/update function without any issue.
Hope this helps. -
I have problem with my ipad when set up ipad asked to activation but i cant remember my apple id that i used to setup.now i can not open it .Is there any way to fix this problem?
Hello Abdo_Zain,
I would be concerned too if I was not able to gain access to my iPad. If you are unsure what your Apple ID is, you can find the steps in this article:
Apple ID: How to find your Apple ID
http://support.apple.com/kb/HT5625
You can reset a forgotten Apple ID password by going to the following link:
Apple - iForgot
https://iforgot.apple.com
Also, you may be able to skip the step of entering your Apple ID if you are setting up the iPad for the first time.
Thank you for using Apple Support Communities.
Best,
Sheila M. -
i have problem with firefox , it wont loud , the dose not come up , and it frizzes ? i even re-install the program but it wont work:( any suggestion would be helpful , thanks
i cant login anywhere as all my passwords are saved in firefox, i cant even access teh firefox preference to get my password, it's so sadYou likley have a corrupted Firefox preference or other support file in your User/Library folder.
Programs load these files from the user account to adjust to user specifications, instead of having multiple copies of the same program on the machine.
So when you reinstalled Firefox, it reinstalled the progrma only and the user support files remained from before.
To prove this point, use System Preferences to create another Admin account and log into it, Firefox should run like a charm.
To remove the Firefox support files from the problem user account your going to need to locate these files and delete them one at a time and try FF again and again.
The first one you shoull try is your FF .plist file located in your User/Library folder.
Clicm on the Finder and use the Go > Go to Folder and paste this
~/Library/Preferences
and press Go.
Now scroll down until you see the Firefox or Mozilla .plist file and Trash it, quit and restart Firefox, it will recreate the preference file with default settings you will have to reset it.
Next run through the list of fixes #1-13 here before proceeding.
https://discussions.apple.com/docs/DOC-3353
If you need help deleting other FF files, download the free Easy Find from MacUpdate.com and search for anything "Mozilla" or "Firefox" in your User account only and take your chances you hopefully won't delete your password file in the process.
You should have site passwords written down someplace and locked up tightin case you need them, a computer isn't totally safe and reliable. -
I have a new device. When selecting the language and country I am trying to connect to a wifi connection and getting the error 'Your Iphone could not be activated because the activation server cannot be reached. Try connecting to your Iphone to iTunes to activate it, or try again in a few minutes.
Where exactly did you get this phone?
Do you have a SIM in the phone?
There are 2 primary causes for this.
Either you don't have a SIM in the phone, which is REQUIRED to activate it, or the phone was hacked to unlock it. -
I use itunes on a Dell XPS502 with W7/64. In some cases have have problems to import CD's. The sound is very disturbed and the import need a lot more time than in normal cases. Is there a problem between itunes and W7/64 or a known hardware issue?
Example-CD : "Tracy Chapman , Telling stories" is not able to import . I have more such negative cases. But in other cases it works fine and the sound is great.
The firmware at the inbuild CD/DVD DS-6E2SH is the latest version.
What can I do??hi b noir,
I don't no about virtuel drives like you mententioned. In the mean time I have rebooted the XPS and run again the iTunes diagnostics. I think the back - chance in the registry was not ready to use. Now there are another results. They are the same in case of a running CD or a not running CD. The difference in total is like before. It takes more time that iTunes reads the (bad) CD and at the there is no good sound. In both cases ( running or not running CD) iTunes diagnostics gives as a result :
(the copie from ITunes shows the result of the not running CD from Tracy Chapman)
Microsoft Windows 7 x64 Ultimate Edition Service Pack 1 (Build 7601)
Dell Inc. Dell System XPS L502X
iTunes 10.3.1.55
QuickTime 7.6.9
FairPlay 1.11.17
Apple Application Support 1.5.2
iPod Updater-Bibliothek 10.0d2
CD Driver 2.2.0.1
CD Driver DLL 2.1.1.1
Apple Mobile Device 3.4.0.25
Apple Mobile Device Treiber 1.55.0.0
Bonjour 2.0.5.0 (214.3)
Gracenote SDK 1.8.2.457
Gracenote MusicID 1.8.2.89
Gracenote Submit 1.8.2.123
Gracenote DSP 1.8.2.34
iTunes-Seriennummer 00D7B2B00CD25750
Aktueller Benutzer ist kein Administrator.
Aktuelles Datum und Uhrzeit sind 2011-06-11 19:33:22.
iTunes befindet sich nicht im abgesicherten Modus.
WebKit Accelerated Compositing ist aktiviert.
HDCP wird unterstützt.
Core Media wird unterstützt.
Info zu Video-Anzeige
NVIDIA, NVIDIA GeForce GT 540M
Intel Corporation, Intel(R) HD Graphics Family
**** Info für externe Plug-Ins ****
Keine externen Plug-Ins installiert.
iPodService 10.3.1.55 (x64) arbeitet zurzeit.
iTunesHelper 10.3.1.55 arbeitet zurzeit.
Apple Mobile Device service 3.3.0.0 arbeitet zurzeit.
**** CD/DVD-Laufwerkstests****
LowerFilters: PxHlpa64 (2.0.0.0),
UpperFilters: GEARAspiWDM (2.2.0.1),
D: PLDS DVDRWBD DS-6E2SH, Rev CD11
Audio-CD im Laufwerk
11 Titel auf der CD gefunden, Spieldauer: 42:07 auf Audio-CD
Titel 1, Startzeit: 00:02:00
Titel 2, Startzeit: 03:59:47
Titel 3, Startzeit: 07:19:27
Titel 4, Startzeit: 11:31:30
Titel 5, Startzeit: 15:31:50
Titel 6, Startzeit: 20:07:50
Titel 7, Startzeit: 24:27:15
Titel 8, Startzeit: 27:49:10
Titel 9, Startzeit: 32:41:25
Titel 10, Startzeit: 35:29:65
Titel 11, Startzeit: 38:38:00
Audio-CD erfolgreich gelesen (Suche nach alter Firmware).
Laufwerksgeschwindigkeit erfolgreich erkannt
Die CDR-Geschwindigkeiten des Laufwerks sind: 4 10 16 24
Die CDRW-Geschwindigkeiten des Laufwerks sind: 4
Die DVDR-Geschwindigkeiten des Laufwerks sind: 4
Die DVDRW-Geschwindigkeiten des Laufwerks sind: 4
After starting the import it is going slower and slower. If it is helpful I can send you a soundfile with these distortions.
best regards
tcgerd -
HAVE iTunes GIFT CARD--WHERE/WHEN IS THE CODE ENTERED?
HAVE iTunes GIFT CARD--WHERE/WHEN IS THE CODE ENTERED?
Disregard. found the convenient redemption link
and already credited my account -
Dear All,
I want to know is there any option to migrate the infosource from 3.x to 7.0??
We have a option to migrate the data source but for infosource is there??
Kindly let me know.
Thanks
SathiyaMigrate back
https://forums.sdn.sap.com/click.jspa?searchID=7990291&messageID=1965064
Hope it Helps
Chetan
@CP.. -
Problems with german umlauts when Migration from MS Access to Oracle
When I make a Migration from MS Access 97 to Oracle 8.1.5, I have Problem with the germans characters (umlauts). The Oracle is using the rigth character Set for german characters. What can I do? Is it e problem from the MS Access ODBC Driver or the Oracle ODBC Driver?
Is your character set for Oracle set up to UTF8??
-
Problem With Struts Tiles When Migrating from WL 8.1 to WL 10.3
Hi Folks,
When migration my project from WL 8.1 to WL 10.3, I got the follow error :
javax.servlet.jsp.JspException: Can't insert page '/tile/tilePesquisa.jsp' : null
at org.apache.struts.tiles.taglib.InsertTag$InsertHandler.doEndTag(InsertTag.java:902)
at org.apache.struts.tiles.taglib.InsertTag.doEndTag(InsertTag.java:465)
at jsp_servlet._web_45_inf._jsp._ferramenta._ferramenta.__listaferramenta._jspService(__listaferramenta.java:361)
at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
at weblogic.servlet.internal.ServletStubImpl.onAddToMapException(ServletStubImpl.java:408)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:318)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:175)
at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:505)
at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:251)
at org.apache.struts.chain.commands.servlet.PerformForward.handleAsForward(PerformForward.java:113)
at org.apache.struts.chain.commands.servlet.PerformForward.perform(PerformForward.java:96)
at org.apache.struts.chain.commands.AbstractPerformForward.execute(AbstractPerformForward.java:54)
at org.apache.struts.chain.commands.ActionCommandBase.execute(ActionCommandBase.java:51)
at org.apache.commons.chain.impl.ChainBase.execute(ChainBase.java:191)
at org.apache.commons.chain.generic.LookupCommand.execute(LookupCommand.java:305)
at org.apache.commons.chain.impl.ChainBase.execute(ChainBase.java:191)
at org.apache.struts.chain.ComposableRequestProcessor.process(ComposableRequestProcessor.java:283)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1913)
at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:449)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
Can anybody help me ?
So do I need change some XML configuration file such as web.xml or weblogic xml ?
Thanks!!Hi,
I have realized the follow:
The error occurs on:
<tiles:put name="pageTitle" direct="true">
<tiles:get name="pageTitle" />
</tiles:put>
if I change to:
<tiles:put name="pageTitle" direct="true">
<tiles:getAsString name="pageTitle" />
</tiles:put>
it works!?
But the application is entire using the first code example ! I need other solution to this!
Thanks! -
i hav problem with daq initialisation...plz help to solve the above mentioned issue
Hi muthu,
we also have a problem: to less information…
- What is connected to your laptop?
- What is "it" in "it displays building VI"? Do you use the DAQ Assistent ExpressVI?
- What means "plz"?
And could you please put less text in the title of your message and more text (with relevant information) into the message body?
Best regards,
GerdW
CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
Kudos are welcome -
Problem quality of sound when use the microphone
Hello,
I have big problem.
I have today buy the headphone HS-1000 gaming.
My problem is when use the microphone (skype or mumble) my sound in game in very very poor !!!!
I have latest drivers availible on creative website
You have any idea ?
Sorry for my bad english
Regard
FifaneTry converting to .mp3. You will almost always get some loss when converting one compressed format to another. It shouldn't be that noticeable though.
What bit rate are your .wma files?
Maybe you are looking for
-
LOV view criteria missing in af:query field when AM pooling is disabled
Hi all, Again, another strange behaviour with fields in af:query when AM pooling is disabled. I have a field with a LOV in the af:query area. This LOV has a view criteria that involves a bind variable. In the VO, the view accessor for this LOV applie
-
Does anyone know how to delete everything I've done in CS6 so I can start again from scratch?
-
Schedule Bom Material in Subcontracting PO.
Hi, Our company allow to confirm SO qty from PO qty even the goods are not received in our plant. I have create a Stock PO for 1000 pc of Material. At the same time, I have also created another subcontract PO which including 300 pc of material as com
-
IDOC type and segment's BasisRelease number
Dear expert, May i know is there a way to change the IDOC type and segment's BasisRelease number when i try releasing IDOC. Any special TCode? Please comment. Thanks in advance.
-
Display Images dynamically on a servlet
I saw postings earlier on this topic and adopted the suggestions given , but I can display only a single image.This works for a single image jpg .All the files uploaded are into c:\temp. The Servlet program parses through the dir and picks up only jp