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

Changes to the VA01

Former Member
0 Likes
984

Hi.

i have Requirement to change the VA01.

herer, while creating the SO, user will give the sold-to-party and PO, after he enter this to values, one pop-up should come with all ship to party details regarding to the sold to party.

how to solve this,

Regards.

Sreenu

Hi.

i have Requirement to change the VA01.

herer, while creating the SO, user will give the sold-to-party and PO, after he enter this to values, one pop-up should come with all ship to party details regarding to the sold to party.

how to solve this,

Regards.

Sreenu

7 REPLIES 7
Read only

Former Member
0 Likes
954

Hi,

You can use Includes MV45AFZZ or MV45AFZB of program SAPMV45A to meet the requirement.

The Includes are actually User Exits. There are a lot of For routines which can be used for your purpose.

You can try using FORM USEREXIT_MOVE_FIELD_TO_VBKD of Include MV45AFZZ or FORM USEREXIT_CHECK_VBKD USING US_DIALOG of Inlcude MV45AFZB. Both these form routines are called when any activity is done on the second screen of VA01/VA02/VA03 transactions.

Hope the above data helps.

Regards,

Abhisek.

Read only

0 Likes
954

Hi.

Thanks to your reply,

may i know how to differentiate the sold to party and ship to party from kana1 table.

Read only

0 Likes
954

Hi

Use FM CUSTOMER_PARTNERFS_GET to Get partner functions for a given customer and from there

you can get ship-to-party details.

Regards,

Raju.

Read only

0 Likes
954

Hi.

Today i got some changes in my requirement,

they want only disable the ship to party, meins only out put.

( in VA01 i have to chenge some thing like ship to party)

Regards.

Sreenu.

Read only

0 Likes
954

Please [don't forget forum rules|https://wiki.sdn.sap.com/wiki/display/HOME/RulesofEngagement] :

- "Only One Question Per Posting" (Step 2)

- "If someone keeps asking questions without awarding points, simply stop answering them or use the abuse button to report it" (Step 5)

Read only

0 Likes
954

Hi Sreenu,

You can use FORM USEREXIT_FIELD_MODIFICATION of inlcude MV45AFZZ of Program SAPMV45A to meet your requirement.

Hope this helps.

Regards,

Abhisek.

Read only

Former Member
0 Likes
954

Hi Sreenu,

Explore with include MV45AFZZ. In this include you can find subroutine userexit_move_field_to_vbak. In this subroutine check whether sold-to-party and PO values are filled. If they are filled then call a pop up screen created by you (Call Screen statement) which contains ship-to-party values. After user selects any value from this pop-up then pass this to ship to party of field of VBAK structure. May be for pop up screen you have to design screen and PBO and PAI logic. This is basic idea. Hope it helps.

All the Best,

Ramesh.