cancel
Showing results for 
Search instead for 
Did you mean: 

Restriction on custom fields based on transaction types

Former Member
0 Kudos

Hi Friends

I have added 15 custom fields at header level on web ui by using AET.Next i have to make those fields to display only for 4 Transaction types in Sales order and 4 transaction types in Sales Quotation and 3 transaction types in Sales contract....  i guess this can be done by Object type and sub object type but i dont know how to do this..

can any one help me out how to achieve this....?  if any one help me out it will be more helpfull for me  friends.........

Regards

Sandys

Accepted Solutions (0)

Answers (2)

Answers (2)

former_member198837
Active Participant
0 Kudos

Hi Sandya,

You can add the sub-object type in call back class registered in SPRO settings of the corresponding object  in defining UI Object Type.

In the Call back class we can add the sub-object type in method:

IF_BSP_DLC_OBJ_TYPE_CALLBACK~GET_OBJECT_SUB_TYPES.

Regards,

Karthik.

Former Member
0 Kudos

Hello,

You have to create the object type in customizing (in the area of UI-framework).

You have to create a new configuration for this object type.

You have to enter this coding in DO_CONFIG_DETERMINATION:

    set_config_keys( iv_object_type = 'X' iv_propagate_2_children = abap_false ).

Best regards,

Thomas Wagner

Former Member
0 Kudos

Hi Thomas Wagner,

Thanks for your reply

i have one doubt

if i follow the steps which were sent by you in the above reply i can restrict at the level of object type...right? can we use same Object type for sales order, sales Quotation and sales contract...etc

what about Subobject Types(process types )

here i need to restrict based on Process type.. Thomas...

Can you give me clear idea...

Regards

Sandya

Former Member
0 Kudos

Hello Sandya,

The field is called object type but you can add any value you wish to it. So you are quite flexible. Concerning adding sub-object-types this was handled in another way. I have forgotten how. I think there was a program to add them as there is no function in SPRO and I think there were other threads about this.

Best regards,

Thomas Wagner

Former Member
0 Kudos

Hello Sandya,

The field is called object type but you can add any value you wish to it. So you are quite flexible. Concerning adding sub-object-types this was handled in another way. I have forgotten how. I think there was a program to add them as there is no function in SPRO and I think there were other threads about this.

Best regards,

Thomas Wagner