Simply put, you don't.Either design your BDC using the standard screen size (which can vary), or use the navigation features in the transaction to get the line you need to enter to the top of the table control.Some examples are for example, POPO in Purchase orders, SORT in CO02 (or is it C011...) and so forth.Here's an example. The code removes unwanted line items from an order:Code: Select all** Now loop round the P/O and delete all of those that we don't want* Loop at t_ekpo.** Keep this P/O Line item ?* MOVE SY-TABIX TO W_POPO. PERFORM ZBDC_SCREEN USING 'SAPMV50A' '0270'. PERFORM ZBDC_FIELD USING 'BDC_OKCODE' '=POPO'. PERFORM ZBDC_SCREEN USING 'SAPMV50A' '0111'. PERFORM ZBDC_FIELD USING 'RV50A-POSNR' W_POPO. PERFORM ZBDC_FIELD USING 'BDC_OKCODE' '/00'. Read Table t_vl31_asn with key ebeln = t_ekpo-ebeln ebelp = t_ekpo-ebelp. If sy-subrc 0.** Not found - discard this one.* PERFORM ZBDC_SCREEN USING 'SAPMV50A' '0270'. PERFORM ZBDC_FIELD USING 'RV50A-LIPS_SELKZ(01)' 'X'. ELSE.** Change the quantity....* WRITE T_VL31_ASN-MENGE TO W_MENGE UNIT T_VL31_ASN-LMEIN. CONDENSE W_MENGE NO-GAPS. PERFORM ZBDC_SCREEN USING 'SAPMV50A' '0270'. PERFORM ZBDC_FIELD USING 'LIPS-LFIMG(01)' W_MENGE. EndIf. EndLoop.Even though I may have hundreds of order items, I only need to concentrate on logical line one of the order as POPO brings the specified line to the top.Rich 查看原帖
沙市網(wǎng)站制作公司哪家好,找創(chuàng)新互聯(lián)公司!從網(wǎng)頁(yè)設(shè)計(jì)、網(wǎng)站建設(shè)、微信開(kāi)發(fā)、APP開(kāi)發(fā)、成都響應(yīng)式網(wǎng)站建設(shè)等網(wǎng)站項(xiàng)目制作,到程序開(kāi)發(fā),運(yùn)營(yíng)維護(hù)。創(chuàng)新互聯(lián)公司自2013年創(chuàng)立以來(lái)到現(xiàn)在10年的時(shí)間,我們擁有了豐富的建站經(jīng)驗(yàn)和運(yùn)維經(jīng)驗(yàn),來(lái)保證我們的工作的順利進(jìn)行。專(zhuān)注于網(wǎng)站建設(shè)就選創(chuàng)新互聯(lián)公司。
麻煩采納,謝謝!
價(jià)格不能亂改的,改一個(gè)價(jià)格需要好長(zhǎng)時(shí)間。亂改價(jià)格話導(dǎo)致成本差異無(wú)法估計(jì),導(dǎo)致無(wú)法月結(jié)。
第一步: 用mb51先看這個(gè)物料都是產(chǎn)生了什么業(yè)務(wù),然后把產(chǎn)生的業(yè)務(wù)全部沖銷(xiāo)掉。
第一步: 如果261 發(fā)貨太多可以使用ZBDC取消。
如果261 比較少或者其他移動(dòng)類(lèi)型建議使用MBST取消。
如果101已經(jīng)開(kāi)發(fā)票需要取消發(fā)票后再取消。取消應(yīng)該叫供應(yīng),財(cái)務(wù)取消。
如果移動(dòng)類(lèi)型為601 為銷(xiāo)售發(fā)貨,需要取消VL09需要對(duì)應(yīng)發(fā)貨單。如果只有發(fā)貨直接使 用VL09取消發(fā)貨如果有銷(xiāo)售發(fā)票需要取消銷(xiāo)售發(fā)票。
第二步:使用MB1C (Z08)清空庫(kù)存
第三步:MR21修改價(jià)格
第四步:使用MB1C(Z07) 還原庫(kù)存
第五步:還原所有業(yè)務(wù)。