Enhancement: MB1A Item Price Check

Source: Internet
Author: User


Form:pickup_ausfuehren This is the field check in the logical flow of Mb1a Pai

Where the form begins:

IFMseg-matnr is  not INITIAL  andMseg-bwart ='531'. DATA: s_msegTYPEmseg. DATA: Lv_stprsTYPEmbew-Stprs, Lv_verprTYPEmbew-VERPR. DATALv_message ( -)TYPEC.CLEAR: Lv_stprs,lv_verpr,lv_message. SELECT  SingleStprs VERPR into(LV_STPRS,LV_VERPR) fromMbewWHEREMATNR = Mseg-matnr andBwkey = mseg-Werks. IFLv_stprs is INITIAL  andLv_verpr is INITIAL. concatenateLv_message'Item:'Mseg-matnr'Price is 0'  intoLv_message. MESSAGELv_messageTYPE 'E'. ENDIF.ENDIF.

field can be directly F1, see the corresponding screen field, here with temporary variables, and is defined in the conditions, is not standardized, I hope you do not learn ^_^

Let's talk about this enhancement process:

First find Badi, the user export. You can use the enhanced Find tool in the previous article.

If not, find an implicit enhancement:

On the screen F1 find the corresponding program, and screen, field-level check in Pai to find a place.

If it's a comprehensive or saved check, look at what form you're going through when you save it ... This is a more painful egg.

Enhancement: MB1A Item Price Check

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.