2008 Feb 18 10:29 AM
Hi All,
In table CDPOS, field TABKEY is combination of some values..
Now my requirement is to get the type value from tabkey n check it with EKKO-SPRAS.
eg.
Tabkey = 060010000077200010101 E
now here i want to check Whether E = EKKO-SPRAS..
So please help me with to split.
Thanx in Advance,
Amruta.
Hi All,
In table CDPOS, field TABKEY is combination of some values..
Now my requirement is to get the type value from tabkey n check it with EKKO-SPRAS.
eg.
Tabkey = 060010000077200010101 E
now here i want to check Whether E = EKKO-SPRAS..
So please help me with to split.
Thanx in Advance,
Amruta.
2008 Feb 18 10:34 AM
CDPOS-TABKEY holds a combination of field values which represent a unique key to the data record that has been changed.
If you take the value in CDPOS-TABNAME, then lookup the primary key for that table in SE11, you should be able to define a structure where you can move the contents of TABKEY and then access them by field name.
Cheers
Thomas
2008 Feb 18 10:34 AM
in cdpos tabkey
first 3 characters contains client
next 10 characters contains document no like sales order / po
next 6 characters contains line item no
next 4 characters contains schedule line no.
next 1 character is language key
now u need to check 22nd character for spras
check this
if u have any doubt u can ask again
rewards points if useful
Madhavi
2008 Feb 18 10:35 AM
Hi,
check the value of SPRAS in tabkey as follows..
use Tabkey+22(1) = EKKO-SPRAS in IF stmt.
Rewarrd points if useful
Chandra
2008 Feb 18 10:45 AM
| User | Count |
|---|---|
| 6 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |