Using BAPI IN LSMW.docx

上传人:b****6 文档编号:6946302 上传时间:2023-01-13 格式:DOCX 页数:15 大小:924KB
下载 相关 举报
Using BAPI IN LSMW.docx_第1页
第1页 / 共15页
Using BAPI IN LSMW.docx_第2页
第2页 / 共15页
Using BAPI IN LSMW.docx_第3页
第3页 / 共15页
Using BAPI IN LSMW.docx_第4页
第4页 / 共15页
Using BAPI IN LSMW.docx_第5页
第5页 / 共15页
点击查看更多>>
下载资源
资源描述

Using BAPI IN LSMW.docx

《Using BAPI IN LSMW.docx》由会员分享,可在线阅读,更多相关《Using BAPI IN LSMW.docx(15页珍藏版)》请在冰豆网上搜索。

Using BAPI IN LSMW.docx

UsingBAPIINLSMW

UsingBAPIinLSMW

BySureshKumarParvathaneni

Step-by-StepGuideforusingBAPIinLSMW

Note!

ThescreenprintsinthisarticlearefromECC5.0.Theymaydifferslightlyinotherversions.  

Introduction:

ThisdocumentdetailstheusageofBAPIinLSMW.WehaveusedtheexampleofmigrationofthepurchaseorderdataintoSAP. 

Pre-requisites:

ItisassumedthatthereaderofthisarticlehastheminimumknowledgerequiredontheBusinessObject,BAPI,MessageTypesandIDocTypes. 

Step-by-StepProcedure:

DetailsoftheBAPIusedinthisscenario:

BusinessObject:

BUS2012

Method:

CreateFromData 

DetailsofMessageTypeandBasicIDocType:

MessageType:

PORDCR

BasicIDocType:

PORDCR02 

Let’shavealookattheBAPIfirst,beforeproceedingtotheLSMW:

1.GotoTransactionBAPI

2.ClickonSearchButton

3.Enterthevalue“BUS2012”andselect“Obj.type(TechnicalObjectName”

4.PressENTER

5.Followingscreenappears:

 

6.Ontheleftsideofthescreen,Expandthe“PurchaseOrder”.

7.Select“PurchaseOrder”anddouble-clickonthesamefordetails.

 

 

BuildingLSMWusingBAPI:

 

1.     GotoTransactionLSMW.

2.     EntertheProject,SubprojectandObjectinformationandclickonCREATE.

3.     EnterthedescriptionsforProject,SubprojectandObjectasprompted.

 

 

 

4.     NowselectSettingsIDocInboundProcessing

5.     “IDocInboundProcessing”screenappears.Entertherequireddetailsasshownbelow:

 

6.     Clickon“ActivateIDocInboundProcessing”.

7.     Clickon“Yes”whenpromptedfor“ActivateIDocInbound?

 

8.     Hiton“Back”toreturntothemainscreen.

9.     ClickonContinue(F8).FollowingScreenappears:

 

10. SelecttheStep1“MaintainObjectAttributes”andselect“Execute”.

11. Selecttheradiobutton“BusinessObjectMethod”andenterthefollowingdetails:

BusinessObject:

BUS2012

Method:

CreateFromData

HitENTER

 

12. SaveandclickonBACKbutton.Followinginformationmessageisdisplayed.

 

13. Nowselectstep2“MaintainSourceStructures”andclick“Execute”.

 

14. Inthisstep,weneedtomaintainthesourcestructure.Inourexample,letsconsidertheexampleofafilewith2structuresHeadandItemdataasshownbelow:

 

ClickonCreateandnamethesourcestructureasHEADERDATA.NowselectHEADERDATAandclickon“Create”againtocreatethechildstructure.Followingpopupappears:

 

Select“LowerLevel”andclickonContinue.EntertheItemdatastructurename. 

 

ClickSaveandhitBACKbuttontogotothemainscreen.

15. Selectstep3“MaintainSourceFields”andhitexecute.

16. Enterthefieldsasshownbelow:

 

17. ClickSAVEandreturntomainscreen.

18. Selectstep4“MaintainStructureRelations”andclickExecute.

 

SelectE1PORDCRandclickonCREATERelationShip.Followingscreenappears:

 

SelectHEADERDATAandhitENTER

SimilarlydothesameforthestructureE1BPEKKOA,E1BPEKPOCandE1BPPEKET. 

 ClickSaveandreturntomainscreen.

19. Selectthestep“MaintainFieldMappingandConversionRules”andclickonexecute.MaintaintheFieldMappingasseenbelow:

 

 

 

 

20. Selectstep7“MaintainSourceFiles”andprovidethelinkforthetestfilecreated.(Createatestfilewiththesamestructureasdefinedearlier).

 Saveandreturntomainscreen.

21. Selectthestep“AssignFiles”andclickonExecute.

Assignthefileprovidedtothesourcestructure.Herethesamefileisprovidedforboththestructures.

Saveandreturntothemainscreen.

22. Selectthestep“ReadData”andclickonExecute.

ClickonExecute.

 

Returntothemainscreen.

23. Selectthestep“Displayreaddata”andclickonexecute.

Clickonthestructurenametogetthefieldlevelvalues.

 

 

24. Returntomainscreenandnowselect“ConvertData”.

 

25. Returntothemainscreenandselect“DisplayConverteddata”.

 

26. Returntomainscreenandselect“StartIDocgeneration”.

 

27. Nowselectthestep“StartIDocProcessing”onthemainscreen.

 

 

28. Returntomainscreenandclickon“CreateIDocoverview”.HerethedatarecordandstatusrecordsoftheIDoccouldbeviewed:

展开阅读全文
相关资源
猜你喜欢
相关搜索

当前位置:首页 > 总结汇报 > 实习总结

copyright@ 2008-2022 冰豆网网站版权所有

经营许可证编号:鄂ICP备2022015515号-1