‎2008 Jan 25 8:33 AM
Hi expert,
I'm new in SAP, I created a new matchcode id for an existing matchcode object (YSEH) , now the object hv 2 id,
exsiting object id is A, B is the new one
existing coding :
SELECT-OPTIONS:
so_mbrno FOR V_mbrno MATCHCODE OBJECT YSEH,
so_name1 FOR V_name1
I want to use object id B for v_name1
how to code it ?
Regards,
Janice
‎2008 Jan 25 10:23 AM
Dear Janice,
From my understanding:
i think you have a matchcode which is being referred by two matchcode ID's say A and B.
B matchcode Id contains A.
You want your select options to use B matchcode.
The same scenario i have developed and here is the solution and expected answer.
I have created a elementary search help ( matchcode ) called zview_inst. i have copied that search help ( matchcode ) in to another id called zview_inst2.
CODE:
tables: t095a.
select-options: so_accd for t095a-ktogr matchcode Object ZVIEW_INST,
so_accd2 for t095A-ktogr matchcode object ZVIEW_INST2.
I have two fields on the screen which uses two diff matchcode ID's but which in turn refers to single matchcode ID.
Hopefully this will help you.
Please reward points if its useful or gives you some idea.
Any doubts please revert back