(4)调用函数STATUS_CHANGE_EXTERN更改设备用户状态; 代码示例: 1DATA: lv_field(30)TYPEc VALUE'(SAPLAMDPS2I)RAIFP2'.2FIELD-SYMBOLS: <lfs_raifp2>TYPEraifp2.34ASSIGN(lv_field)TO<lfs_raifp2>.5CHECKsy-subrc =0.6CHECK<lfs_raifp2>-anln1ISNOTINITIAL.7CHECK<lfs_raifp2>-anbtr =0AND( <lfs_raif...
VA02查看销售订单状态:STATUS_READ VB+销售订单+000000 VA02修改销售订单状态:I_CHANGE_STATUS 或者STATUS_CHANGE_EXTERN/表:TJ30 VA02判断销售订单状态:STATUS_CHECK VA02禁用状态按钮:STATUS_TEXT_EDIT "也可直接用于查询,TJ30T对应描述 VA11创建询价单:BAPI_INQUIRY_CREATEFROMDATA2 VA21创建报价单:BAPI_QUOTATI...
19. 有时候修改状态,都是先读取 ,用STATUS_READ ,或者修改:STATUS_CHANGE 但是新建的时候,其实库表里是没有的, 所以使用STATUS_CHANGE_EXTERN 具体可以在项目里测试下看看哪个能达到效果
VA02查看销售订单状态:STATUS_READ VB+销售订单+000000 VA02修改销售订单状态:I_CHANGE_STATUS 或者STATUS_CHANGE_EXTERN/表:TJ30 VA02判断销售订单状态:STATUS_CHECK VA02禁用状态按钮:STATUS_TEXT_EDIT "也可直接用于查询,TJ30T对应描述 VA11创建询价单:BAPI_INQUIRY_CREATEFROMDATA2 VA21创建报价单:BAPI_QUOTATI...
28、er type的 status profile查询 ) tj02:system status tj02t:system status text(系统状态文本) tj01:user status(自定义 status) jj01t:user status text(自定义 status文本 ) 相关函数:status_change_extern| status_text_edit| status_text_conversion 在 erp 系统中,订单状态的任何变更都是有记录的,如...
CALL FUNCTION 'STATUS_CHANGE_EXTERN' EXPORTING objnr = status_obj_nr user_status = 'E0003' EXCEPTIONS object_not_found = 1 status_inconsistent = 2 status_not_allowed = 3 OTHERS = 4. IF sy-subrc <> 0. MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno ...
0BP_EXTERN Business partner number in external systems 0NAME_ORG1 Business partner: Name 1 of organization 0NAME_ORG2 Business partner: Name 2 of organization 0NAME_ORG3 Business partner: Name 3 of organization 0NAME_ORG4 Business partner: Name 4 of organization 0LEGALFORM Legal form...
1. First use the FM: STATUS_CHANGE_EXTERN with notification number and user status E0006. 2. Then use BAPI: BAPI_QUALNOT_CHANGETSKSTAT with Notification and task key of the item (Use: BAPI_ALM_NOTIF_GET_DETAIL to get the details of the notification) with task code as '01' and ...
Function module STATUS_CHANGE_EXTERN can be used 3. If the quote is not both Approved and sold: Set the approved buy price of the sales order item to zero (table KONV, condition KSCHL=’ZAUB’, value KBETR = 0) Set the status of the sales order item to net billed. Table JEST shoul...
3、KBPP_EXTERN_UPDATE_CO 修改项目和WBS的预算 BAPI:BAPI_SALESORDER_CHANGE (TCODE:VA02 销售订单...