안녕하세요!
제가 VA01에서 자재코드를 입력하고 오더수량을 입력했을때 수량이 만개가 넘으면 EXIT되게 걸고 싶은데
VBAP-KWMENG 변수로는 안먹더라구요ㅠㅠ
MV45AFZZ - USEREXIT_MOVE_FIELD_TO_VBAP 에서 수정했는데 혹시 어떻게 하면 오더수량을 제어할수 있는지 알 수 있을까요?
참고로
VBAP-KWMENG, XVBAP-KWMENG, YVBAP-KWMENG, RV45A-KWMENG 다 해봤습니다.
번호 | 제목 | 글쓴이 | 날짜 | 조회 수 |
---|---|---|---|---|
254 | top 10 user exits in SD [18] | Walter | 2010.05.11 | 5299 |
253 | SD에서 자동으로 회계문서 생성시 궁금한점 [2] | SAP너이늠 | 2013.06.18 | 5278 |
252 | [SD] 주기적으로 생성하는 판매오더.. [1] | 낡은기타 | 2012.04.16 | 5268 |
251 | Delivery order 생성 시 재고 유무를 체크해서 생성하는 부분이 어디에 있을까요? IMG에 있나요? [2] | helllow | 2012.01.26 | 5240 |
250 | 견적송장(Proforma Invoice) 취소방법? [4] | 모포 | 2012.03.02 | 5216 |
249 | s/o 생성시 입력한 환율이 빌링문서상에서는 적용되지 않습니다. [1] | 하루에천원 | 2012.04.30 | 5192 |
248 | SD 시험 자료 [13] | 테스트 | 2010.07.19 | 5156 |
247 | SD의 마스터데이터와 관련하여 초보질문합니다. [3] | crystal | 2013.01.15 | 5155 |
246 | SD TABLE 모음입니다. [13] | 호호호 | 2010.09.16 | 5140 |
245 | 영업 오더의 손익센터 인식 관련하여... | 홍이 | 2012.04.04 | 5136 |
244 | SAP GTM [8] | 둘리67 | 2009.06.17 | 5119 |
243 | [re] SD-SAP 관련 교재입니다.. (TSCM60,62) | 바보사랑 | 2011.03.17 | 5072 |
242 | sd설명. [7] | 김기욱 | 2008.11.13 | 5001 |
241 | SD테이블구성도 [9] | 꽁꽁 | 2007.10.12 | 4969 |
240 | SD교재토탈 [35] | skna | 2007.04.26 | 4941 |
239 | sd한번 읽어볼만한 정리자료 [43] | 성화봉송주 | 2008.03.12 | 4914 |
238 | SO 바피로 생성시 미완료되는 문제.. | 설리 | 2013.03.12 | 4873 |
237 | SD개요 [18] | 둘리67 | 2009.06.17 | 4820 |
236 | SDSLS | 소주와 막걸리 | 2007.03.31 | 4813 |
235 | EDI IDOC 관련 질문입니다~ | 사이몽 | 2011.12.26 | 4791 |
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.