Custom Code for Scrambling
Hi,
How/where can I define the custom code for scrambling?
The SAP Scrambling guide does not give any details where I can define these, it only gives code examples
I did find transaction codes CNVMBTTWB and CNV_MBT_RULES but these are not working (kicking me out the transaction as soon as I try to create something). And these are TDMS 3.0 related.
Anyone an idea how to do this? Is there a guide for TDMS 4 somewhere? Didn't found it so far.
Kind regards,
Johnny
Hi all,
I still got issues with the custom code for scrambling.
Has anyone a good document about this and please do not refer to the SAP ones since for me they are not helpful in this case.
I have created the custom program but when I test it via the scrambling rule, I receive a 'NULL' error (which is strange)
Also, if I execute my scrambling flow, it gets stuck in phase 'Preparations for data scrambling' with error FORM xxxxx does not exist.
The form was created in the Control system.
What am I missing here?
Cheers,
Johnny
Similar Messages
-
Custom code for Flat file reconciliation on LDAP
Hello,
I have to write a custom code for flat file reconciliation on LDAP as the GTC connector wasn't working entirely.
Could someone help me out with this.. How do i do this ??
Thanksflat file reconciliation on LDAPWhat do you mean by Flat File on LDAP ?
If you want to create Flat File connector then search google for reading a flat file using Java.
Define RO Fields and do mapping in Process Defintion. You can use Xellerate User RO for Trusted Recon.
Make a map of CSV that and Recon Field
Call the Reconciliation API -
Custom code for Target Source Reconciliation from a flat file
Hi Experts,
I need help in writing a custom code for Target Source Reconciliation from a flat file to OIM. The flat file will contain account details for different application instances. I am working on 11gr2.
Thanks,
SubinAll right, all right, not so quickly.
I am at the stage of trying to put one dimension
array. But I stuck in one place, this is the program:
import java.io.*;
public class FromFile {
public static void main(String[] args) throws IOException {
File inputFile = new File("mac.txt");
FileReader in = new FileReader(inputFile);
int c;
for(int i = 0; i < 10; i++) {
c = in.read();
System.out.println(c);
and I try to read: 1 2 3 4 from text file
This is the result so far...
49
32
50
32
51
32
52
-1
-1
-1
well,
I think I know what's wrong. I must change ASCII numbers into
ints. But I dont' know how to do it. Some nice book, or
tutorial on streams would come in handy. Could you correct
it?. -
SSRS custom code for count in Report Footer
Hi All,
Please help me with the custom code used for below requirement
Debtor Name current 30+days 60+days 90+days
aaa 7000 0.00 0.00 10.00
bbb 5000 0.00 20.99 3.00
ccc 1000 0.00 0.00 0.00
Expected result in report footer :
0 1
2
if the value of 30+ , 60+ and 90+ columns >=1 then i have to display the count in Report footer,for that i have tried using a custom code like below :
Shared Dim OD As Integer=0
Public Shared Function Test(ByVal OP As Decimal) As Integer
If OP >= 1 Then
OD = OD + 1
Else
OD = OD
End If
Return OD
End Function
and using below code to display
Code.Test(Overdue)
but when i use this code in report footer is not displaying correct value.Please guide me where i am going wrong.
Please let me know if you need any other details.
Thanks in advance,
Samhith.Hi Samhith,
Per my understanding you what to count the rows which values >=1 and display them at the bottom of the table, you are trying to use the custom code to do this but failed, right?
I have tested in my local environment and find the custom code is not correctly, and I have an alternative method which is more easy and can work in both table and matrix.
As Vaibhav Chaudhari also mentioned that we can use the CountDistinct function, but more correctly, we can use the count() function and the RunningValue() function, because CountDistict will not count the duplicated values if they >=1.
Please find the expression as below:
=Count(IIf(Fields!Yourfield.Value>=1 , Fields!Yourfield.Value, Nothing))
OR:
=RunningValue(IIf(Fields!Yourfield.Value>=1 , 1, Nothing),Sum,"DataSetName")
If you still have any problem, please feel free to ask.
Regards
Vicky Liu -
Trying to determine what is normal for custom sql and plsql within 11i. I am trying to find out what other 11i installations are using in regards to custom code. Are you using the all tables or using the views utilizing setclient_info. Any feedback would be appreciated.
Note: We have converted to multi-org and are setup as a single organization.
Thanks, IraHi,
Using views or table are depend upon the requirement of clinets and implementation.
If one need to access multiple tables, its always good to have a view and access that... else its same to access view or table...
Thanks
Yogi -
Custom code for LOV generation in Custom.pll
Hi All,
I am using the custom in my custom application, I am using the following procedure in Custom.pll for LOV generation. When I use the same procedure standalone then it's working fine, But when I use it in Custom.pll then it's giving me the Error "No-Data-Found", please let me know what to do. I am assuming that it can't find the appropriate backend table, I am logging in through sysadmin/sysadmin, Also I have fully followed the procedure for Table registration and Synoym creation and assiging it to apps but even then it's giving me the above mentioned error.
procedure event(event_name varchar2) is
rg_id RECORDGROUP;
query_string VARCHAR2(2000);
crnt_item VARCHAR2(60) := name_in('SYSTEM.CURSOR_ITEM');
crnt_type VARCHAR2(30) := GET_ITEM_PROPERTY(crnt_item, DATATYPE);
-- Omit crnt_hint if not context sensitizing the LOVs.
crnt_hint VARCHAR2(30) := SUBSTR(GET_ITEM_PROPERTY(crnt_item,
HINT_TEXT),
INSTR(GET_ITEM_PROPERTY(crnt_item,
HINT_TEXT), ':') + 2);
begin
IF event_name = 'WHEN-NEW-BLOCK-INSTANCE' THEN
IF (form_name = 'FRM_EXPATIENTMASTER' and block_name = 'REG_EXPATIENTMASTER' and item_name = 'DEFENCECODEFK')
then
crnt_item := SUBSTR(crnt_item, (INSTR(crnt_item, '.') + 1));
query_string := 'SELECT DISTINCT reg_defencecategory.defencecodepk'
|| ' AS holder_value '
|| ' FROM hms.reg_defencecategory'
|| ' ORDER BY 1';
IF NOT ID_NULL(FIND_GROUP('generic_lov_rg')) THEN
DELETE_GROUP('generic_lov_rg');
END IF;
rg_id := CREATE_GROUP_FROM_QUERY('generic_lov_rg', query_string);
SET_LOV_PROPERTY('generic_' || crnt_type || '_lov',
GROUP_NAME, rg_id);
IF FORM_SUCCESS THEN -- >From "IF" to "END IF" may be omitted
-- if not context sensitizing the LOVs.
SET_LOV_PROPERTY('generic_' || crnt_type || '_lov',
TITLE, 'Available ' || crnt_hint || ' values');
SET_LOV_COLUMN_PROPERTY('generic_' || crnt_type || '_lov',
1, TITLE, crnt_item);
END IF;
LIST_VALUES;
/* IF name_in('control.holder') IS NOT NULL THEN -- Holder is set to null in Lov_Btn WBP trigger
COPY(name_in('control.holder'), crnt_item); -- Depends upon implicit conversions for non character
-- datatype values (in this example, NUMBER and DATE). Create a 'holder' for/of each datatype
-- required to avoid implicit conversions.
END IF;*/
end if;
end if;
exception
when no_data_found then
message('No Data Found, try Again');
null;
end event;Hi John,
I got the same issue. Is yours being resolve yet?
Can you share the solution.
Thanks. -
How to get value in previous column and another row from Matrix with Custom Code?
I want to calculate the value of tb_Open and tb_Close. I try to use custom code for calculate them. tb_close is correct but tb_Open is not correct that show value = 0 .
This is example report:
* I have 2 Dataset , Dataset1 is all data for show in my report. Dataset2 is only first Open for first month
* First value of Open is item field in Dataset2 and this value only for first month (january). But for other month Open value get from Close in previous month.
Detail for Red number:
1. tb_Open -> tb_Close in previous month but first month from item field in Dataset2
expression =FormatNumber(Code.GetOpening(Fields!month.Value,First(Fields!open.Value, "Dataset2")))
2. tb_TOTAL1 group on item_part = 1
expression =FormatNumber(Sum(CDbl(Fields!budget.Value)))
3. tb_TOTAL2 group on item_part = 3 or item_part = 4
expression =FormatNumber(Sum(CDbl(Fields!budget.Value)) + ReportItems!tb_TOTAL1.Value )
4. tb_TOTAL3 group on item_part = 2
expression =FormatNumber(Sum(CDbl(Fields!budget.Value)) - ReportItems!tb_TOTAL2 .Value)
5. tb_Close -> calculate from tb_TOTAL3 - tb_Open
expression =FormatNumber(Code.GetClosing(ReportItems!tb_TOTAL3.Value,ReportItems!tb_Open.Value))
My custom code:
Dim Shared prev_close As Double
Dim Shared now_close As Double
Dim Shared now_open As Double
Public Function GetClosing(TOTAL3 as Double,NowOpening as Double)
now_close = TOTAL3 + NowOpening
prev_close = now_close
Return now_close
End Function
Public Function GetOpening(Month as String,NowOpen as Double)
If Month = "1" Then
now_open = NowOpen
Else
now_open = prev_close
End If
Return now_open
End Function
Thanks alot for your help!
Regards
Panda ALooks okay to me.
Perhaps the variables should be declared as public (?) -
Strange problem with NWDS - Custom code vanishes!
Hi all:
I am very much new to SAP NWDS world. I have got background in core Java coding and now trying to pick up the Java WebDynpro for which I am practising some examples in SAP NWDS.
I have got a Java WebDynpro application with 2 views. In the implementation tab of one view I am trying to put in some custom code for the function :
public void wdDoInit()
//@@begin wdDoInit()
//@@end
However after I hit the Save all metadata button, the custom code vanishes and the function wdDoInit() goes back to the initial form ( shown above ). As a result I cant save the custom code.
Any help with this issue?
Cheers!
Thanks
AnindyaYes that's what I thought. But couldn't really find any forum on WebDynpro Java. So I put it in the NetWeaver Platform forum!
Thanks and regards,
Anindya -
OpenSource code for accessing Life Science data sources?
We know that many people use Oracle in Life Sciences. Per IDC, Oracle has a 75-80% market share in "Discovery". Oracle would like to help facilitate the exchange of customer code for accessing LS data e.g from GenBank, SwissProt, etc., but Oracle Legal concerns prevent us from posting customer's code on our web site.
Does anyone have any LS code that is based on Oracle that they are willing to share with others on say SourceForge.net? Is there any location where people are already posting this type of Oracle-based open source code?Please go to SourceForge.net at http://sourceforge.net/projects/oraclelifesci/. Subscribe the mailing list or join the project development. To contribute codes you can chose one of the following:
1. If you would like to use CVS or you need shared development by others, you can use cvs in sourceForge.net to upload your code.
2. email your code to [email protected]
You may also use other facilities that sourceForge has. It only take a couple hours in the beginning to known SourceForge.net.
We welcome codes in all programming langages (Java, Perl, PL/SQL, C, etc) for life science applications on Oracle Platform. Thank you.
Joshua Li , San Diego Supercomputer Center/UCSD -
Hi,
How can we debugged the report which has custom code built for the varialbe. How will we get this custom code. I mean at what way we can find this code to debug.
Regards
dyuthiYou can check the custom code for variable in
SE38 program : ZXRSRU01
You can also come to the above code using CMOD as shambu said.
To debug :
You can set breakpoint in the code and execute your query using RSRT.
Hope this helps.
Edited by: Praveen G on Sep 23, 2008 4:24 AM -
Need help with API and sample code for checking a user's rights on a folder
Hi All,
I am working on an UCM integration where user supplies a folderpath (ucm folders), and a file is later uploaded to this location.
Since a user can provide a folderpath where he has only Read Access or no access at all, we are trying to work out a way to pre-check his permissions on the folder.
Since we have Entity Security enabled, we have 5 security fields to rely on Account, Security Group, User Access List, Group Access List, Role Access List.
Writing custom code for this security check is second on our agenda.
Firstly, we wish to know the API and sample code that typically performs this Security Check in UCM.
We could find intradoc.shared.SecurityUtils which has methods to check security on SGroup and Account, but we couldn't find anything for:
1) Overall security check
2) ACL security check on top of sgroup and account security checkAny ideas anyone?!
I am looking forward to some pointers here. :( -
How to query a dataset using custom code in report builder 3.0
Hi,
Can anyone please suggest whether it is possible to query a dataset by using custom code in report builder 3.0.
Thanks in advance.Hi Purbasha,
please see below similar thread:
https://social.msdn.microsoft.com/Forums/sqlserver/en-US/9af8f39a-9dc5-49ab-91af-2f64198c8477/ssrs-2008-custom-code-for-database-query
https://social.msdn.microsoft.com/Forums/sqlserver/en-US/440ff5de-1c21-47de-95d8-e4212d6cef6d/dataset-in-custom-code-in-sql-server-reporting-services?forum=sqlreportingservices
swallow -
Hi,
My client has a set of customers who buys both PRODUCTS & SERVICES from my client. However, my client has set separate credit limits, one for PRODUCTS & one for SERVICES for such customers. Given this scenario, is it necessary to create 2 customer codes for each such customer or is there a way out using one customer code for such customers? Plz suggest.
It should be noted that there is a single Business Area for my client.
Thanks in anticipation,
RyanHi Prashant,
Thnx for the lead, thou I am yet to reach the destination. When I enter the invoice for the customer, the credit needs to be checked. In which field do I incorporate this risk category thing to differentiate between products and services?
Thnx,
Ryan -
When I try to enter codes for digital movie downloads it tells me "code redemption is temporarily unavailable. Try again later." Customer support has been no help. Anyone else have this problem?
Am sick of going back and forth with what has turned out to be worthless customer support. Have sent them so much info and pictures, no help. All they do is send me links for instructions on how to redeem the codes. I know how to redeem, I have redeemed at least 50 codes. To them I am obviously an idiot though. To me it seems to be a problem on their end, but can't get an answer from them on why it is telling me code redemption is unavailable. Please help! Anybody!Confirming my suspicions with every passing hour. Support on this forum is non-existent like the support from Apple support. But, you got my money now... why would you care?
-
How to disable a custom designed Tx code for multiple user at a time
Hii ,
I have designed a screen in module pool for end user to make entries in the screen and when he saves the data is saving in standard table and ztable. the main field in the screen is Batch number..from that batch number bag number will be generated. and consumed quantity will be saved in that bag no.Bag number will be generated like first 5 digits of batch number and bag number series of that batch number. for example if batch number is 12345 and already 5 times packing is done for same batch..last bag number in the ztable will be 123450005.so next time when user tries to pack using same batch number the new bag number will be 123450006 for batch 12345.Problem here is when user tries to make enrties in that Tx code and at the same time if another user opens same Tx code to make packing for same batch both of them are getting same bag numbers before saving.
I have called Enqueue and Dequeue FM's but still at a time for same batch user is able to do the packing.now my issue is i want to restrict 2 user to use same batch while packing in that Tx code.
I have written following code for enqueue and dequeue technics
data: B_matnr type mara-matnr,
B_charg type mchb-charg.
data : i_temp type TABLE OF zpackhdr WITH HEADER LINE,
i_temp1 type TABLE OF zpackhdr WITH HEADER LINE.
move : 1110 to WA_BCH-werks,
chk_matnr1 to WA_BCH-matnr,
v_bcharg to WA_BCH-charg,
vgrade to WA_BCH-grade,
new_batch to WA_BCH-bagno,
m_baleno to WA_BCH-baleno,
b_date to WA_BCH-indat.
APPEND wa_bch to i_bch.
clear b_date.
READ TABLE i_bch INTO wa_bch INDEX 1.
B_MATNR = WA_BCH-matnr.
B_CHARG = WA_BCH-bagno.
concatenate B_matnr B_charg into
WA_BCH-objek respecting blanks .
modify I_BCH from WA_BCH index sy-tabix.
CLEAR: B_MATNR,
B_CHARG.
call function 'ENQUEUE_EMMCH1E'
EXPORTING
MODE_MCH1 = 'E'
MANDT = SY-MANDT
MATNR = WA_BCH-MATNR
CHARG = WA_BCH-BAGNO
if sy-subrc <> 0.
endif.
call function 'DEQUEUE_EMMCH1E'
EXPORTING
MODE_MCH1 = 'E'
MANDT = SY-MANDT
MATNR = WA_BCH-MATNR
CHARG = WA_BCH-CHARGI do understand what u say...mine is a custom designed screen...when i open that screen i have around 15 input fields in which batch is obligatroy...when i give batch and hit enter all the other fields will be filled automatically picking from the table which are relevant for that batch..for example..material,order etc are picked from table...and bag number field will be generated taking first 5 digits of batch and followed by 0001 if its afirst time entry for that batch....so when a user is opening that screen in 2 different windows and giving details without saving any of the screens...in both screens bag number is generating as 001...and when saving it ..its saving 2 entries with same bag number...so i have created a lock entry for afpo table taking order field...so when a user opens 2 screens with same batch...and giving entries in those 2 screens without saving..he is getting same bag numbers as 001.....now when user saving the first screen and coming to second screen to save...he is gettimg message 'ORDER CURRENTLY BEING PROCESSED'..but after the data gettng saved in first screen,then when he saves the second screen it is getting saved...with same bag numbers as 001.so my issue is here...when he saves first screen and comes to second screen to save it the user should get that error message and should come out of the screen....so that he can make a fresh entry for that batch and bag number will be generated as 002 for that batch...
Regards,
venkat.
Maybe you are looking for
-
how do I install CS5 extended on my new iMac? I have read to download trial version then add in serial number - but I cannot find a trial version of CS5 extended.
-
Change Itunes display from albums to songs?
When I downloaded the new version of ITunes(11.0.2.25) for my PC it displays all the music in albums, I would like to display the music a songs . Can't find the menu item to do that? Thanks
-
Not a recognized Help Project File
I need to address two problems which together have me 'dead in the water'. First, I am unable to open any RoboHelp HTML Project file. Attempting to do so produces the following message: The file "filename.xpj" is not a recognized Help Project file an
-
Automatic Workflow for Exporting
Hi all. I am a teacher who has to write lesson plans. Because I work in a PC district and use pages to write my plans, every week I have to do the same thing 3 times (once for each class): 1. Type the plans in pages 2. Click share in the menu bar 3.
-
Right margin (1/2") of iPod screen unresponsive to touch-Fix?
the right margin (about 1/2" inch) of my iPod 4th gen doesn't respond to touch. Anyone know why - anyone suggest a fix? Already tried a "restore" - it didn't work. However, for a brief while yesterday it was responsive. Now it's not again.