on 01-11-2011 11:28 AM
Hi all,
We have created a data object in NW7.1 and this is a download only data object.
So in the backend adapter we have linked a getlist and a getdetail function.
We also mapped the nodes to the functions.
When we generate the backend adapter and look into the coding of the generated class into the fuction GET_BEDATA we miss the mapping of the getlist output the the input fields of the getdetail.
Normally you loop over the getlist results and then fill the getdetail input parameters inside the loop before cleaning all other parameters. but between the loop at, and the clear function we miss a few lines of coding which should fill the input params of the getdetail.
So I guess we just missed a flag of a short part of the configuration, but I don't know which part.
Can anyone help me whit this issue?
Thanks in advance and kind regards,
Bart Elshout
1. Does the GET DETAIL bapi wrapper have importing parameters?
2. If not, which means Get Details is written for bulk data download. Did you mark Use bulk flag in backend adapter mappings?
Regards,
Siva.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Siva,
My getdetail has two importing parameters:
- FIELD1 (of ABAP type Z_FIELD_1)
- FIELD2 (of ABAP type Z_FIELD_2)
My getlist has 1 table parameter with abap structure Z_STRUC_1.
Z_STRUC_1 contains a 10 fields.
Two of these fields are:
- FIELD1 (of ABAP type Z_FIELD_1)
- FIELD2 (of ABAP type Z_FIELD_2)
So there are a 8 extra fields in the getlist table exporting structure.
This should be possiible, because this is the same as some other example products in our system.
Is this correct?
Regards,
Bart
Hi Bart,
Get Details
- FIELD1 (of ABAP type Z_FIELD_1) ..... Is this referred as STRUCTURE-FIELD?
- FIELD2 (of ABAP type Z_FIELD_2) ..... Is this referred as STRUCTURE-FIELD?
Eg:
- FIELD1 (of ABAP type Z_STRUC_1-FIELD1)
- FIELD2 (of ABAP type Z_STRUC_1-FIELD2)
You need modify the backend adapter once to get these changes. Then activate the backend adapter.
Try like this. Code should be generated.
Regards,
Siva.
Edited by: Siva Satya Prasad Yerra on Jan 11, 2011 7:00 PM
User | Count |
---|---|
81 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.