Next step with my PCIe
I'm using a Virtex-5 and the LogiCORE IP Endpoint Block Plus v1.15 for PCI Express on an OEM board.
I don't know how to get to the next step.
Specifically, the PCI Express code is accessing a small number of dual port bram blocks. I want to add my own code to use the other port of the same blocks from the FPGA fabric, not from an embedded processor. But I've never done this before and I'm looking for a starting point. The endpoint users guide doesn't go this far with its examples.
My ignorance will show here... The ucf file includes four lines such as
INST "ep/pcie_ep0/pcie_blk/pcie_mim_wrapper_i/bram_retry/generate_sdp.ram_sdp_inst" LOC = RAMB36_X7Y4 ;
and I deduce that these are locking down which bram blocks are being used.
So I figure I need four related lines in the ucf to lock down other usage I code, to use the same blocks. I don't know how to do this.
Furthermore, regarding that other usage I code, I don't know how to code that, either. For test purposes, I figure I would do some kind of clock loop of state machine to predictably alter the bram contents. Except for the bram part itself, I know how to do this. I just don't know how to code the bram access (yet).
Your assistance is greatly appreciated.
No advice out there, please?
Similar Messages
-
I was trying to do a favor for my gf, and I accidentily on purpose uninstalled bonjour. It has seemed to really screw up iTunes for me. What are my next steps to get this back to normal? I have downloaded and using the icloud and ios5. I have two iPhones 3gs and our iPad2. And our computer is windows xp(yes it is time for an upgrade)
Try the troubleshooting help here. http://www.apple.com/support/iphone/assistant/phone/
You may need to restore your iPhone.
If it won't restore, try here. http://support.apple.com/kb/ht1808
If nothing helps, you need to contact Verizon for information for an exchange or refund. This is a user to user forum, not Apple.
Apple's policy for a refund or exchange is within 14 days of purchase. Verizon's policy may be different.
Definitely try restoring .. hopefully you won't have to go through the hassle of an exchange. -
Loop on Next Step programmaticaly
Hello,
Can some one help me add this action to my Teststand program? I want to be able to pass a number to a step that will allow me to loop on the Next Step with iterations equal to the passed number.
Thanks,
AymanHi,
Try the attached sequence file.
Regards
Ray Farmer
Regards
Ray Farmer
Attachments:
Enter Loop Count.seq 30 KB -
Issues with MacBook hard drive - next steps to take?
Hello,
I have a 15-inch MacBook Pro that I purchased in early 2010 which came with Snow Leopard, later upgraded to Mountain Lion. The other day my machine completely froze up during run-of-the-mill web browsing. When I tried to manually restart, I got stuck on the gray Apple screen with the rotating circle for over an hour. I haven't been able to boot regularly since. I tried resetting the PRAM - nothing.
I tried booting to the Recovery drive, which worked at first, but when I would run Disk Utility, the Macintosh HD drive would suddenly randomly disappear from the Disk Utility sidebar during Verify or Repair operations, and then the system would just hang/freeze. Now I can't boot into Recovery at all - it just hangs on the gray Apple screen. I tried booting from a Snow Leopard install DVD and Disk Utility does the same thing - recognizes Mac HD at first, but it disappears from Disk Utility when I try to do anything.
I tried using a Diskwarrior DVD, and Diskwarrior does not recognize the hard drive at all - it only sees the Diskwarrior DVD.
When I boot into single user mode and run fsck -yf it says everything is OK. If I press Option while booting both Mac HD and Recovery show up, but I can't get into either anymore.
I opened up my laptop to make sure everything looked okay, and aside from a little dust, the HD cable seemed secure and connected.
I have some stuff on my HD that isn't backed up that I would like to be able to recover. So what would the next step be? I'm not sure if this is a failed HD issue or a failed cable issue. Should I buy an enclosure for my HD and see if I can get it going externally? Would that be the best way to see if it is the drive and not the cable? An enclosure is cheaper than buying a new SATA cable, so I'm hoping that's where I can start.
Thanks in advance for any advice.nodel9999 wrote:
Should I buy an enclosure for my HD and see if I can get it going externally? Would that be the best way to see if it is the drive and not the cable? An enclosure is cheaper than buying a new SATA cable, so I'm hoping that's where I can start.
Yes. See if the HDD will boot the MBP via a USB connection. You should probably have an external HDD for backups or a possible replacement of your boot drive.
Ciao. -
The first time I connected my new My Passport portable hard drive to my MacBook Pro, the message asking if I want to use the drive to back up with Time Machine did not appear. I would like to set it up to do this. What would my next step be?
Drive Partition and Format
1. Open Disk Utility in your Utilities folder.
2. After DU loads select your hard drive (this is the entry with the mfgr.'s ID and size) from the left side list. Click on the Partition tab in the DU main window.
3. Under the Volume Scheme heading set the number of partitions from the drop down menu to one. Click on the Options button, set the partition scheme to GUID then click on the OK button. Set the format type to Mac OS Extended (Journaled.) Click on the Apply button and wait until the process has completed.
4. Select the volume you just created (this is the sub-entry under the drive entry) from the left side list. Click on the Erase tab in the DU main window.
5. Set the format type to Mac OS Extended (Journaled.) Click on the Security button, check the button for Zero Data and click on OK to return to the Erase window.
6. Click on the Erase button. The format process can take up to several hours depending upon the drive size.
Open Time Machine preferences to select this drive for use as the backup drive. Turn on Time Machine. -
I am a teacher of mathematics and i have a windows pc, but i want to do the next step. I want to buy an iMac. I want to learn how to write mathematical equations and how to do geometrical schema in my documents with iMac. Help me please!!! Thank you very much!!!
Bonjour VAGRAI
1) To write math expressions in a text :
— Microsoft Office 2011 etc. for Mac use its included Equation Editor.
— OpenOffice.org (OOo) and NeoOffice : download free Dmath 3.3.
— iWork (Pages, Numbers, Keynote), download free MathType 6.7, fully functional for 30 days, then becomes « Lite » for life as good as the Microsoft equation editor ; it’s better than using Grapher’s equation editor (Applications > Utilities) because MathType can be called from Pages and allows editing equations by clicking the math expressions your text (details on MathType website) .
— Graph.app 2.3 in Mountain Lion is built to draw curves and surfaces from equations, so it uses an equation editor less powerful than mathType, but it’s easier typing expressions. You may get 2D 3D geometrical drawings from clever equations. Suggest a glance at http://y.barois.free.fr/grapher/ to know all about Grapher (83 pages Instructions for Use - Grapher) and some examples
2) Geometrical schema :
— GeoGebra is very popular and used by math teachers.
— Google SketchUp 8 was not built for mathematics but for architecture, but it’s very easy using it to draw 2D 3D surfaces and solid figures.
— ShapeOnYou.app allows simples geometrical figures http://pierre.chachatelier.fr/programmation/shapeonyou_en.php
3) Some useful websites for screen shots of geometrical schema :
http://www.mathcurve.com/
http://perso.orange.fr/roger.assouly/
Drawings files PDF, TIFF, JPG … can be inserted in an iWork window (Pages).
I hate LaTex : not necessary to write math books !
Au revoir VAGRAI,
YB24
Attachment : lines and curves were made with Google SketchUp 8, screen copied (Command-Shift-4), inserted on a Pages sheet to add letters figures rectangles title.
SketchUp allows drawing precisely an arc of circle 325 mm radius 22,5° angle for instance. -
When I started my Mac the screen was white with the Apple logo and power motion icon running. I attempted to turn off Mac then a message stating "Debugger called: <Button SCI>. Also "Waiting for remote debugger connection." What is my next step?
Hi , and a warm welcome to the forums!
Could be many things, we should start with this...
"Try Disk Utility
1. Insert the Mac OS X Install disc, then restart the computer while holding the C key.
2. When your computer finishes starting up from the disc, choose Disk Utility from the Installer menu at top of the screen. (In Mac OS X 10.4 or later, you must select your language first.)
*Important: Do not click Continue in the first screen of the Installer. If you do, you must restart from the disc again to access Disk Utility.*
3. Click the First Aid tab.
4. Select your Mac OS X volume.
5. Click Repair Disk, (not Repair Permissions). Disk Utility checks and repairs the disk."
http://docs.info.apple.com/article.html?artnum=106214
Then try a Safe Boot, (holding Shift key down at bootup), run Disk Utility in Applications>Utilities, then highlight your drive, click on Repair Permissions, reboot when it completes.
(Safe boot may stay on the gray radian for a long time, let it go, it's trying to repair the Hard Drive.)
If perchance you can't find your install Disc, at least try it from the Safe Boot part onward.
If 10.7.0 or later...
Bootup holding CMD+r, or the Option/alt key to boot from the Restore partition & use Disk Utility from there to Repair the Disk, then Repair Permissions.
And sorry to report that OSX is more Widows like than ever, but….
If that doesn't help Reinstall the OS. -
Ipod not recognized by itunes...next step for nike+
when i started to set up the nike+ i downloaded the new version of itunes then later downloaded the new software update for the ipod nano...now when i plug the ipod into the computer using the usb cord, i get a message that says this...The software required for communicating with the iPod is not installed correctly. Please reinstall iTunes to install the iPod's software....i have attempted to install, reinstall, remove and install again, itunes and the updated software... yet it still will not recognize the ipod when it is plugged in. How do i get the ipod to be recognized and then what is my next step for using the Nike+ shoes?
ipod nanoI can't even get the tab that says Nike+ when I am trying to sync up. I can't get it to even go on to the Itunes. I can purchase music no problem
-
Pls help me... what is next step ?
I am trying to fix missing MSI file ? what is next step?
I got this ouput . after executingbelow command :
Cscript FindSQLInstalls.vbs %computername%_sql_install_details.txt
output.text file
Products installed on the local system
================================================================================
PRODUCT NAME : Sql Server Customer Experience Improvement Program
================================================================================
Product Code: {93998800-1608-403F-9A51-420A77D23C25}
Version : 10.50.1600.1
Most Current Install Date: 20130729
Target Install Location:
Registry Path:
HKEY_CLASSES_ROOT\Installer\Products\008899398061F304A91524A0772DC352\SourceList
Package : sqlsqm.msi
Install Source: \x86\setup\
LastUsedSource: n;1;E:\D DATA\sql dba\sql dba materia\sql dba2 softwaee\Software\x86\setup\
!!!! sqlsqm.msi DOES NOT exist on the path in the path E:\D DATA\sql dba\sql dba materia\sql dba2 softwaee\Software\x86\setup\ !!!!
Action needed, re-establish the path to E:\D DATA\sql dba\sql dba materia\sql dba2 softwaee\Software\x86\setup\
Installer Cache File: C:\Windows\Installer\1cca5bb.msi
!!!! C:\Windows\Installer\1cca5bb.msi DOES NOT exist in the Installer cache. !!!!
Action needed, recreate or re-establish path to the directory:
E:\D DATA\sql dba\sql dba materia\sql dba2 softwaee\Software\x86\setup\then rerun this script to update installer cache and results
The path on the line above must exist at the root location to resolve
this problem with your msi/msp file not being found or corrupted,
In some cases you may need to manually copy the missing file or manually
replace the problem file overwriting it is exist:
Copy "E:\D DATA\sql dba\sql dba materia\sql dba2 softwaee\Software\x86\setup\sqlsqm.msi" C:\Windows\Installer\1cca5bb.msi
Replace the existing file if prompted to do so.
Sql Server Customer Experience Improvement Program Patches Installed
I got below output...now pls suggest.
=================================================
Products installed on the local system
================================================================================
PRODUCT NAME : Sql Server Customer Experience Improvement Program
================================================================================
Product Code: {93998800-1608-403F-9A51-420A77D23C25}
Version : 10.50.1600.1
Most Current Install Date: 20130729
Target Install Location:
Registry Path:
HKEY_CLASSES_ROOT\Installer\Products\008899398061F304A91524A0772DC352\SourceList
Package : sqlsqm.msi
Install Source: \x86\setup\
LastUsedSource: n;1;E:\D DATA\sql dba\sql dba materia\sql dba2 softwaee\Software\x86\setup\
!!!! sqlsqm.msi DOES NOT exist on the path in the path E:\D DATA\sql dba\sql dba materia\sql dba2 softwaee\Software\x86\setup\ !!!!
Action needed, re-establish the path to E:\D DATA\sql dba\sql dba materia\sql dba2 softwaee\Software\x86\setup\
Installer Cache File: C:\Windows\Installer\1cca5bb.msi
!!!! C:\Windows\Installer\1cca5bb.msi DOES NOT exist in the Installer cache. !!!!
Action needed, recreate or re-establish path to the directory:
E:\D DATA\sql dba\sql dba materia\sql dba2 softwaee\Software\x86\setup\then rerun this script to update installer cache and results
The path on the line above must exist at the root location to resolve
this problem with your msi/msp file not being found or corrupted,
In some cases you may need to manually copy the missing file or manually
replace the problem file overwriting it is exist:
Copy "E:\D DATA\sql dba\sql dba materia\sql dba2 softwaee\Software\x86\setup\sqlsqm.msi" C:\Windows\Installer\1cca5bb.msi
Replace the existing file if prompted to do so.
Sql Server Customer Experience Improvement Program Patches Installed
No Patches Found
================================================================================
PRODUCT NAME : SQL Server 2008 R2 SP1 Full text search
================================================================================
Product Code: {F96E9800-1B92-44FA-8A30-CE1D56D77F10}
Version : 10.51.2500.0
Most Current Install Date: 20140118
Target Install Location:
Registry Path:
HKEY_CLASSES_ROOT\Installer\Products\0089E69F29B1AF44A803ECD1657DF701\SourceList
Package : sql_fulltext.msi
Install Source: \x86\setup\
LastUsedSource: n;1;E:\D_DATA\sql dba\sql dba materia\sql dba2 softwaee\Software\x86\setup\
sql_fulltext.msi exists on the LastUsedSource path, no actions needed.
Installer Cache File: C:\Windows\Installer\47a921.msi
Package exists in the Installer cache, no actions needed.
Any missing packages will update automatically if needed assuming that
the LastUsedSource exists.
Should you get errors about C:\Windows\Installer\47a921.msi or E:\D_DATA\sql dba\sql dba materia\sql dba2 softwaee\Software\x86\setup\sql_fulltext.msi then you
may need to manually copy the file, if file exists replace the problem file,
Copy and paste the following command line into an administrative command prompt:
Copy "E:\D_DATA\sql dba\sql dba materia\sql dba2 softwaee\Software\x86\setup\sql_fulltext.msi" C:\Windows\Installer\47a921.msi
SQL Server 2008 R2 SP1 Full text search Patches Installed
Display Name: Service Pack 1 for SQL Server Database Services 2008 FullText (KB2528583)
KB Article URL: http://support.microsoft.com/?kbid=2528583
Install Date: 20140118
Uninstallable: 1
Patch Details:
HKEY_CLASSES_ROOT\Installer\Patches\45BA0AD8B5846BC488E8DD346D52F708
PackageName: sql_fulltext.msp
Patch LastUsedSource: n;1;d:\0859867ecacfd38bdc\x86\setup\
Installer Cache File Path: C:\Windows\Installer\1cca9cb.msp
Per SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Patches\45BA0AD8B5846BC488E8DD346D52F708\LocalPackage
!!!! C:\Windows\Installer\1cca9cb.msp package DOES NOT exist in the Installer cache. !!!!
Action needed, recreate or re-establish path to the directory:
d:\0859867ecacfd38bdc\x86\setup\ then rerun this script to update installer cache and results
The path on the line above must exist at the root location to resolve
this problem with your msi/msp file not being found or corrupted,
In some cases you may need to manually copy missing files or manually
replace the problem file,
Copy "d:\0859867ecacfd38bdc\x86\setup\sql_fulltext.msp" C:\Windows\Installer\1cca9cb.msp
Replace the existing file if prompted to do so.
Use the following URL to assist with downloading the patch:
http://support.microsoft.com/?kbid=2528583
-
My iphone is activated in my computer but not on iphone whats the next step
my iphone is activated in my computer but not on iphone whats the next step
It sounds to me like you either got defective parts or otherwise did not make the repair correctly. We cannot help with self-repairs here, the iPhone officially not user servicable, but you can ask for advice in the forums on ifixit.com, a site which is dedicated to those attempting their own repairs.
Regards. -
BPM SEND step with Acknowledgemnt.Process logic depends on Application Ack.
Hi,
I am designing one BPM process in which I want to send IDOC to R/3.This IDOC will be processed by the R/3 system using process code.
Now I have sent this IDOC to R/3 through send step with application acknowledgment and only if acknowledgment comes then only next processing logic of the BPM process should be executed.
How should I design SEND step because the communication is asynchronous but I want the processing depending on acknowledgement only?
Please guide me.Hi,
Take a look at this doc,
<a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/f6d2d790-0201-0010-9382-b50b499b3fbe">How to handle Idoc Acks'</a>
Regards,
Bhavesh -
I downloaded Mountain Lion in my i have macbook pro retina display last month. but I don't get airplay the option on my macbook. I went to display preferences, but the airplay is not available. What is the next step?
You also need:
Apple TV (2nd or 3rd generation) with software update v5.0 or later. -
Iphoto 9.4.2 quitting when pressing info - next steps?
After uploading a batch of new photos, I pressed the info button for one of the photos and iphoto quit unexpectedly. I have 25,000 photos in my iphoto library.
I tried the following:
1) Repairing permission and database using the 'first aid' function.
After trying this, the problem was worse ie iphoto now quitting - a second or two after opening.
2) Created a second iphoto library - that worked fine using iphoto.
3) Opening my photos Aperture. Also worked fine.
4) Rebuilding the library using the 'first aid' function - this improved the situation. iphoto no longer quits on opening BUT it is still quitting when I press the info button - so back to square 1!
Ideally I would like to merge my iphoto library with my Aperture library - but don't want to make matters worse by merging a dodgy library with a good one. I would rather repair the iphoto library first if possible.
I have backed up onto an external drive.
Any suggestions for next steps would be appreciated.
Thanks
iPhoto '11, OS X Mountain Lion (10.8.2)Download iPhoto Library Manager and use its rebuild function. (In Library Manager it's the FIle -> Rebuild command)
This will create an entirely new library. It will then copy (or try to) your photos and all the associated metadata and versions to this new Library, and arrange it as close as it can to what you had in the damaged Library. It does this based on information it finds in the iPhoto sharing mechanism - but that means that things not shared won't be there, so no slideshows, books or calendars, for instance - but it should get all your events, albums and keywords, faces and places back.
Because this process creates an entirely new library and leaves your old one untouched, it is non-destructive, and if you're not happy with the results you can simply return to your old one. -
After downloading ,completing the lic agreement phase, the next step is where to install and automatically' MAC HD with 904 gb available this disk is used for time machine backups' is shown and installation is blocked .
Any body got any idea what to do next ?Time machine needs its own partition to operate. So you are not going install a OSx Lion on that volume.
If there is enough room you may be able to partition the drive on the fly with DiskUtility
Are you saying you clean installed Lion and you are trying to move your user Data over with TM via the migration Assistant? Please explain. -
User-Decision COMPLETED buti next step not executed
Hi Gurus,
I have a very strange problem when approving user-decision tasks in my workflow using FM SAP_WAPI_DECISION_COMPLETE.
SOMETIMES, the user-decision step becomes COMPLETED but the result in the workflow logs (SWI1) is blank and does not continue to the next steps of my workflow. I've done my research and checked everything (commit = X, SWU3, Task is General, etc..) but i still have not found any solution yet.
FYI: this does not happen all the time, most of the time the workflow works fine.
Based on SWWWIHEAD, the user ADSUSER(from WebDynpro) is the creator and the last one who updated the workflow instance.
Here's part of my code for your reference: (RFC - called by WebDynpro)
CALL FUNCTION 'SWL_GET_PROCESS_STEPLIST'
EXPORTING
wf_id = wi_id
with_techdetails = space
with_expansion = space
with_errors = space
TABLES
wfm_steplog = lt_wfm_steplog
EXCEPTIONS
workflow_does_not_exist = 1
error_while_reading_wfm_log = 2
OTHERS = 3.
DELETE lt_wfm_steplog WHERE wi_type NE 'W'.
CLEAR: wa_wfm_steplog, li_lines.
DESCRIBE TABLE lt_wfm_steplog LINES li_lines.
READ TABLE lt_wfm_steplog INTO wa_wfm_steplog INDEX li_lines.
IF in_pdf_flag = 'Y'. "Continue
ly_decision_key = '0001'.
ELSE. "Cancel
ly_decision_key = '0002'.
ENDIF.
IF NOT ly_decision_key IS INITIAL .
CALL FUNCTION 'SAP_WAPI_DECISION_COMPLETE'
EXPORTING
WORKITEM_ID = wa_wfm_steplog-wi_id
LANGUAGE = SY-LANGU
USER = SY-UNAME
DECISION_KEY = ly_decision_key
DO_COMMIT = 'X'
IMPORTING
RETURN_CODE = l_subrc.
Thanks in advance.
Regards,
DexterHello Dexter,
Thanks for the reply.
I have tried running the BAPI through Automation Tools which we have. That is Process Runner.
With the help of this I was Approving the WorkFlow. But as i found the issue, so for trouble schooting this i had manually checked in SAP though SE37 t-code.
Below is the code of BAPI 'sap_wapi_decision_complete'
=====================================================================
FUNCTION sap_wapi_decision_complete.
*"*"Lokale Schnittstelle:
*" IMPORTING
*" VALUE(WORKITEM_ID) TYPE SWR_STRUCT-WORKITEMID
*" VALUE(LANGUAGE) LIKE SWR_STRUCT-WILANGUAGE DEFAULT SY-LANGU
*" VALUE(USER) TYPE SYUNAME DEFAULT SY-UNAME
*" VALUE(DECISION_KEY) TYPE SWR_DECIKEY
*" VALUE(DO_COMMIT) TYPE XFELD DEFAULT 'X'
*" EXPORTING
*" VALUE(RETURN_CODE) LIKE SY-SUBRC
*" VALUE(NEW_STATUS) TYPE SWW_WISTAT
*" TABLES
*" MESSAGE_LINES STRUCTURE SWR_MESSAG OPTIONAL
*" MESSAGE_STRUCT STRUCTURE SWR_MSTRUC OPTIONAL
DATA: lh_msg TYPE REF TO cl_swf_utl_wapi_message,
lv_excp TYPE REF TO cx_swf_ifs_exception,
funcname TYPE funcname VALUE 'SAP_WAPI_DECISION_COMPLETE',
lv_wi_handle TYPE REF TO if_swf_run_wim_internal,
ls_t100msg TYPE swf_t100ms,
lv_handle TYPE sytabix,
lh_wapi TYPE REF TO if_swf_utl_wapi_framework,
ls_swwwihead TYPE swwwihead,
l_nodetype TYPE swd_nodetp,
lt_alternatives TYPE swr_decialts OCCURS 0 WITH HEADER LINE.
DATA: lt_cont TYPE swr_cont OCCURS 0 WITH HEADER LINE.
DATA: lh_params TYPE REF TO if_swf_ifs_parameter_container.
DATA: lh_trc_data TYPE REF TO if_swf_cnt_container.
DATA: lt_message_lines TYPE sapi_msg_lines.
DATA: lt_message_struct TYPE sapi_msg_struc.
*- startup framework
lh_wapi = cl_swf_utl_wapi_framework=>create( im_language = language ).
lh_msg = lh_wapi->get_message_object( ).
lh_params = lh_wapi->get_parameter_container( ).
CALL METHOD lh_wapi->set_commit_control( im_commit = do_commit ).
TRY.
CALL METHOD lh_params->set
EXPORTING
name = lh_wapi->c_workitem_id
value = workitem_id.
CATCH cx_swf_cnt_container .
ENDTRY.
lv_handle = lh_wapi->register_function( im_function = funcname
im_parameters = lh_params ).
*~~ begin of trace specific coding ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*
IF lh_wapi->m_trace_handle IS BOUND.
TRY.
lh_trc_data = lh_wapi->get_initial_trace_data( ).
CALL METHOD lh_trc_data->element_set
EXPORTING
name = 'WORKITEM_ID'
value = workitem_id.
CALL METHOD lh_trc_data->element_set
EXPORTING
name = 'LANGUAGE'
value = language.
CALL METHOD lh_trc_data->element_set
EXPORTING
name = 'USER'
value = user.
CALL METHOD lh_trc_data->element_set
EXPORTING
name = 'DECISION_KEY'
value = decision_key.
CALL METHOD lh_trc_data->element_set
EXPORTING
name = 'DO_COMMIT'
value = do_commit.
CALL METHOD lh_wapi->write_trace
EXPORTING
im_evt = swwtr_api_init
im_data = lh_trc_data.
CATCH cx_swf_ifs_exception. "#EC NO_HANDLER
ENDTRY.
ENDIF.
*~~ end of trace specific coding ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*
TRY.
*- function valid (allowed)
IF lv_handle LE 0.
lv_excp = lh_wapi->get_last_exception( ).
return_code = 900.
RAISE EXCEPTION lv_excp.
ENDIF.
*- get properties
CALL METHOD cl_swf_run_wim_factory=>find_by_wiid
EXPORTING
im_wiid = workitem_id
RECEIVING
re_instance = lv_wi_handle.
* is it a decision at all?
MOVE-CORRESPONDING lv_wi_handle->m_sww_wihead TO ls_swwwihead.
CALL METHOD cl_swf_run_workitem_compatible=>get_def_guid_structure
EXPORTING
im_header = ls_swwwihead
IMPORTING
ex_nodetype = l_nodetype.
IF l_nodetype <> swfco_wd_decision.
return_code = 2.
ls_t100msg-msgid = 'SWR'.
ls_t100msg-msgty = 'E'.
ls_t100msg-msgno = 205.
ls_t100msg-msgv1 = workitem_id.
RAISE EXCEPTION TYPE cx_swf_run_wim
EXPORTING t100_msg = ls_t100msg
wi_id = workitem_id.
ENDIF.
*- get texts
CALL FUNCTION 'SWU_GET_DECISION_TEXT_TITLE'
EXPORTING
language = language
wiid = workitem_id
TABLES
decision_text = lt_alternatives[]
EXCEPTIONS
node_not_found = 1
text_not_found = 2
workflow_not_found = 3
OTHERS = 4.
IF sy-subrc <> 0.
return_code = 2.
ls_t100msg-msgid = 'SWR'.
ls_t100msg-msgty = 'E'.
ls_t100msg-msgno = 206.
ls_t100msg-msgv1 = workitem_id.
RAISE EXCEPTION TYPE cx_swf_run_wim
EXPORTING t100_msg = ls_t100msg
wi_id = workitem_id.
ENDIF.
*- check alternative id
READ TABLE lt_alternatives WITH KEY altkey = decision_key.
IF sy-subrc <> 0.
return_code = 3.
ls_t100msg-msgid = 'SWR'.
ls_t100msg-msgty = 'E'.
ls_t100msg-msgno = 207.
ls_t100msg-msgv1 = workitem_id.
ls_t100msg-msgv2 = decision_key.
RAISE EXCEPTION TYPE cx_swf_run_wim
EXPORTING t100_msg = ls_t100msg
wi_id = workitem_id.
ENDIF.
CATCH cx_swf_ifs_exception INTO lv_excp.
IF return_code IS INITIAL.
return_code = 1.
ENDIF.
CALL METHOD lh_msg->set_exception_object( im_excp = lv_excp ).
*- set export
message_lines[] = lh_msg->get_message_lines( ).
message_struct[] = lh_msg->get_message_struct( ).
EXIT.
ENDTRY.
*- unregister to framework
CALL METHOD lh_wapi->unregister( lv_handle ).
*- complete decision item
lt_cont-element = swfco_wi_result_const.
lt_cont-value = decision_key.
APPEND lt_cont.
lt_cont-element = swfco_om_result_const.
lt_cont-value = decision_key.
APPEND lt_cont.
CALL FUNCTION 'SAP_WAPI_WORKITEM_COMPLETE'
EXPORTING
workitem_id = workitem_id
actual_agent = user
language = language
do_commit = do_commit
IMPORTING
return_code = return_code
new_status = new_status
TABLES
simple_container = lt_cont[]
message_lines = message_lines
message_struct = message_struct.
*~~ begin of trace specific coding ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*
IF lh_wapi->m_trace_handle IS BOUND.
TRY.
lh_trc_data = lh_wapi->get_initial_trace_data( ).
CALL METHOD lh_trc_data->element_set
EXPORTING
name = 'RETURN_CODE'
value = return_code.
CALL METHOD lh_trc_data->element_set
EXPORTING
name = 'NEW_STATUS'
value = new_status.
lt_message_lines = message_lines[].
CALL METHOD lh_trc_data->element_set
EXPORTING
name = 'MESSAGE_LINES'
value = lt_message_lines.
lt_message_struct = message_struct[].
CALL METHOD lh_trc_data->element_set
EXPORTING
name = 'MESSAGE_STRUCT'
value = lt_message_struct.
CALL METHOD lh_wapi->write_trace
EXPORTING
im_evt = swwtr_api_result
im_data = lh_trc_data.
CATCH cx_swf_ifs_exception. "#EC NO_HANDLER
ENDTRY.
ENDIF.
*~~ end of trace specific coding ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*
ENDFUNCTION.
========================================================================
When I pass all the data through Process Runner Program and check in SAP manually it look like below in SAP
Kindly check the above screen shot and Help me in this regard.
Thanks,
Srikanth
Maybe you are looking for
-
Scan to Computer problem HP Officejet Pro 8500 (A909a) OSX 10.7.5
Good afternoon, First of all I appologize if this question already has been asked a thousand times, but I am unable to find a solution in the somewhat simular stories. But reading thru all off them, while English is not my native language, was beginn
-
My Macbook Pro won't print with my HP Photosmart 7515. I get the following message, " Print file was not accepted" Printer does work with our PC?? Checked for software updates and are none. Talked with HP help and they say it's an Apple problem
-
Cisco 1113 4.2 maximum RADIUS registers
Hello My customer has two Cisco ACS 1113 appliances, version ACS-4.2.1.15.10-Fix. They want to know the maximum number of devices that can be registered on RADIUS. Do you know any document of official Cisco page where such info can be found? Thanks i
-
I am a computer novice and need somebody to advise me on this "problem". I have read a lot of the previous comments on this issue. However still unable to load Safari. The last download I did was iTunes 7. Working on a PowerBook G4 15", OS X 10.4.7 H
-
What kind of wireless mouse can I use?
What kind of wireless mobile mouse can I use with my MacBook Air?