Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

ABAP CODE HELP

Former Member
0 Likes
354

HI FRIENDS,

I WANT CREATE A START ROUTINE IN UPDATE RULES TO FILTER OUT TWO FIELDS WITH A SELECTION :

MY TWO FIELDS ARE

Yacc_SEQ = ´ZROO´ .

0PRICE_LIST = ´ ´ . (EMPTY)

AND

I WANT TO DERIVE 3 FIELDS LIKE 0CUSTOMER, 0SALESORG, YLEG_ENTITY FROM A MASTER TABLE INFOROBJECT NAMED Y_CUST_LE

I AM REALLY NEW TO ROUTINES, PLEASE SOMEONE HELP ME WITH THE ABAP CODE FOR THE ABOVE REQUIREMENTS.

HELP IS APPRECIATED (URGENT)

POINTS BE FULLY AWARDED

THANKS IN ADVANCE

VEER

2 REPLIES 2
Read only

Former Member
0 Likes
324

HI ,

Are these two field a part of the table INFOROBJECT?

if they are, you can write a select statement like :

select 0CUSTOMER 0SALESORG YLEG_ENTITY

from INFOROBJECT

into Y_CUST_LE

where ( Yacc_SEQ <> ´ZROO´ and

0PRICE_LIST <> space).

Hope this helps.

If not, please explain problem clearly.

Read only

Former Member
0 Likes
324

Hi,

you can try this..

select ocustomer
       osalesorg
       yleg_entity 
    from y_cust_le
    into table it_cust
where yacc_seq = 'ZROO'
   and OPRICE_LIST = '' .

Regards

vijay