cancel
Showing results for 
Search instead for 
Did you mean: 

Informatoin on Adding New Field in Quotaiton

Former Member
0 Kudos

Hi

Can any one help me out in suggesting the best possible Way / Process to fix r the follwoing requirement Please..

CMPGN_ID field can be populated in the Sales Order / Quotations item sales Tab.?

CMPGN_ID is basically a condition table in table A172 and is with Material Combination.

Also need you to check whether the same can be used to be determined for any Condition which has this access sequence (A812) in Sales documents?

Thanks..

Edited by: Medhaphani on Jul 28, 2011 2:05 PM

Edited by: Medhaphani on Jul 28, 2011 2:08 PM

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

In order to add the custom fields to the Additional Data B data you would need to extend the structures of the VBAK/VBAP tables . The add data B tab is provided by SAP to create the customizations.

You need to add the custom field in this screen 8459 so that the screen displays the additional field characteristics (headings). Now you need to save the custom field value in table VBAP (item level table of sales order). Use a Z field in VBAP. Next part is the creation of a userexit so that the value is taken from the screen and saved in VBAP. For that you need a coding in USEREXIT_MOVE_FIELD_TO_VBAP.

Header level:

1. Add the custom field in VBAK through append structure

2. Modify the screen 8309 of SAPMV45A to add your custom fields

3. Write the logic in subroutine 'USEREXIT_MOVE_FIELD_TO_VBAK' of include MV45AFZZ to populate the value.

Item level:

1. Add the custom field in VBAP through append structure

2. Modify the screen 8459 of SAPMV45A to add your custom fields

3. Write the logic in subroutine 'USEREXIT_MOVE_FIELD_TO_VBAP' of include MV45AFZZ to populate the value.

In both of subroutine global internal table and structures are available,where you can pass the values.

Check the OSS note 302497

Regards,

Saju.S

Former Member
0 Kudos

Thanks Saju

For your detailed reply , will work out & come back if any issues are there..

Answers (3)

Answers (3)

Former Member
0 Kudos

Thanks For your valuable information.

Former Member
0 Kudos

HI,

SAP Note 302497 - Additional cust. fields not displayed in 'Additional data B'

SAP Note 386694 - Additional data not displayed in screen 8459 and 8309

SAP Note 420546 - Additional data B and transaction variants in sales order

Regards,

Saju.S

Former Member
0 Kudos

Hi,

You can add this field in additional data tab B

You can able to use the table in access sequence too

Kapil

Former Member
0 Kudos

Dear Kapil

Thanks for your reply ..Can you please be bit clear in your second piont.