2007 Apr 04 12:30 PM
2007 Apr 04 12:33 PM
hi Khan - do u mean BDCDATA.
if yes, the components are:
program - program name
dynpro - screen number
dynbegin - first screen number
fnam - name of the field
fval - value of the field
Let me know is this what you wanted
Praveen
2007 Apr 04 12:33 PM
hi Khan - do u mean BDCDATA.
if yes, the components are:
program - program name
dynpro - screen number
dynbegin - first screen number
fnam - name of the field
fval - value of the field
Let me know is this what you wanted
Praveen
2007 Apr 04 12:35 PM
Hi,
Check this one.
The messages are stored in internal table, which you specify along with MESSAGE statement. This internal table should be declared like BDCMSGCOLL, a structure available in ABAP/4. It contains the following fields:
1. Tcode: Transaction code
2. Dyname: Batch point module name
3. Dynumb: Batch input Dyn number
4. Msgtyp: Batch input message type (A/E/W/I/S)
5. Msgspra: Batch input Lang, id of message
6. Msgid: Message id
7. MsgvN: Message variables (N = 1 - 4)
For each entry, which is updated in database, table message is available in BDCMSGCOLL. As BDCMSGCOLL is structure, you need to declare a internal table which can contain multiple records (unlike structure).
Plz. Avoid Duplicate Threads.
Hope this resolves your query.
Reward all the helpful answers.
Regards
2007 Apr 04 12:35 PM
Hi Saddam
The fields in the BDCDATA structure are as follows:
PROGRAM
Name of the program. Length (8). The PROGRAM field is not case-sensitive. Set this field only in the first record for the screen.
DYNPRO
Number of the screen. Length (4). Set this field only in the first record for the screen.
DYNBEGIN
Indicates the first record for the screen. Length (1). Set this field to X only in the first record for the screen. (Reset to ' ' (blank) for all other records.)
FNAM
Name of a field in the screen. Length (35). The FNAM field is not case-sensitive.
FVAL
Value for the field named in FNAM. Length (132). The FVAL field is case-sensitive. Values assigned to this field are always padded on the right if they are less than 132 characters. Values must be in character format.
Hope this helps !!!
Britto