Application Development 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: 

EXIT for Partner Function Address screen non editable in VA01 and VA02

Former Member
0 Kudos

I need a user Exit which can help me in making 'Partner Function Address Information' screen non editable in VA01 and VA02.

You can check the field by following the steps mentioned below:

1) Goto VA02.

2) Select a order number and press "select" button.

3) You will be able to see some line item and sub-line items.

4) Double click on the material number of the Sub-line item.

5) Among the TAB's visible, select the "PARTNERS" TAB.

6) You will be able to see a table control with "Partner function" & "Partner"

as first & second columns.

    • Double click on the "Partner" field, now you will be able to see the

"address from master data" screen. This screen should also be made non - editable.

it is smililar to one of the previous posts : -

but it doesnt have satisfactory results.

Thanks and regards,

Rohit Gupta

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hello Rohit,

Please try to check the feasiblity of BADI, ADDRESS_SUBSCREEN. I think this is the BADi which is calling during this particular subscreen,

The BAdi Interface contains 4 methods

ADDR_APPL_SUB_PBO_EXPORT Data Export PBO

ADDR_APPL_SUB_PBO_IMPORT Data Import PBO

ADDR_APPL_SUB_PAI_EXPORT Data Export PAI

ADDR_APPL_SUB_PAI_IMPORT Data Import PAI

Also please note that it is filter dependant BADi, in my system it is showing non-editable screen and this Badi is implemented here

Hope this will solve your problem

regards,

Antony Thomas

5 REPLIES 5

Former Member
0 Kudos

Hello Rohit,

Please try to check the feasiblity of BADI, ADDRESS_SUBSCREEN. I think this is the BADi which is calling during this particular subscreen,

The BAdi Interface contains 4 methods

ADDR_APPL_SUB_PBO_EXPORT Data Export PBO

ADDR_APPL_SUB_PBO_IMPORT Data Import PBO

ADDR_APPL_SUB_PAI_EXPORT Data Export PAI

ADDR_APPL_SUB_PAI_IMPORT Data Import PAI

Also please note that it is filter dependant BADi, in my system it is showing non-editable screen and this Badi is implemented here

Hope this will solve your problem

regards,

Antony Thomas

0 Kudos

Hi Antony ,

Thanks for your reply.

I tried implimenting this Badi but couldnt, cause of its filter dependency.

I am not getting how to impliment it and what to provide as filter Badi.

This is first time I am working on Badi.

Can you help me with implimentation.

You said that the screen is uneditable in your case and it has been already implimented.

If possible can you guide me with the same. (mostly with coding part)

Thanks,

Rohit

0 Kudos

Hi Rohit,

Have you tried to create an implementaion for this BADi, tell me the problems that you are facing now.

you have to click f4 to get flter values, these values are coming from table TSAPPLSUB.

Please check the entires in this table. In my system following are the entires.

FM_CUST_ADDR Address Extension Customer IS-PS

FM_VEND_ADDR Address Extension Vendor IS-PS

TEAN_HAUST Example Implementation for Animal Lovers

Now as per your requirement you can select one of this filter value.

For your info, if your address subscreen is customer related then filter value will be FM_CUST_ADDR, so control will go through the implementaions with FM_CUST_ADDR as filter value.

Try to create an implementation and try some coding here.

If still you are facing problms, will look into that.

Thanks and Regards,

Antony Thomas

0 Kudos

Hi Antony,

I created one implimentation too but because of some reason its not triggering.

I cant figure out the problem. I tried putting breakpoints on already existing BADIs but they too were not trigering.

Thanks a lot for all your responses, they were really quick and helpedme alot.

(Just for Knowledge purpose of other readers)

Today I found a new BADI, 'ADDRESS_SEARCH'.

I have created a Implimentation for that too and its triggering.

But I dont have required fields for making Partner Profile Address screen non editable.

Though it can be used for other purposes.

Solution :

Include name : LV09CF70

Create an implicit Enhancement. at top and bottom.

top


if sy-tcode eq 'VA01' or sy-tcode eq 'VA02'.
     MESSAGE 'Working fine for va01 and va02' TYPE 'S'.
     gvs_tc_parameters-active = space.
    endif.
 

and

bottom


if sy-tcode eq 'VA01' or sy-tcode eq 'VA02'.
     MESSAGE 'Working fine for va01 and va02' TYPE 'S'.
     gvs_tc_parameters-active = 'X'.
    endif.
 

If you dont create bottom enhancement then you will make Partner Profile tab uneditable along with Partner Profile address info.

Thanks and regards,

Rohit.

0 Kudos

Hello,

I am also trying to do same sort of implementation of making the sold to or ship to partner address page non editable when user tries to change address from quote or contract. Please help me if you have any solution.

Thanks,

Edited by: Sid Kumar on Sep 7, 2010 2:17 PM