根据bapi参数发现,删除是用BAPI_PR_CHANGE而不是BAPI_REQUISITION_CHANGE。 之前调试一条数据,当时没想太多,就直接debug,结果悲剧了, 一直以为是bapi错了,后来到前台看了看,是项目类的,本来就不能在这里删除…… 还有条数据是已经审批过的…… 测试之前一定得去前台看看啊! 首先确保前台可以修改,再去调用bapi测试...
根据bapi参数发现,删除是用 BAPI_PR_CHANGE 而不是 BAPI_REQUISITION_CHANGE。 之前调试一条数据,当时没想太多,就直接debug,结果悲剧了, 一直以为是bapi错了,后来到前台看了看,是项目类的,本来就不能在这里删除…… 还有条数据是已经审批过的…… 测试之前一定得去前台看看啊! 首先确保前台可以修改,...
CALL FUNCTION 'BAPI_PR_GETDETAIL' EXPORTING NUMBER = IV_BANFN ACCOUNT_ASSIGNMENT = 'X' ITEM_TEXT = 'X' HEADER_TEXT = 'X' DELIVERY_ADDRESS = 'X' VERSION = 'X' "version IMPORTING PRHEADER = LS_PRHEADERTABLES PRITEM = LT_PRITEMRETURNEXCEPTIONS0. CLEAR LOOP AT LT_PRITEM INTO MOVE-CO...
wa_PRITEMX-SHORT_TEXT = 'X'. APPEND wa_PRITEMX TO it_PRITEMX. CALL FUNCTION 'BAPI_PR_CHANGE' EXPORTING number = '0010001348' PRHEADER = PRHEADERX = VERSIONS = TESTRUN = IMPORTING PRHEADEREXP = TABLES RETURN = it_return PRITEM = it_PRITEM PRITEMX = it_PRITEMX PRITEMEXP = it...
Hi experts, i'm trying to use BAPI_PR_CHANGE to modify an append field in EBAN (named ZBUYER) but i can't I see 'BAPI_TE_MEREQITEM' structure and contains the desired field (ZBUYER) this is my code, hope somebady brings ligth to this, thanks REPORT zpruebamodifzbuyer. TABLES:...
Hi All, I have tried to change plant in Purchase Requisition(PR) by passing new plant value and set change indicator in BAPI_PR_CHANGE but the BAPI returns information
Hi All, I am trying to update valuation price field using FM 'BAPI_PR_CHANGE'. But the field is not gettign updated. I am using 'BAPI_TRANSACTION_COMMIT' also after
ME52N BAPI_PR_CHANGE 修改采购申请 DEMO修改数量 data number type bapimereqheader-preq_no. data lt_return type standard table of bapiret2 with header line. data pritem type standard table of bapimereqitemimp with header line. data pritemx type standard table of bapimereqitemx with header...
BAPI里的参数几乎都不一样; 而 BAPI_PR_CREATE 和 BAPI_PR_CHANGE 这二个BAPI里面参数却都是一样的,很奇怪;很显然我如果用BAPI_PR_CREATE创建的申请可以用BAPI_PR_CHANGE来改(但这个BAPI却不能创建服务类申请,因为没有相关的参数),可是我用BAPI_REQUISITION_CREATE创建的申请却不能用BAPI_REQUISITION_CHANGE ...
I AM FACING THIS PROBLEM WHILE USING BAPI_REQUISITION_CHANGE or BAPI_PR_CHANGE I CAN CHANGE THE DATA BUT HOW TO ADD ANOTHER LINE ITEM TO EXISTING PR. HELP NEEDED REGARDS