ABAP顾问
分类:
2007-10-08 11:18:10
leetz2010-08-14 08:40:00
UPDATE (SELECT A.lgort, C.lgort AS NEW_lgort FROM resb A, aufk B, zpplrzjkc C WHERE B.MANDT = A.MANDT AND B.aufnr = A.aufnr AND c.prctr = b.prctr and c.werks = a.werks and c.matkl = a.matkl and A.rsnum = '1441027' and a.matnr = '2010020097' ) SET lgort = NEW_lgort 前面那个字段表写错了,是这个。 但还是报错
leetz2010-08-14 08:31:16
UPDATE (SELECT A.LGORT, B.LGORT AS NEW_LGORT FROM RESB A, AUFK B, ZPPLRZJKC C WHERE B.MANDT = A.MANDT AND B.AUFNR = A.AUFNR AND C.PRCTR = B.PRCTR AND C.WERKS = A.WERKS AND C.MATKL = A.MATKL AND A.RSNUM = '1441027' AND A.MATNR = '2010020097' ) SET LGORT = NEW_LGORT 这个语句提示错误