PLEASE HELP ME TO MODIFY THE CODE !
DATA:BEGIN OF I_PARTNER OCCURS 0,
VBELN LIKE VBPA-VBELN,
adrnr like vbpa-adrnr,
kunnr LIKE vbpa-kunnr,
PARVW LIKE VBPA-PARVW,
post_code1 LIKE adrc-post_code1,
po_box LIKE adrc-po_box,
name1 LIKE adrc-name1,
name2 LIKE adrc-name2,
city1 LIKE adrc-city1,
city2 LIKE adrc-city2,
country LIKE adrc-country,
street LIKE adrc-street,
str_suppl1 LIKE adrc-str_suppl1,
str_suppl2 LIKE adrc-str_suppl2,
str_suppl3 LIKE adrc-str_suppl3,
vtext like tpart-vtext,
ADRNP LIKE VBPA-ADRNP,
SMTP_ADDR LIKE ADR6-SMTP_ADDR,
END OF I_PARTNER.
SELECT
VBPA~VBELN
vbpa~adrnr
VBPA~PARVW
VBPA~KUNNR
VBPA~ADRNP
TPART~VTEXT
FROM VBPA AS VBPA
INNER JOIN TPART AS TPART
ON VBPAPARVW EQ TPARTPARVW
AND SPRAS = SY-LANGU
INTO CORRESPONDING FIELDS OF TABLE I_PARTNER
WHERE
VBPA~VBELN EQ S_VBELN.
WRITE:/
i_partner-adrnr under 'ADDRESS NUMBER',
i_partner-vbeln UNDER 'Order-No',
i_partner-parvw UNDER 'Partner-Type',
I_PARTNER-VTEXT UNDER 'Partner-Type description',
I_PARTNER-KUNNR UNDER 'Partner-no'.
ULINE.
endloop.
HERE I AM GETTING ALL THE POSSIBLE PARTNER TYPES.
I WANT TO GET THE OUT PUT ONLY WHEN THE PARTNER TYPE S ARE 'SP' 'BP' AND 'SH'.
PLEASE HELP.....
Hi,
Both the answers are correct... iam just writing the code u needed..
ranges : gr_partner for tablename-fieldname.
initialization.
gr_partner-sign = 'I'.
gr_partner-option = 'EQ'
gr_partner-low = 'SP'
append gr_partner.
gr_partner-sign = 'I'.
gr_partner-option = 'EQ'
gr_partner-low = 'BP'
append gr_partner.
gr_partner-sign = 'I'.
gr_partner-option = 'EQ'
gr_partner-low = 'SH'
append gr_partner.
SELECT
VBPA~VBELN
vbpa~adrnr
VBPA~PARVW
VBPA~KUNNR
VBPA~ADRNP
TPART~VTEXT
FROM VBPA AS VBPA
INNER JOIN TPART AS TPART
ON VBPAPARVW EQ TPARTPARVW
AND SPRAS = SY-LANGU
INTO CORRESPONDING FIELDS OF TABLE I_PARTNER
WHERE
VBPA~VBELN EQ S_VBELN
and vbpa~parvw in gr_partner.
Regards,
Nagaraj
Similar Messages
-
Please help me to modify the following code !
SELECT VTEXT FROM TVKGGT
INTO CORRESPONDING FIELDS OF TABLE t_tvkggt
WHERE KDKGR = itab-kdkg1.
read table t_tvkggt with key kdkgr = t_tvkggt-kdkgr binary search.
itab-vtext2 = t_tvkggt-vtext.
I am getting corresponding values of vtext where itab has
values of kdkgr and also doesnt have any values of kakgr.
how to remove those values of vtext which doesnt have any value for kdkgr.Hi,
select * from mara
into table i_tab
where matnr = 'ACC CABLE'.
loop at i_tab where bstme NE ' ' .
endloop.
Check out with this one and inside loop ,
you can transfer only those records which have bstme value.
Apply for you case.
Reward if helpful/.
Thanks,
Madhura
Edited by: Madhura Nadgauda on Jan 17, 2008 7:19 AM -
Please help by providing me the code
Dear All,
I want to send some message to each and every client sockets connected to the server whenever a response comes to a server from any of the client sockets connected to it.Please let me know how this can be done.
It is something like the message will be globally available to all whenever a message comes from any one of the client socket.
Thanks & regards,
SaibalHi...
You mean like a chat program right?
I cant give you code but this is how you can do this
you should create a new thread for each new connection your server socket accepts and the thread should be listning to the incomming messages through that connection when ever an message arrives you have to pass it to all the connection for this you must maintane a collection of OutputStreams created from each active connection to improve the performance you can also use multiple threads to send messages. -
Please help me with modifying this code
I am using the attached code to acauire and save data to a text file, using 'write measurement file' express VI.
WHat I want to do is to replace 'write to measurement VI' with low-level file I/O VIs. I tried to convert the express VI, but the obtained code is too complicated.
Anyone can give me hints for using file I/O Vis to implement same function without using the express VI? Thanks a lot.
Message Edited by Dejun on 08-27-2007 11:26 AM
Attachments:
4.png 14 KB
code.vi 121 KBAbove code is in a case of an event structure, i.e., each time I click a buttom, such as 'RUN', data acquisition begins and write data into a file.
What I want is, each time this event case is executed, a file is open, write data to it, and finally close this file. The next time when I run this case, maybe another file is open for writting data.
The problem of using 'write measure file' express VI is: if a file is open in one execution of the case, it will continuously be in 'open' after this case execution is finished, i.e., there is no explicit close file function with the express VI, which in some cases may be a problem. What I need is closing the file at the end of each execution of a event case. With low-level file I/O VIs, maybe I can directly put a close file VI there.
The data file should be in text format so that data analysis software, such as MS-powerpoint, can directly reads it.
Message Edited by Dejun on 08-27-2007 01:55 PM
Message Edited by Dejun on 08-27-2007 01:56 PM -
Please help me out with the function code of print option in module pool
please help me out with the function code of print option in module pool, along with CASE condition.
regards,
asifHi
you can use the Function module
CALL FUNCTION 'GET_PRINT_PARAMETERS'
EXPORTING
destination = 'LP01' "'Printer name
list_name = 'TEST'
list_text = 'SUBMIT ... TO SAP-SPOOL'
immediately = ' '
line_size = '2000'
no_dialog = 'X' "pass space to Pop screen for Print option
IMPORTING
out_parameters = wa_pri_params
valid = w_valid.
"next call below things
NEW-PAGE PRINT ON NO DIALOG PARAMETERS wa_pri_params.
"and try to Print the values inside the new-page
NEW-PAGE PRINT OFF.
Prabhudas -
I forgot the code for my iPhone to access the Home screen I do , please help me
try formatting the iphone but when I put in nfc mode and connect it to the pc recognizes it and everything when you try to format the error 3004 appearsHello polo-angulo,
I apologize, I'm a bit unclear on the nature and scope of the issue you are describing. If you are saying that you are getting an error code (3004) when you try to restore your iPhone (because you could not remember your passcode), you may find the information and troubleshooting steps outlined in the following articles helpful:
Resolve iOS update and restore errors in iTunes - Apple Support
Get help with iOS update and restore errors - Apple Support
Sincerely,
- Brenden -
cannot activate my viber after i update to 6.1.3 iphone 3gs..can u please help me...the the code is ok but if i activate...its being error.
@theViberTeam .
I'm having trouble with Viber.
A few days ago, I accidentally uninstalled it on my IPhone 4, and reinstalled it later on..
When I tried sending the activation code using the same cell phone number I had on Viber before It got uninstalled, I receive the code but when I try to put it in it keeps saying that I entered the wrong activation code, I click on the no code feature on the top right corner of Viber, it gives me a code, but when I put that code in it says the same thing ,that I have the wrong access code please try again, and so I researched on the internet and came up to this post, It said to uninstall viber and wait 24 hours to install it again, I waited 24hours and tried it again, but it STILL does the same thing. and... I even tried entering my other phone number, yet it does the same thing and shows me the same message that I entered the wrong access code....It is getting frustrating! May you please Help ME?! What can I do?? -
Help for Modifying the Code for display a 7 column table
Hi,
Is someone can help me to modify that code I have a 7 colomn table and as many row as their is results?
Right now, All my result are in a 1 colomn table and and 1 row,
thanks,
Roseline
DECLARE
vtemp varchar2(4000) DEFAULT ' ';
BEGIN
htp.p('<HTML>');
htp.p('<HEAD>');
htp.p('<TITLE>DISQUES C</TITLE>');
htp.p('</HEAD>');
htp.p('<BODY>');
FOR idx IN
SELECT DVD_ID, NomFichier,
row_number() over(partition BY DVD_ID ORDER BY NomFichier ASC) AS rna,
row_number() over(partition BY DVD_ID ORDER BY NomFichier DESC) AS rnd
FROM elements
WHERE PROJET_ID = 1
ORDER BY DVD_ID ASC, rna ASC
loop
IF idx.rna = 1
then
htp.p('<TABLE>');
htp.p('<TR>');
htp.p('<TD>' || idx.DVD_ID ||' </TD> ');
htp.p('</TR>');
htp.p('<TR>');
end IF;
vtemp := vtemp || '<TD>' || idx.NomFichier || ' </TD>';
IF mod(idx.rna, 7) = 0 OR idx.rnd = 1
then
htp.p(vtemp);
vtemp := ' ';
end IF;
IF idx.rnd = 1
then
htp.p('</TR>');
htp.p('</TABLE>');
end IF;
end loop;
htp.p('</BODY>');
htp.p('</HTML>');
end;Sorry:
I have a table contening PROJECT ID, DVD ID and FILES NAME (NomFIchier) that are on the DVD.
In my page result, I want the list of the DVD from a project with the following formatting ( 7 columns table), using PL/SQL.
1 DVD can contain from 5000 files
ex:
Ex:
select DVDNAME, NomFichier fromTABLE where project = 2
*85*
2635080 2636608 2637084 2637091 2637092 2637093 2637147
2637152 2637153 2637154 2637155 2637156 2637157 2637164
*86*
2639497 2639498 2639502 2639504 2639505 2639506 2639507
2639508 2639509 2639511 2639512 2639519 2639521 2639522
******* ******* ******* ******** ********* ******** ******** With this code following code,
DECLARE
vtemp varchar2(4000) DEFAULT ' ';
BEGIN
htp.p('<HTML>');
htp.p('<HEAD>');
htp.p('<TITLE>DISQUES C</TITLE>');
htp.p('</HEAD>');
htp.p('<BODY>');
FOR idx IN
SELECT DVD_ID, NomFichier,
row_number() over(partition BY DVD_ID ORDER BY NomFichier ASC) AS rna,
row_number() over(partition BY DVD_ID ORDER BY NomFichier DESC) AS rnd
FROM elements
WHERE PROJET_ID = 1
ORDER BY DVD_ID ASC, rna ASC
loop
IF idx.rna = 1
then
htp.p('<TABLE>');
htp.p('<TR>');
htp.p('<TD>' || idx.DVD_ID ||' </TD> ');
htp.p('</TR>');
htp.p('<TR>');
end IF;
vtemp := vtemp || '<TD>' || idx.NomFichier || ' </TD>';
IF mod(idx.rna, 7) = 0 OR idx.rnd = 1
then
htp.p(vtemp);
vtemp := ' ';
end IF;
IF idx.rnd = 1
then
htp.p('</TR>');
htp.p('</TABLE>');
end IF;
end loop;
htp.p('</BODY>');
htp.p('</HTML>');
end;I have the following result
85
2635080 2636608 2637084 2637091 2637092 2637093 2637147 2637152 2637153 2637154 2637155 2637156 2637157 2637164 2637169 2637170 2637172 2637173 2637202 2637203 2637213 2637214 2637215 2637216 2637217 2637218 2637219 2637220 2637234 2637235 2637236 2637237 2637239 2637240 2637241 2637242 2637244 2637246 2637247 2637249 2637250 2637251 2637252 2637253 2637257 2637263 2637266 2637269 2637270 2637274 2637276 2637279 2637284 2637290 2637291 2637292 2637293 2637294 2637295 2637296 2637301 2637303 2637304 2637305 2637306 2637311 2637320 2637322 2637324 2637331 2637333 2637336 2637352 2637353 2637354 2637358 2637359 2637360 2637361 2637362 2637363 2637364 2637371 2637378 2637383 2637384 2637385 2637386 2637387 2637388 2637391 2637392 2637395 2637400 2637405 2637412 2637418 2637419 2637423 2637443 2637446 2637453 2637461 2637470 2637483 2637484 2637485 2637494 2637502 2637506 2637507 2637519 2637532 2637536 2637537 2637539 2637540 2637541 2637544 2637553 2637554 2637555 2637557 2637575 2637578 2637579 2637580 2637581 2637582 2637583 2637587 2637588 2637589 2637590 2637591 2637592 2637593 2637594 2637595 2637597 2637604 2637605 2637606 2637611 2637619 2637628 2637629 2637630 2637631 2637632 2637633 2637637 2637645 2637647 2637648 2637650 2637651 2637657 2637658 2637659 2637661 2637662 2637668 2637674 2637676 2637677 2637679 2637680 2637681 2637684 2637685 2637686 2637688 2637689 2637691 2637692 2637694 2637696 2637700 2637701 2637702 2637703 2637704 2637705 2637706 2637707 2637722 2637725 2637741 2637749 2637751 2637752 2637753 2637762 2637764 2637771 2637777 2637779 2637781 2637783 2637785 2637789 2637793 2637809 2637810 2637811 2637812 2637823 2637827 2637836 2637837 2637838 2637845 2637850 2637854 2637855 2637857 2637858 2637859 2637860 2637861 2637866 2637867 2637870 2637874 2637875 2637876 2637877 2637878 2637879 2637880 2637881 2637884 2637885 2637886 2637887 2637891 2637892 2637893 2637894 2637895 2637897 2637898 2637899 2637900 2637901 2637902 2637904 2637906 2637907 2637908 2637909 2637913 2637914 2637916 2637917 2637918 2637919 2637920 2637921 2637923 2637926 2637928 2637929 2637930 2637933 2637935 2637936 2637937 2637939 2637940 2637941 2637942 2637943 2637949 2637950 2637951 2637952 2637954 2637955 2637958 2637965 2637967 2637969 2637970 2637971 2637973 2637978 2637985 2637986 2637987 2637990 2637991 2637992 2637993 2638001 2638002 2638005 2638007 2638009 2638016 2638018 2638020 2638023 2638027 2638029 2638033 2638034 2638035 2638036 2638039 2638043 2638044 2638045 2638046 2638048 2638049 2638052 2638053 2638055 2638057 2638058 2638063 2638064 2638065 2638067 2638068 2638069 2638072 2638076 2638080 2638081 2638082 2638083 2638084 2638087 2638089 2638096 2638097 2638098 2638099 2638100 2638101 2638102 2638103 2638105 2638106 2638108 2638110 2638113 2638117 2638118 2638120 2638121 2638122 2638124 2638126 2638128 2638134 2638135 2638136 2638137 2638139 2638140 2638141 2638143 2638146 2638147 2638148 2638149 2638150 2638151 2638152 2638153 2638154 2638155 2638157 2638159 2638167 2638168 2638172 2638173 2638174 2638175 2638181 2638184 2638185 2638187 2638192 2638193 2638198 2638199 2638200 2638202 2638203 2638205 2638207 2638208 2638209 2638210 2638211 2638212 2638214 2638218 2638219 2638220 2638221 2638223 2638230 2638232 2638236 2638243 2638245 2638246 2638247 2638248 2638258 2638264 2638265 2638268 2638279 2638280 2638281 2638283 2638284 2638287 2638305 2638309 2638310 2638311 2638312 2638316 2638317 2638318 2638319 2638321 2638324 2638330 2638331 2638332 2638333 2638334 2638335 2638336 2638337 2638338 2638339 2638340 2638341 2638342 2638344 2638347 2638349 2638352 2638353 2638364 2638372 2638374 2638376 2638379 2638390 2638391 2638392 2638393 2638394 2638395 2638402 2638405 2638407 2638414 2638421 2638422 2638429 2638430 2638432 2638434 2638438 2638442 2638444 2638457 2638467 2638469 2638474 2638478 2638479 2638480 2638484 2638486 2638488 2638489 2638491 2638506 2638507 2638508 2638510 2638511 2638512 2638513 2638514 2638515 2638516 2638517 2638518 2638519 2638520 2638521 2638522 2638523 2638525 2638527 2638529 2638530 2638531 2638532 2638536 2638537 2638563 2638564 2638567 2638568 2638569 2638618 2638628 2638629 2638634 2638644 2638647 2638649 2638653 2638658 2638666 2638671 2638675 2638677 2638679 2638680 2638685 2638687 2638689 2638691 2638692 2638693 2638694 2638695 2638696 2638697 2638699 2638701 2638702 2638703 2638704 2638705 2638706 2638707 2638709 2638710 2638711 2638712 2638713 2638714 2638720 2638721 2638725 2638726 2638728 2638731 2638732 2638736 2638737 2638739 2638740 2638741 2638744 2638745 2638747 2638748 2638753 2638754 2638755 2638756 2638757 2638760 2638763 2638764 2638768 2638777 2638781 2638782 2638783 2638791 2638793 2638795 2638796 2638798 2638799 2638801 2638810 2638811 2638813 2638814 2638815 2638816 2638817 2638818 2638832 2638833 2638834 2638835 2638836 2638846 2638847 2638848 2638849 2638850 2638851 2638852 2638854 2638855 2638857 2638858 2638859 2638860 2638861 2638862 2638864 2638866 2638867 2638868 2638869 2638870 2638872 2638873 2638874 2638876 2638883 2638884 2638885 2638893 2638895 2638900 2638923 2638927 2638928 2638929 2638931 2638932 2638935 2638936 2638937 2638939 2638942 2638943 2638949 2638952 2638954 2638955 2638956 2638957 2638958 2638959 2638960 2638961 2638962 2638968 2638976 2638978 2638979 2638980 2638983 2638984 2638986 2638988 2638994 2638995 2638998 2638999 2639001 2639002 2639003 2639006 2639011 2639012 2639013 2639014 2639016 2639017 2639018 2639024 2639025 2639030 2639036 2639038 2639039 2639043 2639045 2639046 2639049 2639055 2639057 2639064 2639066 2639067 2639068 2639069 2639072 2639074 2639076 2639079 2639080 2639081 2639085 2639086 2639092 2639098 2639099 2639100 2639101 2639103 2639104 2639105 2639106 2639107 2639109 2639110 2639111 2639112 2639125 2639128 2639129 2639131 2639132 2639133 2639134 2639137 2639138 2639139 2639144 2639146 2639148 2639149 2639159 2639162 2639164 2639165 2639167 2639177 2639179 2639186 2639187 2639188 2639191 2639196 2639197 2639204 2639205 2639208 2639214 2639217 2639218 2639220 2639221 2639223 2639224 2639225 2639226 2639227 2639230 2639236 2639237 2639238 2639239 2639241 2639242 2639246 2639248 2639260 2639262 2639263 2639264 2639270 2639271 2639292 2639293 2639296 2639298 2639299 2639300 2639302 2639303 2639304 2639305 2639306 2639307 2639308 2639309 2639311 2639315 2639316 2639317 2639319 2639321 2639322 2639323 2639324 2639325 2639326 2639327 2639328 2639329 2639330 2639331 2639333 2639336 2639338 2639339 2639341 2639342 2639343 2639344 2639345 2639346 2639348 2639349 2639350 2639356 2639358 2639359 2639360 2639361 2639362 2639364 2639365 2639367 2639368 2639369 2639370 2639373 2639374 2639376 2639378 2639379 2639381 2639386 2639387 2639388 2639389 2639391 2639394 2639396 2639397 2639398 2639400 2639401 2639404 2639405 2639406 2639409 2639410 2639411 2639412 2639419 2639423 2639426 2639427 2639429 2639434 2639437 2639440 2639446 2639448 2639450 2639457 2639465 2639466 2639467 2639468 2639469 2639472 2639473 2639474 2639475 2639478 2639485 2639486 2639487 2639488 2639489 2639491 2639492 2639495
86
2639497 2639498 2639502 2639504 2639505 2639506 2639507 2639508 2639509 2639511 2639512 2639519 2639521 2639522 2639523 2639525 2639527 2639530 2639542 2639543 2639552 2639553 2639554 2639555 2639559 2639560 2639561 2639563 2639564 2639565 2639567 2639574 2639575 2639578 2639579 2639581 2639582 2639584 2639585 2639586 2639587 2639588 2639589 2639591 2639595 2639596 2639597 2639598 2639599 2639605 2639618 2639621 2639623 2639624 2639627 2639628 2639637 2639638 2639639 2639644 2639647 2639648 2639649 2639650 2639654 2639658 2639662 2639665 2639669 I have some sample date here:
http://www.developpez.net/forums/attachments/p57656d1263922095/bases-donnees/oracle/pl-sql/html-affichage-tableaux-conditions/testcase.zip/
I want to know if it's possible to achieve what I want based on the code here.
I'm working on Application Express 3.1.2.00.02
thanks!!
Roseline -
Please help me to find the sample code and schema for GetDBDateTime.zip fil
Please help me to find the GetDBDateTime.zip and Guest_Book.zip files.
Tks!Does this Help?
http://www.oracle.com/technology/sample_code/products/ias/files/psp/GetDBDateTime/Readme.html
Did you install Oracle9iAS ? -
Flash Builder doesn't rebuild the project everytime I modify the code
Hi,
Flash Builder doesn't rebuild the project everytime I modify the code.
I find myself chasing ghosts when trying to debug my project. Flash Builder 4.0 doesn't rebuild my project after every change I make.
The "Project - Build Automatically" is of course selected. To make sure the problem is real I ran "Project - Build All" several times. Nothing helped.
For example, I am using a boolean constant to select different code in an if block. Even if I change the value of the boolean, When I debug the code, I see that the constant's value doesn't change. Only If I log out login again, FB will rebuild my code.
This happens too many times and it is very confusing to debug, when you don't know if the result now is with or without your changes.
It also affects the following:
- breakpoints that are set or disabled are not taken into account and the debugger will skip them even if they are set or stop on them if they are disabled.
- the debugger stops the debug on empty lines, if those lines previously contained code.
- When I comment out the declaration of variables. Eclipse doesn't recognize them and doesn't show any hint on them when you hold the CTRL key and hover over, but while in debug mode, when you hover over the variable instance, its shows a value for it.
Thanks for your help.
Bye,
RaamEE-ILThe problem is with the SDK settings selected for the Compiler.
Try going to 'Project' > 'Properties' > 'ActionScript Compiler'.
Now, in the 'Flex SDK section', try changing the SDK. Click on 'Apply'.
This will force FB to rebuild all settings for the project.
You can try again. FB should now have started compiling with latest code changes again.
Please Note: This is not a permanent fix though!
In case the problem re-occurs, you'll need to again perform the steps mentioned above to get FB back on track. -
PLEASE HELP ME TO FIND THE SOLUTION REGARDING "LOGICAL SYSTEM CHANGED"
HAI EVERYBODY,
PLEASE HELP ME TO FIND THE SOLUTION REGARDING "LOGICAL SYSTEM CHANGED" during the material master replication by using middleware parameters.
step1 : i have taken SRM client 810 and named it as CHINNISRM
step2 : i have taken r3 client 810 and named it as CHINNIR3
step3: During material master replication i maintained tables like crmconsum,crmrfcpar,crmparoltp in r3 and smofparsfa in srm client and filtered the objects and loaded the objects through r3ac3,r3ac1,r3as.
step4 : And later i have checked in r3 queues to activate the objects,but i have seen a message like "LOGICAL SYSTEM CHANGED:SEE 588701".according to the oss instructions i have checked in CRMPRLS table in se16 in R3 .there i found out there is one logical client named with T90CLNT810.
oss :588701
Solution
There are different cases in which different forms of processing are
required or where several options exist:
- The logical system name of an R/3 Backend client was changed in
current operation. In this case, the data hangs in the outbound
queues of the R/3 Backend system as specified under point 1 of
the symptom. In this case, the logical system name must be
changed back to the original value. Then the outbound queues
can be reactivated. If no data was transferred to the EBP/CRM
server before the change, also a correctioin of the check table
is possible.
- The same logical system name was used again in a new client of
an R/3 Backend system that was linked to the EBP/CRM server. In
this case, the data is in the inbound queue of the EBP/CRM
server with the exception GUID_FOR_LOGSYS_CHANGED. In this
case, the queue entries which have status SYSFAIL must be rejected, however, not the entire queues. If the new client of the R/3 Backend system you have linked has exactly the same
data as the old client and if it is meant to replace the old
client (that is, this was deactivated), also a correction of
the check tables is possible. In this case, the inbound queues
can be reactivated after the correction.
oss:765018
1. If the situation in your system corresponds to the situation described
under "Reason and Prerequisites" and if symptom 1 occurs, you can
delete the table entry from table CRMPRLS table (there is just one
entry). Since there is no maintenance dialog for this table and you
cannot maintain it using transaction SE16, you must use a report to
delete it. This report is attached to this note as correction
instructions.
Create the report ZZ_DELETE_CRMPRLS in your system and copy the source
code from the correction instructions. You cannot implement this
source code using transaction SNOTE.
You can use the report in every plug-in or plug-in basis system, even
if it is not specified in the validity section.
After you have run the report, you can trigger existing queues again
in transaction SMQ1.
2. If the situation in your system corresponds to the situation described
under "Reason and prerequisite" and if symptom 2 occurs, you can
delete the entry from table CRMMLSGUID (there is just one entry).
Since there is no maintenance entry for this table and you cannot
maintain it using transaction SE16, you must use a report to delete
it. This report is attached to this note as correction instructions.
If they do not yet exist, add the following messages to message class SMOF in your logon language:
Message Message short text
303 User &1 is not allowed to change table &2.
304 User &1 IS not allowed to display table &2.
305 Logical system &1 was not found in table &2.
306 System error! The current client was not
found in table T000.
Create the report ZZ_DELETE_CRMMLSGUID in your system and copy the
source code from the correction instructions. You cannot implement
this source code using transaction SNOTE.
You can use the report for every release of the CRM system, even if it
is not specified in the validity section. The only exceptions are CRM
releases with Support Package versions that are too low such as CRM
Release 3.0 with Support Package 12.
After you have run the report, you can trigger existing queues again
in transaction SMQ1 of the R/3 back-end system or transaction SMQ2 of
the CRM system.
so what should i do to do the replication.please suggest me .untill and unless i solve my problem i cant move to the further activity.i hope you people can solve my problem.thanks in advance.
thanks and best regards,
n.chakradharHi chakradhar,
Did you find a solution to your issue? We are facing a similar issue and looking to figure out how this can be resolved.
BR// 420 -
Please help me transform this C++ code to java code....
guys...please help me transform this C++ code to java code....please try to explain the code..thanks
[program]
#include <stdio.h>
#define ALIVE 1
#define DEAD 0
#define SZ 33
int stschk (int ,int );
main()
int s[SZ][SZ], i, j;
for (i=0; i<sz; i++ ) s[0] = DEAD;
for (j=0; j<sz; j++ ) s[0][j] = DEAD;
s[0][1] = ALIVE;
for (i=0; i<sz-1; i++) {
for ( j=1;j<sz;j++ ) {
s[i][j] = stschk(s[i][j-1],s[i+1][j];
if(s[i][j-1]==ALIVE) printf("*");
else printf(" ");
printf("\n");
int stschk(int s1,int s2)
if(((s1==DEAD)&&(s2==ALIVE))||
((s1==ALIVE)&&(s2==DEAD))) return ALIVE;
else return DEAD;Being picky, that's not C++, that's C. Standard headers in C++ dont' have .h after them, loop variables are scoped with the for, you use constants rather than #defines, etc..
C and C++ both don't initialise arrays by default; you'd have to write an initialiser to get it to zero out the array:
int s[sz][sz] = {};gcc will insert a call to memset to zero the array.
If the author was assuming that the array was zeroed out, there would be no point zeroing the first row and column.
The code reads values which haven't been initialised. If you mark such values explicitly undefined, and change the program to report an error when undefined, then you get several cases where the program makes such report.
So either it' s a primitive random number generator (some random number generators use uninitialised memory as a source of randomness), or it's buggy, or it's processing undefined data and throwing away the result. Either way, it cannot be directly be ported to Java if the undefined values (which are limited to a small area of the ouput) are significant. -
Pls help me to modify the query for performance improvement
Hi,
I have the below initialization
DECLARE @Active bit =1 ;
Declare @id int
SELECT @Active=CASE WHEN id=@id and [Rank] ='Good' then 0 else 1 END FROM dbo.Students
I have to change this query in such a way that the conditions id=@id and [Rank] ='Good' should go to the where condition of the query. In that case, how can i use Case statement to retrieve 1 or 0? Can you please help me to modify this initialization?I dont understand your query...May be below? or provide us sample data and your output...
SELECT * FROM dbo.students
where @Active=CASE
WHEN id=@id and rank ='Good' then 0 else 1 END
But, I doubt you will have performance improvement here?
Do you have index on id?
If you are looking for getting the data for @ID with rank ='Good' then use the below:Make sure, you have index on id,rank combination.
SELECT * FROM dbo.students
where id=@id
and rank ='Good' -
I forgot restrictions cod in ipad air1 and don't off it , please help me for recovery this cod
i forgot restrictions cod in ipad air1 and don't off it , please help me for recovery this cod...
Locked Out, Forgot Lock or Restrictions Passcode, or Need to Restore Your Device: Several Alternative Solutions
A
1. iOS- Forgotten passcode or device disabled after entering wrong passcode
2. iPhone, iPad, iPod touch: Wrong passcode results in red disabled screen
3. Restoring iPod touch after forgotten passcode
4. What to Do If You've Forgotten Your iPhone's Passcode
5. iOS- Understanding passcodes
6. iTunes 10 for Mac- Update and restore software on iPod, iPhone, or iPad
7. iOS - Unable to update or restore
Forgotten Restrictions Passcode Help
iPad,iPod,iPod Touch Recovery Mode
You will need to restore your device as New to remove a Restrictions passcode. Go through the normal process to restore your device, but when you see the options to restore as New or from a backup, be sure to choose New.
You can restore from a backup if you have one from BEFORE you set the restrictions passcode.
Also, see iTunes- Restoring iOS software.
And also see How to Recover Forgotten iPhone, iPad Restrictions Passcode. -
Please help me to close the IF blocks.
HI EXperts,
Please help me on closing the IF blocks properly in the below procedure.
CREATE OR REPLACE PROCEDURE sums_proc
Id INTEGER,
mtrname VARCHAR2
mtrtype INTEGER,
AS
state VARCHAR2(10);
accesslevel INTEGER;
asts NUMBER;
mtrtypesql LONG;
sumsql LONG;
BEGIN
SELECT st_name INTO state FROM states_info WHERE st_name = 'KARNATAKA';
SELECT acc_level INTO accesslevel FROM level_table WHERE level_id = 4;
IF (accesslevel = 4) THEN
BEGIN
asts :=4;
END;
ELSIF (accesslevel = 3) THEN
BEGIN
IF (OBJECT_ID('CANN_TABLE') IS NOT NULL) THEN
BEGIN
EXECUTE IMMEDIATE 'DROP TABLE CANN_TABLE';
END;
EXECUTE IMMEDIATE 'CREATE TABLE CANN_TABLE';
END;
ELSE
BEGIN
IF OBJECT_ID('MANN_TABLE') IS NOT NULL THEN
BEGIN
EXECUTE IMMEDIATE 'DROP TABLE MANN_TABLE';
END;
EXECUTE IMMEDIATE 'CREATE TABLE MANN_TABLE';
END;
IF (mtrname IS NULL OR mtrname = '') THEN
mtrname := '';
ELSE
mtrname := 'DEFAULT';
IF (mtrtype > 2) THEN
mtrtypesql := ' AND (mtr = 1) ' ;
ELSE
mtrtypesql := ' AND (mtr = 2) ';
END IF;
IF (mtrtype = 1) THEN
BEGIN
mtrtypesql := 'SELECT SUM(amount) as amount FROM sales_table WHERE sales_type=''SALES''||mtrtypesql';
END;
ELSIF (mtrtype = 2)
mtrtypesql := 'SELECT SUM(amount) as amount FROM margin_table WHERE margin_type=''MARGIN''||mtrtypesql';
END;
IF (mtrtype = 4 OR mtrtype = 3) THEN
BEGIN
mtrtypesql := 'SELECT SUM(amount) as amount FROM margin_table WHERE margin_type=''MARGIN''||mtrtypesql';
END;
ELSIF (mtrtype = 10 OR mtrtype = 15) THEN
BEGIN
mtrtypesql := 'SELECT SUM(amount) as amount FROM revenue_table WHERE revenue_type=''REVENUE''||mtrtypesql';
END;
ELSE
BEGIN
mtrtypesql := 'SELECT SUM(amount) as amount FROM revenue_table WHERE all_type=''ALL''||mtrtypesql';
END;
sumsql := ' SELECT SUM(amount) FROM salesum_table';
EXECUTE IMMEDIATE mtrtypesql || ' UNION all ' ||sumsql ;
IF OBJECT_ID('CANN_TABLE') IS NOT NULL THEN
BEGIN
EXECUTE IMMEDIATE 'DROP TABLE CANN_TABLE';
END;
END IF;
IF OBJECT_ID('MANN_TABLE') IS NOT NULL THEN
BEGIN
EXECUTE IMMEDIATE 'DROP TABLE MANN_TABLE';
END;
END;
Please help me.
Thanks.Hi,
Thanks for your help.
Please help on the error.
ORA-24338: statement handle not executed
CREATE OR REPLACE PROCEDURE sums_proc(
p_Id INTEGER,
mtrname VARCHAR2 mtrtype INTEGER,
P_out OUT SYS_REFCURSOR
AS
state VARCHAR2(10);
accesslevel INTEGER;
asts NUMBER;
countval NUMBER :=0;
mtrtypesql LONG;
sumsql LONG;
v_query LONG;
BEGIN
SELECT st_name INTO state FROM states_info WHERE st_name = 'KARNATAKA';
SELECT COUNT(*) INTO countval FROM level_table WHERE level_id = p_id;
IF countval = 0 THEN
RETURN;
ELSE
SELECT access_id INTO accesslevel level_table WHERE level_id = p_id;
IF (NVL(accesslevel, 0) = 0) THEN
RETURN;
END IF;
END IF;
IF (accesslevel = 4) THEN
asts :=4;
ELSIF (accesslevel = 3) THEN
IF (OBJECT_ID('CANN_TABLE') IS NOT NULL) THEN EXECUTE IMMEDIATE 'DROP TABLE CANN_TABLE';
ELSE EXECUTE IMMEDIATE 'CREATE TABLE CANN_TABLE(SM NUMBER)';
END IF;
ELSE
IF OBJECT_ID('MANN_TABLE') IS NOT NULL THEN EXECUTE IMMEDIATE 'DROP TABLE MANN_TABLE';
ELSE EXECUTE IMMEDIATE 'CREATE TABLE MANN_TABLE(SM NUMBER)';
END IF;
IF (mtrname IS NULL OR mtrname = '') THEN mtrname := '';
ELSE
mtrname := 'DEFAULT';
IF (mtrtype > 2) THEN
mtrtypesql := ' AND (mtr = 1) ' ;
ELSE
mtrtypesql := ' AND (mtr = 2) ';
END IF;
IF (mtrtype = 1) THEN
mtrtypesql := 'SELECT SUM(amount) as amount FROM sales_table WHERE sales_type=''SALES'''||mtrtypesql;
ELSIF (mtrtype = 2)
mtrtypesql := 'SELECT SUM(amount) as amount FROM margin_table WHERE margin_type=''MARGIN'''||mtrtypesql;
ELSIF (mtrtype = 4 OR mtrtype = 3) THEN
mtrtypesql := 'SELECT SUM(amount) as amount FROM margin_table WHERE margin_type=''MARGIN'''||mtrtypesql;
ELSIF (mtrtype = 10 OR mtrtype = 15) THEN
mtrtypesql := 'SELECT SUM(amount) as amount FROM revenue_table WHERE revenue_type=''REVENUE'''||mtrtypesql;
ELSE
mtrtypesql := 'SELECT SUM(amount) as amount FROM revenue_table WHERE all_type=''ALL'''||mtrtypesql;
END IF;
sumsql := ' SELECT SUM(amount) FROM salesum_table';
v_query :=||mtrtypesql || ' UNION all ' ||sumsql ||';
OPEN P_out FOR v_query;
COMMIT;
END;
My requirement is
IF accesslevel = 0 or IF accesslevel is not existed the program should come out.
SO that I have included the below code
SELECT COUNT(*) INTO countval FROM level_table WHERE level_id = p_id;
IF countval = 0 THEN
RETURN;
ELSE
SELECT access_id INTO accesslevel level_table WHERE level_id = p_id;
IF (NVL(accesslevel, 0) = 0) THEN
RETURN;
END IF;
END IF;
I want to send the result set to front so that I have replaced the below statement with
EXECUTE IMMEDIATE 'BEGIN INSERT INTO CANN_TABLE '||mtrtypesql || ' UNION all ' ||sumsql ||';
OPEN P_out FOR v_query;
If I get accesslevel as 0 I am getting error when executing thic procedure.
ORA-24338: statement handle not executed
Please help me.
Thanks.
Maybe you are looking for
-
When to use Set-OutlookProvider?
This seems like a simple question, but I have read articles that seem to confuse the question. If you are NOT using a wildcard cert is there ever a need to set EXPR and EXCH CertPrincipalName? Set-OutlookProvider EXPR -CertPrincipalName msstd:(your e
-
Hi, I have a very simple table (5 rows, 1 of which is the primary key), and want to update the table using a tabular form. On initial display, the primary key column is protected (cannot be changed) which is ok for DELETE and UPDATE options, but when
-
Prevent cancelation of invoices
Hi all, We create invoice lists for many customers from the underlying invoices. The invoice lists DO not carry any pricing in them and don't release to acocunting as standard SAP - only the invoices do. Occasionally, due to very high volume of billi
-
Revert to defalt font in Illustrator?
I've changed my default font to Arial 8pt in Illustrator and saved the New Document Profile. When I create a new file, no problem, but fter working on a file, Illustrator hangs on the last font used (for example, Palm Springs, bold 16pt, 20 tracking
-
CWB: how to add more summary data in the summary section
HI All, We need to add more summary data in the summary section. Some summary data need to calculated dynamically like (summary data A /summary data B). under the worksheet, there is a link: Personalize Dynamic Columns But this link allows to create