欢迎来到天天文库
浏览记录
ID:38169142
大小:16.82 KB
页数:5页
时间:2019-06-06
《SAP编码范围的维护》由会员上传分享,免费在线阅读,更多相关内容在教育资源-天天文库。
1、关于SAP的号码范围(numberrange)1.NumberRange的通用Tcode:SNRO2.NumberRange的通用读取函数:NUMBER_GET_NEXT3.如有跳号现象,可以禁用对象的Buffer试试4.几个关于NumberRange的函数组:SNR0Onlinemaint.ofnumberranges&groupsSNR1InterfacefornumberrangesandgroupsSNR2MaintenanceofnumberrangeobjectsSNR3Numberrangechecks,assignment&info.SNR4Nu
2、mberrangesutility5.使用自定义的numberrangeobjects1).CreatenumberrangeobjectusingOYSN(或者SNRO).2).Thencallthefollowingfunctionmodules.FORMget_next_idCHANGINGp_discrep.DATA:last_idLIKEzrecaudit-discrep,quantLIKEinri-quantity,"dummycodeLIKEinri-returncode."returncodeCALLFUNCTION'NUMBER_RANGE_E
3、NQUEUE'EXPORTINGobject='ZRECAUDIT'EXCEPTIONSforeign_lock=1object_not_found=2system_failure=3OTHERS=4.IFsy-subrc=0.CALLFUNCTION'NUMBER_GET_NEXT'EXPORTINGnr_range_nr='01'object='ZRECAUDIT'IMPORTINGnumber=last_idquantity=quantreturncode=codeEXCEPTIONSinterval_not_found=1number_range_not
4、_intern=2object_not_found=3quantity_is_0=4quantity_is_not_1=5interval_overflow=6buffer_overflow=7OTHERS=8.CALLFUNCTION'NUMBER_RANGE_DEQUEUE'EXPORTINGobject='ZRECAUDIT'EXCEPTIONSobject_not_found=1OTHERS=2.ENDIF.ENDFORM."get_next_id6.常用维护特定NumberRange的Tcode:5NZINumberrangemaintenance:R
5、P_IRCERTNumberrangemaintenance:RP_IRCERTABNVNumberrangemaint:FIAA-BELNRNumberrangemaint:FIAA-BELNRAO11Assignnumberrange分配编号范围AS08NumberRanges:AssetNumber号码范围:资产号码BDCPNumberrangemaintenance:ALE_CP编号范围维护:ALE_CPBG00NumberRangeMaintenance:BGMK_NR编码范围维护:BGMK_NRBMVNNumberRangeMaintenance:D
6、I_JOBID编号范围维护:DI_JOBIDBUCFBPCust:NumberRangesBP消费者:编号范围CFNAMaintainPRTnumberrange:FHM_CRFH维护PRT编号范围:FHM_CRFHCMTCUS22MaintainnumberrangeforCMproduct维护CM产品的号码范围CMTCUS32MaintainnumberrangeforCMfolder维护CM文件夹的号码范围CMTCUS42MaintainnumberrangesforBaseline维护起点的号码范围FBN1AccountingDocumentNumber
7、Ranges科目凭证号码范围FNS1Collateralnumberrange附属编号区间FOV0Rentalagreementnumberrange租用协议编号范围FOW0RealEstateapplicationnumberrange不动产应用的数据范围IN20Objectlinknumberranges对象连接号码范围IP22Maintainnumberrange:OBJK_NR维护编号范围:OBJK_NRKEN2Maint.numberranges:CO-PAplanning维护号吗范围:CO-PA计划OGS9GenerateADPnumberrange
8、s生成ADP编号范围OH
此文档下载收益归作者所有