안녕하세요!
제가 VA01에서 자재코드를 입력하고 오더수량을 입력했을때 수량이 만개가 넘으면 EXIT되게 걸고 싶은데
VBAP-KWMENG 변수로는 안먹더라구요ㅠㅠ
MV45AFZZ - USEREXIT_MOVE_FIELD_TO_VBAP 에서 수정했는데 혹시 어떻게 하면 오더수량을 제어할수 있는지 알 수 있을까요?
참고로
VBAP-KWMENG, XVBAP-KWMENG, YVBAP-KWMENG, RV45A-KWMENG 다 해봤습니다.
번호 | 제목 | 글쓴이 | 날짜 | 조회 수 |
---|---|---|---|---|
274 | sap table [4] | 최승구 | 2007.07.05 | 4283 |
273 | Number Ranges In Sales Order [1] | kms | 2007.07.23 | 2635 |
272 | Scheduling Agreement 자료 [2] | 소주와 막걸리 | 2007.10.05 | 3701 |
271 | SD테이블구성도 [9] | 꽁꽁 | 2007.10.12 | 4966 |
270 | SAP 용어총괄 [6] | novice | 2007.11.16 | 4189 |
269 | TMS관련자료 [1] | Han | 2008.01.09 | 3628 |
268 | SD summary 자료 [2] | 정현 | 2008.01.14 | 2941 |
267 | UserExit 에 대한 참고 자료 입니다. [9] | kong | 2008.01.24 | 4780 |
266 | Credit Master 에 Open Value Adjust | 파로스 | 2008.01.26 | 3241 |
265 | Pricing 보충자료입니다. [13] | ghkdwnstjd | 2008.02.19 | 3312 |
264 | sd table정리_pdf [7] | 성화봉송주 | 2008.02.22 | 4536 |
263 | sap_xi 소개자료입니다 [4] | 성화봉송주 | 2008.02.22 | 2662 |
262 | SD Total (it may be duplicated) | SAP 초보 | 2008.02.28 | 3547 |
261 | SD overview [3] | 나침반친구 | 2008.03.06 | 3600 |
260 | SD정리 파일이요 [12] | ghkdwnstjd | 2008.03.09 | 3947 |
259 | sd한번 읽어볼만한 정리자료 [43] | 성화봉송주 | 2008.03.12 | 4912 |
258 | drp 개념_1장짜리 | 성화봉송주 | 2008.03.12 | 3752 |
257 | SD Delete Update [2] | 둘리67 | 2008.03.21 | 2963 |
256 | SAP SD Tips [18] | 둘리67 | 2008.03.21 | 3903 |
255 | SD overview [6] | 푸~ | 2008.04.09 | 4003 |
vbep-wmeng도 함께 수정해 주세요.
밑의 링크 참조하세요.
https://archive.sap.com/discussions/thread/2064711
(Unable to change the order quantity value during save of sales order)
Thanks for your time guys. The issue is resolved.
SAP is not triggering the vbap user exit as the order quantity on screen is in structure RV45A.
There are two ways of resolving the issue.
1. Implement the SAP note #513342 - Quantity change and USEREXIT_MOVE_FIELD_TO_VBAP. But, it is SAP modification note.
2. Write the code in VBEP exit of MV45AFZZ. This user exit is called whenever the order quantity is changed. But, it is called multiple times in some cases. Hence, need to write code to limit our code execution only once e.g. maintain a global table with our quantity & uom. Check when the quantity and uom in our table is same as quantity on screen. If not, exit from user-exit.