Getting the value(s) of varibales during the runtime
Dear All
I'm trying with the below listed code to log some information about a
programm process during the Runtime. I would have e.g. a timestamp
the values of some varibales s.o. The sutructure abap_call_stack_entry
has some interesting fields but I get shown #### as value if I use some of them.
The field abdbg-levent provides the form name which is called.
How can get for example the content (value) of a variable within a routine or
form ? Does anybody got an Idea on right using of this structure "abdbg"
or how to solve above mentioned problem?
perform first.
perform second.
perform fourth.
form first.
data latte type i.
latte = 78.
perform akt.
endform.
form second.
data bolo type i.
bolo = 345.
perform akt.
endform.
form fourth.
data sync type i.
sync = 989.
perform akt.
endform.
FORM akt.
TYPES:
begin of abap_call_stack_entry,
mainprogram like sy-repid,
include like sy-repid,
line type i,
eventtype like abdbg-leventtype,
event like abdbg-levent,
flag_system type c,
FLINE TYPE ABDBG-FLINE,
CLINE TYPE ABDBG-CLINE,
BCOUNT TYPE ABDBG-BCOUNT,
XCODE TYPE ABDBG-XCODE,
REPID TYPE ABDBG-REPID,
SREPID TYPE ABDBG-SREPID,
BREAKP TYPE ABDBG-BREAKP,
ACTUAL TYPE ABDBG-ACTUAL,
CURRLINE TYPE ABDBG-CURRLINE,
FIRSTV TYPE ABDBG-FIRSTV,
VINDEX TYPE ABDBG-VINDEX,
VNAME TYPE ABDBG-VNAME,
VTYPE TYPE ABDBG-VTYPE,
VLENGTH TYPE ABDBG-VLENGTH,
VLINE TYPE ABDBG-VLINE,
LITINDEX TYPE ABDBG-LITINDEX,
LITOFFSET TYPE ABDBG-LITOFFSET,
LITLENGTH TYPE ABDBG-LITLENGTH,
LITTYPE TYPE ABDBG-LITTYPE,
LITVALUE TYPE ABDBG-LITVALUE,
V1INFO TYPE ABDBG-V1INFO,
VNAME1 TYPE ABDBG-VNAME1,
V1VALUE TYPE ABDBG-V1VALUE,
V1HEX TYPE ABDBG-V1HEX,
V2INFO TYPE ABDBG-V2INFO,
VNAME2 TYPE ABDBG-VNAME2,
V2VALUE TYPE ABDBG-V2VALUE,
V2HEX TYPE ABDBG-V2HEX,
V3INFO TYPE ABDBG-V3INFO,
VNAME3 TYPE ABDBG-VNAME3,
V3VALUE TYPE ABDBG-V3VALUE,
V3HEX TYPE ABDBG-V3HEX,
V4INFO TYPE ABDBG-V4INFO,
VNAME4 TYPE ABDBG-VNAME4,
V4VALUE TYPE ABDBG-V4VALUE,
V4HEX TYPE ABDBG-V4HEX,
VNUMFROM TYPE ABDBG-VNUMFROM,
VNUMTO TYPE ABDBG-VNUMTO,
BUTTON TYPE ABDBG-BUTTON,
FIELDINFO TYPE ABDBG-FIELDINFO,
FLDNAME TYPE ABDBG-FLDNAME,
FLDVALUE TYPE ABDBG-FLDVALUE,
FLDHEX TYPE ABDBG-FLDHEX,
STRNAME TYPE ABDBG-STRNAME,
STRINGNAME TYPE ABDBG-STRINGNAME,
STRINGLEN TYPE ABDBG-STRINGLEN,
STRINGOFF1 TYPE ABDBG-STRINGOFF1,
STRINGOFF2 TYPE ABDBG-STRINGOFF2,
TABNAME TYPE ABDBG-TABNAME,
TABHEAD TYPE ABDBG-TABHEAD,
TABLINE TYPE ABDBG-TABLINE,
TLINE TYPE ABDBG-TLINE,
TMODE TYPE ABDBG-TMODE,
OBJNAME TYPE ABDBG-OBJNAME,
OBJVIEW TYPE ABDBG-OBJVIEW,
OBJMETHOD TYPE ABDBG-OBJMETHOD,
OBJNAME_HA TYPE ABDBG-OBJNAME_HA,
ICON_CI TYPE ABDBG-ICON_CI,
ICON_PPP TYPE ABDBG-ICON_PPP,
FLAGCLASAT TYPE ABDBG-FLAGCLASAT,
FLAGINSTAT TYPE ABDBG-FLAGINSTAT,
FLAGPUBLAT TYPE ABDBG-FLAGPUBLAT,
FLAGPRIVAT TYPE ABDBG-FLAGPRIVAT,
FLAGPROTAT TYPE ABDBG-FLAGPROTAT,
DYNAME TYPE ABDBG-DYNAME,
DYNUMB TYPE ABDBG-DYNUMB,
DEVENT TYPE ABDBG-DEVENT,
VOLEN TYPE ABDBG-VOLEN,
VODEC TYPE ABDBG-VODEC,
VOFFI TYPE ABDBG-VOFFI,
POPOK TYPE ABDBG-POPOK,
POPLINE TYPE ABDBG-POPLINE,
WARNLINE TYPE ABDBG-WARNLINE,
FIXPTARITH TYPE ABDBG-FIXPTARITH,
RFCHOST TYPE ABDBG-RFCHOST,
RFCSYSID TYPE ABDBG-RFCSYSID,
RFCDEST TYPE ABDBG-RFCDEST,
LICON TYPE ABDBG-LICON,
LLINENUM3 TYPE ABDBG-LLINENUM3,
LLINENUM6 TYPE ABDBG-LLINENUM6,
LPROGRAM TYPE ABDBG-LPROGRAM,
LEVENTTYPE TYPE ABDBG-LEVENTTYPE,
LEVENT TYPE ABDBG-LEVENT,
LPROGGROUP TYPE ABDBG-LPROGGROUP,
LLANGUAGE TYPE ABDBG-LLANGUAGE,
LLOADSIZE TYPE ABDBG-LLOADSIZE,
LUPDATE TYPE ABDBG-LUPDATE,
LFLAGKEY TYPE ABDBG-LFLAGKEY,
LFLAGSEAR TYPE ABDBG-LFLAGSEAR,
LSEARVALUE TYPE ABDBG-LSEARVALUE,
LFLAG TYPE ABDBG-LFLAG,
LISEARFROM TYPE ABDBG-LISEARFROM,
ROLL_AREA TYPE ABDBG-ROLL_AREA,
WFLAGOR TYPE ABDBG-WFLAGOR,
WFLAGAND TYPE ABDBG-WFLAGAND,
LWFLAGLOCA TYPE ABDBG-LWFLAGLOCA,
LWPROGRAM TYPE ABDBG-LWPROGRAM,
LWNAME TYPE ABDBG-LWNAME,
LWCOMPOPER TYPE ABDBG-LWCOMPOPER,
LWFLAGFIEL TYPE ABDBG-LWFLAGFIEL,
LWVALUE TYPE ABDBG-LWVALUE,
WPROGRAM TYPE ABDBG-WPROGRAM,
WNAME TYPE ABDBG-WNAME,
WVALUE TYPE ABDBG-WVALUE,
LCOMPONENT TYPE ABDBG-LCOMPONENT,
LCTYPE TYPE ABDBG-LCTYPE,
LCLENGTH TYPE ABDBG-LCLENGTH,
LVALUE TYPE ABDBG-LVALUE,
SEARCHSTR TYPE ABDBG-SEARCHSTR,
LTEXT TYPE ABDBG-LTEXT,
REGION TYPE ABDBG-REGION,
SUBKEY TYPE ABDBG-SUBKEY,
SUBKEYC TYPE ABDBG-SUBKEYC,
DISLINE TYPE ABDBG-DISLINE,
SYSAREAHEA TYPE ABDBG-SYSAREAHEA,
SYSAREALIN TYPE ABDBG-SYSAREALIN,
MEMTABALLO TYPE ABDBG-MEMTABALLO,
MEMTABUSED TYPE ABDBG-MEMTABUSED,
MEM_ROLL TYPE ABDBG-MEM_ROLL,
MEM_HEAP TYPE ABDBG-MEM_HEAP,
MEM_HEAPMX TYPE ABDBG-MEM_HEAPMX,
MEM_ROLLEX TYPE ABDBG-MEM_ROLLEX,
MEM_MMUSED TYPE ABDBG-MEM_MMUSED,
MEM_MMFREE TYPE ABDBG-MEM_MMFREE,
MEM_SHORT TYPE ABDBG-MEM_SHORT,
MEM_PAGING TYPE ABDBG-MEM_PAGING,
MEM_SUM TYPE ABDBG-MEM_SUM,
SYSTDEBUG TYPE ABDBG-SYSTDEBUG,
MEMORY TYPE ABDBG-MEMORY,
UPDTASKDBG TYPE ABDBG-UPDTASKDBG,
AC_FLUSH TYPE ABDBG-AC_FLUSH,
WARNLIST TYPE ABDBG-WARNLIST,
WARNSTOP TYPE ABDBG-WARNSTOP,
WARNDUMP TYPE ABDBG-WARNDUMP,
TABTYPE TYPE ABDBG-TABTYPE,
EXTTYPE TYPE ABDBG-EXTTYPE,
end of abap_call_stack_entry.
DATA:
acse type abap_call_stack_entry,
tab type table of abap_call_stack_entry.
CALL 'ABAP_CALLSTACK' ID 'DEPTH' FIELD -1
ID 'CALLSTACK' FIELD tab.
LOOP AT tab INTO acse FROM 2.
WRITE:
/ 'Mainprog:', acse-mainprogram,
/ 'Include: ', acse-include,
/ 'Event: ', acse-eventtype,
acse-event.
ENDLOOP.
ENDFORM.
CALL 'ABAP_CALLSTACK' ID 'DEPTH' FIELD -1
ID 'CALLSTACK' FIELD tab.
provides useful information about a programm
and its routines like Programname linenumber etc.
All what I want to have is getting more information
concerning a programm during the runtime.
As I have heard the above mentioned structure
ABDBG provides exactly such things.
And I have problems on using this sructure
because I get characters like ##### instead
of values of variables and so on.
Please look to the structure components
Similar Messages
-
Get value of formula variable during query runtime into a text variable
Hi all,
I wanna get the value of the formula variables during the query runtime into a text variable.
My scenario is like this: First I defined a formula variable Z_DATE_3 which is processing by replacement. It will get the day of a characteristcs(Startdate).
Then I defined a text variable and in the function module related to this text variable, I used the parameter I_T_VAR_RANGE which can store the value of formula variable during the query runtime.So I can read the value from this table in my function module.
But I have a issue, when I run the query which used the defined text variable, it seems that it doesn't call the corresponding function module. Because I set a breadpoint in hte code and it never reach this breakpoint.
If I removed the parameter I_T_VAR_RANGE , it can enter the function module.
So could you please give some advice?
Is my solution correct or not?
And what's wrong with the parameter I_T_VAR_RANGE? Did I use it correctly?
And My code is:
DATA: l_s_range_v TYPE rrrangeexit,
l_day type sy-datum.
if i_step <> 2.
raise no_processing.
endif.
READ TABLE i_t_var_range INTO l_s_range_v
WITH KEY vnam = 'Z_DATE_3'.
if sy-subrc = 0.
l_day = l_s_range_v-low.
endif.
Thanks in advance!
Best regards
FanchestHi, Fanchest,
I'm having just the same issue. Did you find a solution?
I wrote a short routine in CMOD to derive the value of a formula variable to a text variable, but it's not working (I don't get any value). Can you share your solution?
Thanks in advance,
LL -
JPA Error:Could not get a value to be injected from the factory
HI friends ,
I am trying to replicate the example JPAEXample01 using JPA in CE1 from the blogs written by
Sabine Heider/Adrian Görler.
During the testing of the method create employee i am getting the following error.
"Could not get a value to be injected from the factory."
I tried couple of examples using the above process, still held up with same error.
Any pointers to trouble shoot this ?
Thanks in advance
Chandra DasariHI Isaias Cristiano Barroso,
There are lot of enries most of them pertaining to properties set to yes or no.
out of which therre are tow errors. the log is as follows
Message Info: Failed (javax.management.MBeanPermission,#[:j2eeType=trace,name=EndToEndCentralMBean,],isActive,getGuidByName,getTraceLevelByName,getTraceLevelByName,importTrace,isFileExistsLocally,removeTraceFile)java.lang.reflect.InvocationTargetException
Failed (javax.management.MBeanPermission,*,DISPLAY)java.lang.reflect.InvocationTargetException
category: com.sap.security.core.role.PermissionData
Location:com.sap.security.core.role.PermissionData.get(ClassLoader)
Frankly the above log is above my understanding ,Prob it may help to you undertand my the issue
Thanks once again -
Get the values from Day 1 of the Month
Hi Friends,
I have a requirement in which I have to Get the values from Day 1 of the Month.
Ex : If I enter 19 - 07 - 2007.......the report should display Values from 01 - 07 - 2007.
How to Code ?
Please provide the Code.
Thank you.Hello ,
Check this code,
DATA: test_datum1 LIKE sy-datum,
test_datum2 LIKE sy-datum.
WHEN 'TEST1'.
IF i_step = 2.
LOOP AT i_t_var_range INTO loc_var_range
WHERE vnam = 'TEST2'.
test_datum1 = loc_var_range-low.
CONCATENATE test_datum1(6) '01' INTO test_datum2.
CLEAR l_s_range.
l_s_range-low = test_datum2.
l_s_range-high = test_datum1.
l_s_range-sign = 'I'.
l_s_range-opt = 'BT'.
APPEND l_s_range TO e_t_range.
hope it helps,
assign points if useful -
How to get the values of Select-options from the screen.
The value of parameter can be obtained by function module 'DYNP_VALUES_READ' but How to get the values of Select-options from the screen? I want the F4 help values of select-options B depending on the values in Select-option A.So I want to read the Select-option A's value.
Hi,
Refer this following code..this will solve your problem...
"Following code reads value entered in s_po select options and willprovide search
"help for s_item depending upon s_po value.
REPORT TEST.
TABLES : ekpo.
DATA: BEGIN OF itab OCCURS 0,
ebelp LIKE ekpo-ebelp,
END OF itab.
SELECT-OPTIONS s_po FOR ekpo-ebeln.
SELECT-OPTIONS s_item FOR ekpo-ebelp.
INITIALIZATION.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR s_item-low.
DATA:
dyn_field TYPE dynpread,
temp_fields TYPE TABLE OF dynpread,
zlv_dynpro TYPE syst-repid.
zlv_dynpro = syst-repid.
CALL FUNCTION 'DYNP_VALUES_READ'
EXPORTING
dyname = zlv_dynpro
dynumb = syst-dynnr
request = 'A'
TABLES
dynpfields = temp_fields
EXCEPTIONS
OTHERS = 0.
LOOP AT temp_fields INTO dyn_field.
IF dyn_field-fieldname EQ 'S_PO-LOW'.
SELECT * INTO CORRESPONDING fields OF TABLE itab FROM ekpo
WHERE ebeln EQ dyn_field-fieldvalue.
EXIT.
ENDIF.
ENDLOOP. -
I am trying to install itunes on my hp laptop with windows vista 64 bit. But when i install i get this error "An error occured during the installation of assembly "Microsoft.VC80.CRT.type="win32"version="8.0.50727.6195".publickeyTOken="1fc8b3 b9a1e18e3b".processorArchitecture="x86""
Repair your Apple Application Support.
Control Panel > Programs n Features > highlight AAS, click CHANGE the REPAIR -
How do I get the iTunes festival to play on my Apple TV in the evening, as I work during the day and can't watch it at 4:00pm? I have the app installed on my iPad and can't get it to play!
I haven't received an answer. I hope someone can answer this because it's an ongoing problem that I can't play some CDs on my MacBook Air (see my original post for the details). Anyone? Please? Thanks in advance!
-
Cannot install itunes, I keep getting this message:An error occured during the installation of assembly 'Microsoft .VC80.CRT .type="win32" ,version="8.0.50727.6195".publicKeyToken="1fc8b3b9a1e18e3b".processorArchitectu re="x86"'. Please refer to Help and
Repair your Apple Application Support.
Control Panel > Programs n Features > highlight AAS, click CHANGE the REPAIR -
Cannot install itunes Keep getting this message:An error occured during the installation of assembly 'Microsoft .VC80.CRT .type="win32" ,version="8.0.50727.6195".publicKeyToken="1fc8b3b9a1e18e3b".processorArchitectu re="x86"'. Please refer to Help and sup
These ones are typically caused by underlying problems on the PC that also often cause Windows Updates to fail to install. If we can fix the Windows Update trouble, we can usually get the iTunes trouble cleaned up en passant.
Go into your Windows update and try to check for new updates. If updates install, stock up on the ones you're behind on, restarting the PC if requested to do so. After the restart, try installing iTunes again. Does it go through this time for you?
If windows updates fail to install, go into your Update History and doubleclick the failures. What alphanumeric codes appear for you? (For example, 8007000B.) -
I am unable to install Itunes on Windows 7 as I am getting the message "an error occured during the installation of assembly "Microsoft VC80.CRT Type ="win32" version="8.0.50727.6195”,public key token 1fc8b 3b 9a 1e 18e 3b”,processorArchitecture=”x86”.Please refer to Help and Support for more information:"HResult 0x800736FD
I found htis other post https://discussions.apple.com/thread/3401328?start=0&tstart=0
I also found this in another post
These ones are typically caused by underlying problems on the PC that also often cause Windows Updates to fail to install. If we can fix the Windows Update trouble, we can usually get the iTunes trouble cleaned up en passant.
Go into your Windows update and try to check for new updates. If updates install, stock up on the ones you're behind on, restarting the PC if requested to do so. After the restart, try installing iTunes again. Does it go through this time for you?
If windows updates fail to install, go into your Update History and doubleclick the failures. What alphanumeric codes appear for you? (For example, 8007000B.) -
I am unable to install Itunes on Windows 7 as I am getting the message "an error occured during the installation of assembly "Microsoft VC80.CRT Type ="win32" version="8.0.50727.4053,public key token....."HResult 0X8007054f
I found htis other post https://discussions.apple.com/thread/3401328?start=0&tstart=0
I also found this in another post
These ones are typically caused by underlying problems on the PC that also often cause Windows Updates to fail to install. If we can fix the Windows Update trouble, we can usually get the iTunes trouble cleaned up en passant.
Go into your Windows update and try to check for new updates. If updates install, stock up on the ones you're behind on, restarting the PC if requested to do so. After the restart, try installing iTunes again. Does it go through this time for you?
If windows updates fail to install, go into your Update History and doubleclick the failures. What alphanumeric codes appear for you? (For example, 8007000B.) -
i cannot download itunes on my pc. I get the message "An error occurred during the installation of assembly. "microsoft.VC80.CRT.type=8 0.50727.4053". publicKeyToken="1fc8b3b9a1e18e3b". processor rArchitecture=amd64".
Please help. Have just bought a new ipod and cannot use it !!! Thank you.Hi Gurmo,
HRESULT: 0x80073712 means ERROR_SXS_COMPONENT_STORE_CORRUPT, and it is one of the error codes listed at this
KB article.
I suggest you run the System Update Readiness tool and check if the error still persists.
There is a similar thread for your reference.
https://social.technet.microsoft.com/Forums/en-US/0b3d0479-b9c0-4551-a623-1519ce7584af/error-when-installing-sql-server-2008-r2-rtm-on-windows-server-2008-r2-foundation?forum=winservergen
Thanks,
Lydia Zhang
If you have any feedback on our support, please click
here.
Lydia Zhang
TechNet Community Support -
When I try to download the newest version of iTunes, I get the message : "An error occured during the installation of assembly "policy 8.0 Microsoft VC80.CRT type= "win32-policy".version="8.0.50727.6195.public Key Token="1fc8b3b9a1e18e3b.processorArchitecture = "x86" Please refer to help and support.
Ok I cant find a way to fix this so I basically cant use my Verizon Iphone 4 because it wont connect on an old version...OK. You may have to reinstall everything from scratch but follow following steps:
1. Go to Microsoft website to fix install and Unistall problems. Click "Run now" from Fix it to remove all iTunes & related installer files:
http://support.microsoft.com/mats/Program_Install_and_Uninstall
Be aware that Windows Installer CleanUp Utility will not remove the actual program from your computer. However, it will remove the installation files so that you can start the installation, upgrade, or uninstall over.
2. You should remove all instances of iTunes and the rest of the components listed below:
it may be necessary to remove all traces of iTunes, QuickTime, and related software components from your computer before reinstalling iTunes.
Use the Control Panel to uninstall iTunes and related software components in the following order:
iTunes
QuickTime
Apple Software Update
Apple Mobile Device Support
Bonjour
Apple Application Support (iTunes 9 or later)
Follow the instructions from Apple article listed here: http://support.apple.com/kb/HT1923 to remove all components
3. Reboot your computer. Next, download iTunes from here:http://www.apple.com/itunes/download/ and install from scratch -
I am trying to pass the value of a field from the seeded page /oracle/apps/
I am trying to pass the value of a field from the seeded page /oracle/apps/asn/opportunity/webui/OpptyDetPG. The value I want is in the VO oracle.apps.asn.opportunity.server.OpportunityDetailsVO and the field PartyName.
I have created a button on the page whose destination URL is
OA.jsp?OAFunc=XX_CS_SR_QUERY&CustName={#PartyName}
It opens the correct page, but in the URL it shows this
http://aa.com:8005/OA_HTML/OA.jsp?OAFunc=XX_CS_SR_QUERY&CustName=&_ti=1897289736&oapc=177&oas=x5E2TIfP1Y0FykBt1ek4ug..
You can see that &CustName is not getting the proper value. Do I need to do something different?You cannot call the form with OA.jsp . This is applicable only for OAF based pages registered as a function.
For calling a Form, use the below example:
You have to change the application responsibility key and form function name .
"form:PN:PN:STANDARD:XXPNTLEASE:QUERY_LEASE_ID={@QueryLeaseNumber}"
Regards,
Sudhakar Mani
http://www.oraclearea51.com -
The value is not allowed for the field Cross-plant CM
Hello All
When i copy material in refernce to existin gone. I am getting this message
"The value is not allowed for the field Cross-plant CM"
I am not putting any thing in this Basic-view Cross-plant CM, but still getting this message.
Any help will be good...Thanks in advance...Hi,
Please check the check box in front of the field config material is checked?
If so then this material is configurable material
A material that can have different variants.
For example, a car can have different paint, trim, and engines.
Configurable materials have a super bill of material (BOM) that contains all the components for producing every variant of the material. Similarly, they have a super task list that contains all the operations. When a material is configured, only the components and operations needed for a variant are selected.
Please check
BR
Diwakar
Maybe you are looking for
-
The full message said: There was a problem downloading the software for the iPhone "Judy's iPhone 4". The network connection was reset. Make sure your network settings are correct and your network connection is active, or try again later. I am trying
-
How Do Everyone! I have added some custom fields onto the infotype 0019 - Monitoring of Tasks. These fields are appearing in the transactions PA20/PA30. If however, one of the users runs PQAH (infoset query), the fields are appearing as blank. Is the
-
Trinidad table/form too big in mobile page
I was trying to emulate the demo at [http://download.oracle.com/otn_hosted_doc/jdeveloper/11gdemos/ADFMobile/adfmobile.htm] using my own data. I can't seem to get trinidad tables/forms to fit as nicely as the demo does within a 240x320 screen at desi
-
The interaction of the components - data obtained.
You can use hitTest to register collision detection between components. But how I can get the data of a column chart, if an animated image (Spark Image, Bitmap, Sprite) moves over it? Now I see only mouse events.
-
Blank draft email stuck on the screen.
I have a blank draft email stuck on the screen. Every time I open Mail, there it is, immovable and permanent. Cancel and send buttons do not work. The usual Inbox screen can be seen greyed out in the back ground. I cannot deal with emails at all. How