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: 

zfields in VBAP for additional tab A and B--user exits?

Former Member
0 Kudos

Hi Guys,

Q1.I am working on a SD requirement where I am adding zfields in VBAP and that needs to be avialable in additional tab A and B. Which are the user exits that I can use to populate these zfields with my PBO and PAI codes?

Thanks in advance.

Shankar.

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Thanks for info.I happened to know this documentation.

MV45AOZZ /MV45AIZZ -- it says are installation specific modules that needs to be implemented for PBO and PAI.I am looking for a tip from a fellow abapper who has appended fields to VBAP and used them. My question is can modify the --additional tab A/B screen and write my PBO and PAI and put my code in MV45AFZZ? If so where?

save_document_prepare?

Thanks,

Shankar.

4 REPLIES 4

RichHeilman
Developer Advocate
Developer Advocate
0 Kudos

Check out some of this documentation.....

http://help.sap.com/saphelp_46c/helpdata/en/64/72369adc56d11195100060b03c6b76/frameset.htm

click User Exits, User Exists in Sales, User Exits in Sales Document Processing

Regards,

Rich Heilman

Message was edited by: Rich Heilman

Former Member
0 Kudos

Thanks for info.I happened to know this documentation.

MV45AOZZ /MV45AIZZ -- it says are installation specific modules that needs to be implemented for PBO and PAI.I am looking for a tip from a fellow abapper who has appended fields to VBAP and used them. My question is can modify the --additional tab A/B screen and write my PBO and PAI and put my code in MV45AFZZ? If so where?

save_document_prepare?

Thanks,

Shankar.

0 Kudos

You can modify those screens. Put your PBO modules in the MV45AOZZ include. Put your PAI modules in the MV45AIZZ include. Put any forms in the MV45AFZZ include.

It looks in our system that you will be modifing the XVBAP in the PAI of the screen.

I think that XVBAP then latter modifies the VBAP record on the database.

<i>

<b>User exits in the screens</b>

Additional header data is on screen SAPMV45A 0309, additional item data on screen SAPMV45A 0459. These screens contain the Include screens SAPMV45A 8309 or SAPMV45A 8459 as user exits.

Fields which are also to be included in the sales document for a specific installation should be included on the Include screens for maintaining. If an application-specific check module is needed for the fields, this can be included in the Include MV45AIZZ. The module is called up in the processing logic of the Include screens.

For field transports, you do not have to make changes or adjustments.

Example

A new field, VBAK-ZZKUN, should be included in table VBAK.

If the check is defined via the Dictionary (fixed values or check table) the field must be included with the fullscreen editor in the Include screen SAPMV45A 8309. In this case, no change has to be made to the processing logic.

</i>

Message was edited by: Rich Heilman

0 Kudos

Hi Rich,Thanks a lot for your detailed reply.

regards,

Shankar.