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

Screen Exit for VA01

Former Member
0 Likes
1,940

Hi Techies,

I have the requirement to add the new fields in Sales Order(VA01) at item level. I searched for the Screen exits for this, but i didt find any. Is there any Screen exit for this? I need to add the fields at sales item level after entering the order type.. please light me on this issue

Thanks and Regards,

Muralirkishna

Edited by: kishan P on Nov 9, 2010 7:17 PM

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,894

Hi Murali,

You can add your own fields in VA01 @ item level in the Additional Data B tab. For that you have to add the fields in subscreen 8459 of program SAPMV45A. Append structure to VBAP to save the data.

Also read SAP Notes 209278 & 302497

Thanks & Regards,

Fahyeem.

Hi Techies,

I have the requirement to add the new fields in Sales Order(VA01) at item level. I searched for the Screen exits for this, but i didt find any. Is there any Screen exit for this? I need to add the fields at sales item level after entering the order type.. please light me on this issue

Thanks and Regards,

Muralirkishna

Edited by: kishan P on Nov 9, 2010 7:17 PM

14 REPLIES 14
Read only

Former Member
0 Likes
1,895

Hi Murali,

You can add your own fields in VA01 @ item level in the Additional Data B tab. For that you have to add the fields in subscreen 8459 of program SAPMV45A. Append structure to VBAP to save the data.

Also read SAP Notes 209278 & 302497

Thanks & Regards,

Fahyeem.

Read only

0 Likes
1,894

Hi Fahyeem,

Thank you for reply. As for my knowledge before doing this exit, I have to add the fields in item table at CI include is it correct?

But in item table (VBAP) there is no Custom Include. So how can I add and update the data into that. Can you light me on this.

Thanks and Regards,

Muralikrishna

Read only

0 Likes
1,894

Hi

U need to create an APPEND structure in VBAP and add your z-fields there

Max

Read only

0 Likes
1,894

Hi Max,

Thank you for reply. As per my knowledge when ever we implement the Screen exit, there should be a Custom Include in table(VBAP), but there is not Include in VBAP

Thanks and Regards,

Muralikrishna

Read only

0 Likes
1,894

Hi Murali,

Generally, for customer exits SAP provides includes starting with CI_. But this is a user exit, you have to append a structure starting with ZZ directly into VBAP and use those fields in the subscreens.

Thanks & Regards,

Faheem.

Read only

0 Likes
1,894

Hi Faheem,

I thought it is Screen exit. After creating the fields in VBAP can I update the data in table for that fields by writing the INSERT statement?

Thanks and Regards,

Muralikrishna

Read only

0 Likes
1,894

Hi

Transactions VA01/2/3 use the an old concept of screen-exit, so there's no enhancement for it, there are 2 subscreens defined in SAPMV45A, and any enhancement strcuture for VBAK and VBAP, but it needs to use the APPEND structure

Max

Read only

0 Likes
1,894

Hi

I thought it is Screen exit. After creating the fields in VBAP can I update the data in table for that fields by writing the INSERT statement?

No you have to fill VBAP headerline (just for your Z-fields only), their will be updated automatically in the standard process to update that table

Max

Read only

0 Likes
1,894

Hi Murali,

Never ever use INSERT/MODIFY/UPDATE statements. Just use the Z fields from the appended structure in the subscreen 8459. Say your Z field is VBAP-ZZ123 then use the same field in the subscreen, system will take care of the updation part.

Thanks & Regards,

Faheem.

Read only

0 Likes
1,894

Hi Faheem,

No need to write the code in PBO and PAI events for 8459 screen?

Thanks and Regards,

Muralikrishna

Read only

0 Likes
1,894

Hi Murali,

Yeah,to update the data you don't need to write the code any where.

Thanks & Regards,

Faheem.

Read only

0 Likes
1,894

Hi

If you use VBAP-ZZ<field> to design the subscreen you don't need any module in PBO/PAI, the headeline of VBAP will be automatically filled as soon as the user will insert a data there.

But if you need to do some validation, then you need to create a MODULE in PAI for the check

Max

Read only

0 Likes
1,894

Hi Faheem,

I have created the fields in screen and in table, but my SD consultant ask me that two fields can be transfer to another tcode which is in PP module. It will take care by system or I have to do coding?

Thanks and Regards,

Muralikrishna

Read only

0 Likes
1,894

Hi,

Solved the issue.