Check Digit functionality
Friends,
Can someone explain to me the concept of the check digit functionality and how and why this can/should be used? I am working on an assignment for a Utility Company (Gas and Elec) implementing SAP IS-U and the customer is enquiring about using the check digit functionality.
Thanks,
Sameer Aroskar
Check Digit Functionality:
Business agreements are created at the time of move-in / transfer process. These accounts are uniquely identified by a number, the business agreement number. This number is generated by SAP CRM each time a business agreement is created using the internal number assignment. The SAP CRM Business Agreement Number is equivalent to the SAP IS-U Contract Account Number.
A check digit is required to validate that the business agreement number is correct. Furthermore, when used as a payment reference number on the customeru2019s invoice, the check digit will minimize payment errors due to mis-keyed customer reference numbers.
The format of this business agreement account number is 7 digits plus 1 check digit, totaling 8 digits. The CRM business agreement internal number assignment number range will provide the 7 digits and a check digit will be calculated based on this number. An 8 digit contract account number will be created by CRM.
Let me know if you need any clarification.
Regards,
Shiva Kumar
Similar Messages
-
Hello,
Can you please tell me how i can introduce a specific check digit function on the POD ID number? Is there a specific transaction to assign a function module to the transaction EEDM10?
Thanks in advance.Hi,
If you don't have a CRM system and therefore the POD ID are created in ISU:
Go to transaction SMOD (system enhancements), and search for 'EEDM*' components. You will find the list below:
EEDMFO01 IS-U/EDM: Exit for Determination of Calc. Mode for Form
EEDMPI01 IS-U EDM Exit Before Update of Profile Values During Im
EEDMPRF1 ISU EDM: Status Det. in Profile for Longer Interval Len
EEDMUFA1 Usage Factor: Calculation of Consumption Factor
EEDMUI01 IS-U-EDM: Generate and Check External Point of Delivery
EEDMUI02 IS-U-EDM: Generate and Check External Point of Delivery
EEDMUI03 IS-U-EDM: Generate and Check External Point of Delivery
EEDMUI04 IS-U-EDM: Generate and Check External Point of Delivery
One of the Last 4, should have the USER-EXIT that you need for the check on POD ID creation.
If you have a CRM system and you wish to create the Check on CRM, let me know then I will find a solution for you.
KR,
AAL! -
Calculation of container check digit
Dearest All.
i hv a requirement .. i hv to calculate check digit for Conatiners for Export and Import.
i tried a lot but failed.....
the logic is as follow...
Every container-number needs its own check digit. This check digit is the last figure of the container-number, that behind the -.
Of course, you can calculate this check digit yourself.
First start with the prefix. Then there is the number itself.
This is the simplest part of the calculation. Last but not least the calculation:
with an example: OOLU 708695.
Each letter of the prefix has its own value:
A 10 J 20 S 30
B 12 K 21 T 31
C 13 L 23 U 32
D 14 M 24 V 34
E 15 N 25 W 35
F 16 O 26 X 36
G 17 P 27 Y 37
H 18 Q 28 Z 38
I 19 R 29
Each figure of the number has its own value.
1 1
2 2
3 3
4 4
5 5
6 6
7 7
8 8
9 9
0 0
We know that: Now calculate:
O 26 26 X 1 = 26
O 26 26 X 2 = 52
L 23 23 X 4 = 92
U 32 32 X 8 = 256
7 7 7 X 16 = 112
0 0 0 X 32 = 0
8 8 8 X 64 = 512
6 6 6 X 128 = 768
9 9 9 X 256 = 2304
5 5 5 X 512 = 2560
Total = 6682
Of course we can understand if you don't want to calculate all these check digits by hand.
Therefore we made you a little tool.
Enter the container-number as followed: XXXX123456, just try it.
Container-number:
Check digit:
Calculate the check digit Clear the form
Now divide this total by 11:
6682 / 11 = 607,4545
and take the figures after the comma
and multiply it by 11 to get the check digit.
0,4545 X 11 = 5
The complete container-number is:
OOLU 708695-5HEY ,
don't get panic
you can do this
go step by step
if you are aware of Dialog programing then you can do this
OR if you want to do in simple basic report then also it is possible just use your logic .
1) create one module pool
2) create one screen
in screen give one button to get EVENT in PAI
in PAI you can write code
now for
albhabets and there numbers you can ceate either one ztable or you can create one internal table with cloumn
albhabet , value
A 20
B 30
etc
also same for
1 ,1
2,2
3,3
etc
when user will enter this number say OOLT 78432
use spilt function to split the entered string into two string
check the length of BOTH string
using DESCRIBE FUNCTION
NOW UP TO THAT LENGTH
IF LENGHT OF 1ST STRING IS 4
AND LENGTH OF SECOND IS 5
THEN
for 1st character check with albhabet value
get 1st value and multiply with 1
get 2nd and multiply with 2 .
get 3rd and multy with 4 .
and so on .
same for numbers
you can do and
use you logic for other steps
you can do that .
just go step by step how you have explained .
Regards
Deepak.
Edited by: Deepak Dhamat on Oct 9, 2010 8:53 AM -
How to config Check Digits function module for Student Number Validation
Hi SLCM Experts,
In the SAP-SLCM, How to use check digits function module for validate student number. Just only config it or need to customizing program.
*Any idea to student number validation in SLCM?*
Best Regards,
Suvatchai K.Hi ,
Can you expalin it further ?
You configure the St. no in piq_matr . And set it as external or internal no. range which suits your business .
What is the validation you are looking for ?
Regards
Gajalakshmi -
I want to check all functions of PCI 6534.I have read the user manual..I have some memory related questions.Please help me for that.
1.)If i am using the continuous output mode.and the size of generated data is less than 32 MB.If i want to preload the memory,what should i do?I want that first of all i load all my data to onboard memory & then i want to make start the transfer between 6534 & peripheral.Is it possible?As per me it should be.Plz tell me how should i do this?I think that in normal procedure the transfer between 6534-peripheral & outputting data from pc buffer to onboard memory works parallely.But i don't want this.Is it poss
ible?
(2).Similarly in finite input operation(pattern I/O) is it possible to preload the memory and then i read it?Because i think that the PC memory will be loaded automatically when 6534 acquires the data and then when we use DIO read vi the pc buffer data will be transferred to application buffer.If this is true,i do not want this.Is it possible?
(3) One more question is there if i am using normal operation onboard memory will be used bydefault right?Now if i want to use DMA and if i have data of 512 bytes to acquire.How will it work and how should i do it?Please tell me the sequence of operations.As per my knowledge in normal DMA operation we have 32 Bytes FIFO is there so after acquisition of 32 bytes only i can read it.How it will known to me that 32 bytes acquisition is complete?Next,If i want to acquire each byte separately using DMA interrupts what should i do?Provide me the name of sourse from which i can get details about onboard memory & DMA process of 6534 specifically
(4).In 6534 pattern Input mode,if i want to but only 10 bits of data.and i don't want to waste any data line what should i do?Hi Vishal,
I'll try to answer your questions as best I can.
1) It is definitely possible to preload data to the 32MB memory (per group) and start the acquisition after you have preloaded the memory. There are example programs on ni.com/support under Example Code for pattern generation and the 6534 that demonstrate which functions to use for this. Also, if your PC memory buffer is less than 32MB, it will automatically be loaded to the card. If you are in continuous mode however, you can choose to loop using the on-board memory or you can constantly be reading the PC memory buffer as you update it with your application environment.
2) Yes, your data will automatically be loaded into the card's onboard memory. It will however be transferred as quickly as possible to the DMA FIFO on the card and then transferred to the PC memory buffer through DMA. It is not going to wait until the whole onboard memory is filled before it transfers. It will transfer throughout the acquisition process.
3) Vishal, searching the example programs will give you many of the details of programming this type of application. I don't know you application software so I can't give you the exact functions but it is easiest to look at the examples on the net (or the shipping examples with your software). Now if you are acquiring 512 bytes of data, you will start to fill your onboard memory and at the same time, data will be sent to the DMA FIFO. When the FIFO is ready to send data to the PC memory buffer, it will (the exact algorithm is dependent on many things regarding how large the DMA packet is etc.).
4) If I understand you correctly, you want to know if you waste the other 6 bits if you only need to acquire on 10 lines. The answer to this is Yes. Although you are only acquiring 10 bits, it is acquired as a complete word (16bits) and packed and sent using DMA. You application software (NI-DAQ driver) will filter out the last 6 bits of non-data.
Hope that answers your questions. Once again, the example code on the NI site is a great place to start this type of project. Have a good day.
Ron -
How to check if function module exist
Hi All!
Does anyone know how to check if function module, which name is provided by the user, exists?
I have to execute a function but when user provides a incrrect name - i receive a short dump. I would like to chceck if this function exists before execution and if not - warn user with message box.
Thanks
TomekREPORT z_tmtest MESSAGE-ID zz.
PARAMETER: a_fname LIKE tfdir-funcname.
PERFORM test_fun_exist USING a_fname.
FORM test_fun_exist *
Test FM Exists
FORM test_fun_exist USING f_funcname LIKE tfdir-funcname.
CALL FUNCTION 'OM_FUNC_MODULE_EXIST'
EXPORTING
function_module = f_funcname
EXCEPTIONS
not_existent = 1
OTHERS = 2.
IF sy-subrc <> 0.
MESSAGE e001.
ENDIF.
ENDFORM. -
What is the DB2 DIGIT FUNCTION equivalent in ORACLE database. We have done a migration from db2 to oracle and many programs just fails where I encounters digit function. Is there any workaroud or function present in oracle database which makes the program working.
Just share your knowledge .
[email protected]Addendum ...
OK I found what the DIGIT function does.
I am not sure if there is a function in Oracle that maps directly to DIGIT function in DB2
but you can do something like this:
select lpad(replace(to_char(abs(n)),'.'),
(select to_number(data_precision) from user_tab_columns where table_name = 'A' and column_name = 'N'),'0')
from a
In the SQL above n is the column in table A. Data_precision column gets the size of the column.
Option 2:
You could write your own function in Oracle to do what the SQL above does
create or replace function digit (col_val in number, col_name IN varchar2, tab_name IN varchar2) return varchar2
as
v_val varchar2(100);
v_prec number;
begin
select to_number(data_precision) into v_prec from user_tab_columns where table_name = upper(tab_name) and column_name = upper(col_name);
v_val := lpad(replace(to_char(abs(col_val)),'.'),v_prec,'0');
return v_val;
end;
Then use the function as follows:
select digit(n,'N','A') from a
Shakti
http://www.impact-sol.com
Developers of Guggi Oracle - Tool for DBAs and Developers
Message was edited by:
skgoel -
How to activate uni code check in function pool.
hi experts,
how to activate uni code check in function pool.
pls give needy
regards,
praveenhi praveen,
for every report we can check unicode flag in the attributes.
function pool is also a type report.
for classes it is not possible to enable directly.
for this we have TCODE UCCHECK.
enable it by using above. -
Hello From google, i came to know that, CHECK FIELDS functionality is not available for SAP WebDynPro for ABAP in perspective of Interactive Forms, its availabel only for SAP WebDynPro JAVA stack. But, as per our busienss requirements, i need to have the similar functionality on our form, 1) Do i need to write the script explicitly on the form? 2) To get CHECK FIELDS validation functionality for all the fields on the form (its around 67 subForms and 158 fields) in one shot ( meaning, user pressess it at the end after filling all the fioelds on the form), then, where i need to write my code/script, is it on the form as script? 3) If so, at wht level i have ti write, is it each subForm level? or each PAGE level? or MASTER PAGE level? Thank you
Hi,
Presuming it is an interactive form, it would be faster and relatively easier if you could have a single validate button on your abap web dynpro screen and perform all validations (since you have backend connectivity too, you could validate against master data) in ABAP itself..
Regards...Amith -
EAN/UPC check digit creation with Direct Input
Hi Experts,
I am working on Material data transfer using Direct Input. Requirement is to update the EAN/UPC for each Alt. UOM in Additional data view of Material master.
Further we need to set Indicator for automatic Determining the check digit for EAN .
I got Direct IP structure BMMH8 and BMMH6 for transfeering this data but didnt got Indicator field which I can set to automatic determining the check digit for EAN
Please let me know how to pass indicator for finding the check digit automatically while creating materials using Direct Input method.
Thanks in Advance...
<i>-Harkamal</i>Hi,
Thnaks for your reply, This is my requirement.
Here my problem is i am trying to upload the data from flatfile which contain materil number, denominator, Actual UOM, Nominator field values.
Which is the data i need to upload into MM02 and MM01, if material number is new then it has to create the material, if material is already existing it has to update the UOM values.
here i am getting data into my internal table INP_DATA, from that i am trying to upload the data to database by using job name MRP_MATERIAL_MASTER_DATA_UPLOAD with direct input program RMDATIND.
when i execute my program i am getting success message all the records writtin from flatfile to application server. and job started message.
then if i go into sm37 screen there i execute the job it is also giving active message. if i refresh it it is showing job completed message.
then i look at job log status. there i found that for existing material it is expecting material type, for new material it is giving some gravity error.
So could u help me in this it will be gr8.
Thanks & Regards,
RamNV -
Conc Request to check the functionality
Hello ,
Is there any conc request which checks out the functionality of the whole application(All the implemented modules) post patching?
I believe i heard about this conc request in a webinar by oracle corp.
Regards,
SRKAfter applying family packs for any module , is there any conc request which will check the functionality of the application?No.
for e.g after applying the FIN.G family pack, we do have some test cases which will ensure the functionality of the application.we do test each and every test case manually.is there any conc request available in 11.5.10.2 to check the application's functionality automatically?This testing has to be done by the Functional Analysts.
You could also run the diagnostics scripts -- E-Business Suite Diagnostics 11i Test Catalog [ID 179661.1].
Thanks,
Hussein -
YM-Check out functionality error
Hi Guys
We are facing one issue in Yard management that Check out functionality is in to disable mode even after loading completion and vehicle moved from Door to Check point. Is there any specific thing missing in this case..
Please help on this
Thanks in advance
SAP MMHi,
Is your Veh Type Group assigned to the Location Type and what is the allowd qty on this location? See config under YM: Location Determination and Scheduling --> Define Location Type - Vehicle Type Group Relationships.
Hope this helps,
Hein -
Check Status Functionality - Timing out
Hi,
We are facing issues with the "Check Status" functionality. When we click on " Check Status", the system clocks and then times out.
Is it something to do with performace tuning? Any pointers will be really helpful.
Regards,
Upendra.Hi Yann,
Thanks for the quick reply.
The issue is not with the shopping cart creation. When we click on the "Check status" functionlaity after the shopping cart is created, the system takes a long time to give the desired result.
There is no dump in the system. Its just that the system is taking a very long time to display the desired result.
Regards,
Upendra. -
The check digit of the IBAN is outside of the valid range 02-98
Dear Gurus,
My user has to create some master data for intermediate bank processing OR bank chain setup.
From previous colleagues' manual and some historical samples, no IBAN is needed to put.
However, when I create a new one or change the old one, IBAN is required.
T-code: FIBPU
1. Put Vendor + Company Code
2. Double click that vendor
3. highlight the selection and go to bank chain assignment
4. Choose Type(2 - intermediary bank) // Corr. Country(NL) // Corr. Bank Key // Bank Acc // IBAN
While IBAN is originally BLANK, but once i press enter, an error msg comes up:
The check digit of the IBAN is outside of the valid range 02-98
Please let me know how it can be solved. Thank you very much.
NicholasHi Amitash,
I checked Table T005, there are only 12 countries with "bank data" checked.
I also think the customization in OY17 is not related to my problem, as my problem is not related to particular countries.
I have checked SAP note 1477691 as well, however, this sap note is to allow set IBAN as mandatory field.
What I want is to set IBAN as an optional field.
Thank you very much for your efforts!
B.R.
Nicholas -
How to achieve Check point functionality in SSIS with out using check point.
I got question from
interview!!! How
to achieve Check
point functionality in SSIS with out using check point. If package
fails it has to be re-run from the point that it failed instead
of rerunning the entire package.without
using check point.
Please
any one can explain step by step...Sorry you have failed your interview question. Good thing you remembered it, thought about it, and ask a question about it. The solution is actually very straightforward.
Create a table to store the state of your progress. Before each step read the table to find out where left off, then skip each completed step. After each step write to the table which step you have completed. A step can be anything, a task, a component,
a row, an import file, an export file. You don't have to use a table, it could also be a file, just something you can read and write, and does not disappear when your package stops.
If you find this difficult to comprehend, think of a checklist of things you do everyday and work from there.
Maybe you are looking for
-
Hi Community, I need you assistance on an issue I'm facing. The remote server returned an error: (401) Unauthorized. The remote server returned an error: (401) Unauthorized.) I'm connecting to a web service (userprofileservice.asmx) to auto populate
-
I bought a voucher/iTunes card in Ireland because I live there now, but I want to buy an album that exists only in the German iTunes Store. Any ideas what I can do? The voucher code seems to depend on the counrty and I can only spend the credit in th
-
I was trying to update my calendar this morning by adding some Google calendars and after I added the account, iCal crashed. I quit and relaunched and now nothing works. The calendar list is completely gone and the application won't allow me to add a
-
In the NI-5640R Instrument Driver API Examples for the Modulation Toolkit what is the mode of operation of the DAC/DUC(AD9857)
-
What about if I want to compile a run form on the web with oracle forms 6i. The only thing I need to do is Run form on the web and thats all? Where must I place the files? and which files? The clients needs some software installed?