on 05-08-2006 3:10 PM
Hi,
I create a generic data source through infoset and I have a customer enhencement for a fild call company, which is not come from the infoset table. Can I put it in data selection? Or only the field from the inforset file can be in data selection?
Thanks
Hi Victor,
Only fields belonging to the extract structure (for that DataSource) can be used as selection-fields. If 'Company' is not coming from the InfoSet you have to add it there or (if not possible) see if you can add the field to the Extract structure (see table ROOSOURCE, possibly a ZOXD* structure) and populate it through a user-exit (CMOD).
Hope this helps!
Regards,
Marco
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Victor,
First look if this field is filled in RSA3 when you make selection on the other fields. If it is not filled or your ABAP code is not correct or you have the flag on Hide in RSO2. If it is filled look at the format of the field, and try to insert one of these values in RSA3 selection (maybe you are not writing the values in the correct way).
Try to send your data in PSA and check again the format of the field, if it is logically fill.
Ciao.
Riccardo.
Hi there,
The reason you got right result without input company code was that you code is not responding to the selection field. Check your code for selection field. as long as you put compnay code 1000, your code is in action and it went blank back, you didn't code it yet(company code is not initial -> your code......).
Hope this helps.
Weidong
BTW. To appreciate people to answer your question is assign points to them. Good lcuk!
Hi there,
The example code:
loop at c_t_data
If not c_t_data-comp_code(may not eaxctly the same as your field name) is initial.
In the User Exit "EXIT_SAPLRSAP_001" I guess you are suing. Look at the tables. There are 4 tables. You have to code to fill the table "C_T_DATA" by certain slection options. In your case it is company code.
modify c_t_data.
endif.
In this way, you get only the data back which the ompany code is provided.
Hope this is clear enough.
Weidong
Hi Victor,
If you have inserted this field in DataSource (RSO2), you have the enhancement in CMOD of R/3, and you are referring to selection in InfoPackage, the answer is yes, you can use this filed for data selection.
Ciao.
Riccardo.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi there,
You need add field to your infoset. hope this helps.
Weidong
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
94 | |
11 | |
10 | |
9 | |
9 | |
7 | |
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.