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

Warning message when creating material

Former Member
0 Likes
2,016

Hi experts,

                  When creating material master and giving value in Purchase Value Key, it shows a warning message "check the value for purchase value key", our client wants to suppress this warning message, that is without a warning message they need to go to next tab.

                  Secondly under forecasting tab in forecast model field, they need to prepopulate an input 'J'. How I can do this in ABAP.

                   Please give your valuable suggestion.

Thanks 

1 ACCEPTED SOLUTION
Read only

VenkatRamesh_V
Active Contributor
0 Likes
1,511

Hi Victor,

Try,

For  passing the default   values  to the field   use Transaction and Screen Variants( T-code SHD0)

View the link.

http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/a070bfbb-d34a-2d10-b092-ecbe0b0d4...

Hope it helpful,

Regards,

Venkat.

7 REPLIES 7
Read only

VenkatRamesh_V
Active Contributor
0 Likes
1,512

Hi Victor,

Try,

For  passing the default   values  to the field   use Transaction and Screen Variants( T-code SHD0)

View the link.

http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/a070bfbb-d34a-2d10-b092-ecbe0b0d4...

Hope it helpful,

Regards,

Venkat.

Read only

0 Likes
1,511

Hi VenkatRamesh, using SHD0, I could only set inputs for the initial screen, that is material, industry sector, material type, change number, copy from material. How to get into the views ( because I need to set the value 'J' in forecast model field under forecast tab).

Read only

0 Likes
1,511

Hi Ben,

Jürgen L is right.

Forget SHDB, what you are trying to achieve is not possible unless you change SAP standard code, which is not recommended.

R

Read only

JL23
Active Contributor
0 Likes
1,511

Defaults can be set using the BADI BADI_MATERIAL_REF

(this Badi is already suggested 207 times in SCN for similar questions, make sure you search before asking)

Read only

Former Member
0 Likes
1,511

Hi Victor ,

As per Venkat Ramesh suggestion , you can do it using the SHD0 ( Screen and Transaction variants ) by providing the default value for the Forecast model field PRMOD or you code for that screen field by finding the suitable  BADI.

Regards,

Anirudh.

Read only

michael_kozlowski
Active Contributor
0 Likes
1,511

a) what's the error message number purchase value key?

b) use BAdI 'BADI_MATERIAL_REF' to set default values

Read only

JL23
Active Contributor
0 Likes
1,511

M3128 is a hardcoded warning message in MM03MI00_DATEN_WERTESCHL