on 12-21-2014 7:52 AM
Hi Anju,
This is actually part of ABAP coding, which is also being supported by Dynamic Actions (as you may know, dynamic actions are actually ABAP code which can be interpreted.
The command "P0367-AECD0+15(1)='X'" means that the system will place the value 'X' in the 15th position of P0367-AECD0 field.
The number in brackets define how many characters of the value will be used, e.g., if we would have written "P0367-AECD0+15(2)='XYZ'", then on the 15th position the system will write the characters XY.
Regards,
Liran
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi anuj,
Here we are overwriting the value for the field AECD0.
Example:
P0367-AECD0='ABCDEFGHIJKLMNOPQRSTUVWXYZ'.
Here 15th character contains value 'P', we are going to replace as 'X' using the below statement.
P0367-AECD0+15(1)='X'
Explaination:
P0367 - Structure
AECD0 - Field
15 - represents the place at where we going to do the change
(1) - Length of the string
'X' - Value we are assigning to the field
after the above statement executed, the value is changed as
P0367-AECD0='ABCDEFGHIJKLMNOXQRSTUVWXYZ'.
Regards
Rajkumar Narasimman
User | Count |
---|---|
86 | |
7 | |
6 | |
4 | |
3 | |
3 | |
3 | |
3 | |
3 | |
2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.