当前位置:网站首页>EWM receiving ECC delivery note verification logic problem
EWM receiving ECC delivery note verification logic problem
2022-07-28 01:14:00 【51CTO】
Let's get dry :
Production opportunities to a problem ,EWM Follow ECC Integrated .
stay EWM Take delivery , Trigger ECC Post .
EWM Finished receiving ,ECC When checking , Found no success .
then SMQ2 see Qrfc, It's the one I wrote last time debug The methods mentioned in the series .
Check the error report :

negative , Where did the negative number come from ,
Want to VL33N Check the document , result dump, It should be that negative numbers are not allowed in that field , On display dump 了 .

Then look at it LIPS and LIKP surface , A negative number was found in the gross weight field .
Because delivery orders are created through interface transmission , The interface over there is out of control , Resulting in a negative number , I don't know how to write it in .
Then check the corresponding ECC BAPI:
SPE/INB_DELIVERY_CONFIRM_DEC

Then go to debug Looked at the , The method of locating the wrong position is the simplest and crudest

then F8 F8 Just watch it , We can locate the position soon

Then we were in Q The system is simulated :
It is also a delivery note from the interface , Gross weight negative ,EWM Take delivery , Find out ……
Q There is nothing wrong with the system , and lips The negative number of the table is also automatically changed to EWM The positive number passed .
This is strange , Why? P There's a problem with the system ,Q Is no problem ?
Is there any code that hasn't been transmitted ?
Later I compared P Systems and Q These two data of the system .
Find out P The system has multiple line items , And it's a partial receipt , Only one line was received , And the normal line item with a positive gross weight , Then I made a mistake .
and Q Data is a single line item , Just this line item , And the gross weight is negative .
Then redo the data ,Q The last three line items , The gross weight of two of them is negative , A gross weight is a positive number . Then receive the goods for the three line items respectively .
The problem reappears ……
Then I tried again , Multiple line items , There are negative numbers , And then receive the goods together , No problem ,EWM The transmitted data will be overwritten ECC Negative gross weight .
That means ,ECC Multiple line items , If EWM When you receive the goods , Send data , The data transmitted shall prevail , If it doesn't come , Will take ECC Internal data , Then participate in the verification .
The location is here :

WS_DELIVERY_UPDATE_2
VBPOK_INTERFACE_CHECK

The final treatment is also simple ,EWM When receiving goods at the front desk , Receive the negative line items first , Or if all the goods are received together , It will be directly covered .
If the front desk cannot handle , Just put... Here vbpok_tab The data in the table ,debug Change the negative number when , Then continue to execute .
边栏推荐
猜你喜欢

共创文旅新篇章|新起典与国华文旅签订战略合作协议

Cross desktop web container evolution

福特SUV版“野马”正式下线,安全、舒适一个不落

The cooperation between starfish OS and metabell is just the beginning

Redis cache penetration breakdown and avalanche

Resolved Unicode decodeerror: 'UTF-8' codec can't decode byte 0xa1 in position 0: invalid start byte

I/O设备的基本概念及分类

C语言程序设计 | 单身狗题目讲解

DEMO:测试接口短时间内接收重复数据创建单据

Srv6 debut
随机推荐
Go 语言变量
File system mount
浏览器视频帧操作方法 requestVideoFrameCallback() 简介
Basic concept and classification of i/o equipment
Branch and loop sentence exercises
【C语言入门】ZZULIOJ 1026-1030
0-1 knapsack problem
范德蒙德卷积 学习笔记
Deepening the concept of linear algebra [23] 01 - points coordinate points and vectors vectors
C language programming | single dog topic explanation
Shell系统学习之循环结构
Matlab drawing - points and vectors: method and source code of vector addition and subtraction
Code random notes_ Hash_ 1002 find common characters
吴雄昂发内部信:Arm的指控是莫须有的,现有成果不允许有任何损害!
学习笔记12:Eratosthenes筛选法求素数(100以内) 和 魔方阵
Starfish Os打造的元宇宙生态,跟MetaBell的合作只是开始
Operator depth anatomy
mysql查询条件字段值末尾有空格也能查到数据问题
Fabric2.4.4 version building process (complete process)
Sign up now | cloud native technology exchange meetup Guangzhou station has been opened, and I will meet you on August 6!