You are on page 1of 15

8/17/2016

ALEsettingsforQualityManagementMasterData|SCN

GettingStarted Newsletters

Hi,Guest

LogOn

JoinUs

Store

SearchtheCommunity

Products

Services&Support

AboutSCN

Downloads

Industries

Training&Education

Partnership

DeveloperCenter

Activity

LinesofBusiness

UniversityAlliances

Events&Webinars

Innovation

Browse

ALEsettingsforQualityManagement
MasterData

Communications

Actions

Version1

createdbyDipeshkumarBhavsaronMar30,20162:33PM,lastmodifiedbyDipeshkumarBhavsaronMar30,20163:22PM

Share

15

Tweet

Like

ALESettingsforQualityManagement

1BasicALESettings
1.1DefineLogicalSystem

RunTransactionSALEinDevelopmentenvironment.

FollowmenupathIDocInterface/ApplicationLinkEnabling(ALE)>>BasicSettings>>LogicalSystems>>Define
LogicalSystem.
Itisacrossclientconfiguration.

ClickonNewEntry

http://scn.sap.com/docs/DOC71648

1/16

8/17/2016

ALEsettingsforQualityManagementMasterData|SCN

EnterLogicalSystemasfollowingnamingconvention
SYSCLNTXXX
Here,
SYSSystemnamee.g.DEVDevelopment,QLTQuality,PRDProduction
CLNTClient(keepthetextCLNTasitis)
XXXNumberofCliente.g.101,102,103etc.

Now,Save.Itwillaskfortransportrequest.Create/assignthetransportrequestandgetthistransportrequest
transportedtoalltherequiredenvironments.ThisisrequiredactivitybecauseitwillbeusedwhilecreatingPartner
Profile.Ifdontperformthisactivity,systemwillnotallowyoutocreatepartnerprofilewithlogicalsystemwiththis
naming.

1.2CreateRFCConnection:
RunTransactionSM59ConfigurationofRFCconnections

Orfollowthemenupath

http://scn.sap.com/docs/DOC71648

2/16

8/17/2016

ALEsettingsforQualityManagementMasterData|SCN

SelectABAPConnectionsandclickonCreate

EntertheRFCDestination,Description,TargetHostandinstancenumber.SystemwillpicktheIPaddress
automatically.

RFCdestinationasperfollowingnamingconvention(asperlogicalsystem)
SYSCLNTXXX
Here,
SYSSystemnamee.g.DEVDevelopment,QLTQuality,PRDProduction
CLNTClient(keepthetextCLNTasitis)
XXXNumberofCliente.g.101,102,103etc.

http://scn.sap.com/docs/DOC71648

3/16

8/17/2016

ALEsettingsforQualityManagementMasterData|SCN

InLogonandSecurityTab,MaintaintheLogonProcedure,putdestinationclient,User(ALEUser)andPassword.And
Save.

ThisistheproceduretocreateRFCConnection.YouneedtoperformthisactivityinboththeSendingandReceiving
System.E.g.inDevelopmentServeryouneedtomaintainQualityServersRFCandinQualityServeryouneedto
maintainDevelopmentServersRFC.

1.3PortMaintenance
RunthetransactionWE21

Orfollowthemenupath

http://scn.sap.com/docs/DOC71648

4/16

8/17/2016

ALEsettingsforQualityManagementMasterData|SCN

SelectPortTypeTransactionalRFCandclickonCreate

Selecttheradiobuttonforownportnameandenterportasfollowingnamingconvention(Sameaslogicalsystem)on
thepopupdialogbox.
SYSCLNTXXX
Here,
SYSSystemnamee.g.DEVDevelopment,QLTQuality,PRDProduction
CLNTClient(keepthetextCLNTasitis)
XXXNumberofCliente.g.101,102,103etc.

EnterthedescriptionandselecttheRFCdestination

http://scn.sap.com/docs/DOC71648

5/16

8/17/2016

ALEsettingsforQualityManagementMasterData|SCN

Now,Save.

1.4CreatePartnerProfiles
RunthetransactioncodeWE20

Orfollowthemenupath

SelectthePartnertypeLSandClickoncreate

http://scn.sap.com/docs/DOC71648

6/16

8/17/2016

ALEsettingsforQualityManagementMasterData|SCN

Ifyoudonotenterthelogicalsystemdefinedinstep1thenyouwillbefacingfollowingerror

EnterthePartnernumberasperthelogicalsystemnamingconvention
SYSCLNTXXX
Here,
SYSSystemnamee.g.DEVDevelopment,QLTQuality,PRDProduction
CLNTClient(keepthetextCLNTasitis)
XXXNumberofCliente.g.101,102,103etc.
EnterTypeasUSUser,AgentasuserID.

Now,Save.

http://scn.sap.com/docs/DOC71648

7/16

8/17/2016

ALEsettingsforQualityManagementMasterData|SCN

ThePartnerprofileiscreated.YoucancreatePartnerprofileineachsystemasfollows

System

PartnerProfile

Purpose/Dataflow

Development

QLTCLNT201(forQualityClient)

DevelopmenttoQuality

system

PRDCLNT301(forProductionClient)

DevelopmenttoProduction(caution)

Qualitysystem

DEVCLNT101(forDevelopmentClient)

QualitytoDevelopment(caution)

PRDCLNT301(forProductionClient)

QualitytoProduction

Production

DEVCLNT101(forDevelopmentClient)

ProductiontoDevelopment(caution)

system

QLTCLNT201(forQualityClient)

ProductiontoQuality(caution)

2MessageTypesSettingsforQualityManagement

TherearefollowingstandardmessagetypesavailableinSAPforQualityManagementMasterData.

MessageType

Description

QPGR

ReplicationofQMCodeGroups/Catalogs

QPMK

ReplicationofQMmasterinspectioncharacteristics(ALE)

QSMT

ReplicationofQMinspectionmethods

MATQM

ReplicationofQMinspectionsetup

INSPECTIONPLAN_CREATE

Createinspectionplan

2.1CodeGroups(MessageTypeQPGR)
WehavetofollowingtomanageALEformessagetypeQPGR

OutboundparameterindevelopmentserverforQLTCLNT201

InboundparameterinQualityserverforDEVCLNT101.

2.1.1SetoutboundparameterindevelopmentserverforQLTCLNT201

Now,logintodevelopmentserver

InTransactionWE20(PartnerProfiles)selecttherequiredpartnerprofile(e.g.QLTCLNT201QualityClient201)under
theLogicalsystem.

Clickoncreateoutboundparameter

InthenextscreenentermessagetypeQPGR,SelectTransferIDOCimmediately.EnterbasictypeQPGR01.Andpress
enter.

http://scn.sap.com/docs/DOC71648

8/16

8/17/2016

ALEsettingsforQualityManagementMasterData|SCN

AfterEnter

Now,Save.E.g.indevelopmentclientyouhavesetoutboundparameterforQLTCLNT201.

2.1.2SetinboundparameterinQualityserverforDEVCLNT201

Now,logintoQualitySystemtosetinboundparameter.

http://scn.sap.com/docs/DOC71648

9/16

8/17/2016

ALEsettingsforQualityManagementMasterData|SCN

Scrolldownandclickoncreateinboundparameter

EnterMessageTypeQPGRandProcessCodeBAPIandselectTriggerimmediatelyoption.

Now,Save.

2.1.3SendCodeGroup

Now,youcansendthecodegroupsusingQL41(SendCodeGroup)fromDevelopmentservertoQualityServer.

2.2MasterInspectionCharacteristics(MessageTypeQPMK)

WehavetofollowingtomanageALEformessagetypeQPMK

OutboundparameterindevelopmentserverforQLTCLNT201

InboundparameterinQualityserverforDEVCLNT101.

2.2.1SetoutboundparameterindevelopmentserverforQLTCLNT201

Maintainoutboundparameterasbelowscreenshot

http://scn.sap.com/docs/DOC71648

10/16

8/17/2016

ALEsettingsforQualityManagementMasterData|SCN

2.2.2SetinboundparameterinQualityserverforDEVCLNT201

Maintaininboundparameterasbelowscreenshot

2.2.3SendMasterInspectionCharacteristics

Now,youcansendthecodegroupsusingQL21(SendMasterInspectionCharacteristics)fromDevelopmentserverto
QualityServer.

2.3InspectionMethods(MessageTypeQSMT)

WehavetofollowingtomanageALEformessagetypeQSMT

OutboundparameterindevelopmentserverforQLTCLNT201

InboundparameterinQualityserverforDEVCLNT101.

2.3.1SetoutboundparameterindevelopmentserverforQLTCLNT201

Maintainoutboundparameterasbelowscreenshot

http://scn.sap.com/docs/DOC71648

11/16

8/17/2016

ALEsettingsforQualityManagementMasterData|SCN

2.3.2SetinboundparameterinQualityserverforDEVCLNT201

Maintaininboundparameterasbelowscreenshot

2.3.3SendInspectionMethods

Now,youcansendthecodegroupsusingQL31(SendInspectionMethods)fromDevelopmentservertoQuality
Server.

2.4MaterialInspectionSetup(MessageTypeMATQM)

WehavetofollowingtomanageALEformessagetypeMATQM

OutboundparameterindevelopmentserverforQLTCLNT201

InboundparameterinQualityserverforDEVCLNT101.

2.4.1SetoutboundparameterindevelopmentserverforQLTCLNT201

Maintainoutboundparameterasbelowscreenshot

http://scn.sap.com/docs/DOC71648

12/16

8/17/2016

ALEsettingsforQualityManagementMasterData|SCN

2.4.2SetinboundparameterinQualityserverforDEVCLNT201

Maintaininboundparameterasbelowscreenshot

2.4.3SendInspectionSetup

Now,youcansendthecodegroupsusingQL11(SendInspectionSetup)fromDevelopmentservertoQualityServer.

2.5InspectionPlan(MessageTypeINSPECTIONPLAN_CREATE)

WehavetofollowingtomanageALEformessagetypeINSPECTIONPLAN_CREATE

OutboundparameterindevelopmentserverforQLTCLNT201

InboundparameterinQualityserverforDEVCLNT101.

2.5.1SetoutboundparameterindevelopmentserverforQLTCLNT201

Maintainoutboundparameterasbelowscreenshot

http://scn.sap.com/docs/DOC71648

13/16

8/17/2016

ALEsettingsforQualityManagementMasterData|SCN

2.5.2SetinboundparameterinQualityserverforDEVCLNT201

Maintaininboundparameterasbelowscreenshot

2.5.3SendInspectionPlan

Thereisnotransactioncodeavailableforsendinginspectionplan.

http://scn.sap.com/docs/DOC71648

14/16

8/17/2016

ALEsettingsforQualityManagementMasterData|SCN

But,thereisanexecutableProgram(RQ_PLAN_CREATE_SAMPLE_FILE)availableinSAP.Youcanexecuteitusing
transactionSE38.
TheProgramhasalimitation.Theparameterreceiver(logicalsystem)intheprogramissetasnodisplay.So,when
theuserruntheprogram,theuserwillnotbeabletodefinethedestinationlogicalsystemandwhenyouexecutethe
programwithoutdestination,theIDocwillgetfailed.AstheIDocdoesnthavethedestinationaddress.(seethebelow
screenshot)

Ifyouruntheprogramindebuggingmode(byputtingbreakpoint),youwillbeabletochangetheparameter
receiverandIDocwillgetprocessedsuccessfully.

TherearefewalternativestoachievesendingofinspectionplanwiththehelpofDeveloper.
Option1:Thedevelopercanenhance(implicitenhancementspotavailabletohaveadditionalscreenparameters)the
programandputanadditionalscreenparameter(logicalsystem)andthenpassthevalueoftheparameterto
receiver.Thiswillallowtheusertodefinedestination.
Option2:TheDevelopercancreateacustomprogramwithadditionalparameterandthencallthestandardprogram
withinthesamewithpassingalltheparameter.
Option3:TheDevelopercancopythestandardprogramintoacustomprogramandhavethisparameterreceiveras
display.

712Views
Topics:master_data_management,enterprise_resource_planningTags:idoc,ale,sapqm,sap_qm,qpmk,erp_qm,qsmt,qpgr,
matqm,inspectionplan_create,inspection_plan_ale,sap_quality_management,sap_qm_master_data,idoc_sap_qm,ale_sap_qm,
enterprise_resource_planning_quality_management

AverageUserRating
(5ratings)

Share

15

Tweet

Like

2Comments
ArijitBanerjeeApr2,20169:47PM

NiceDocument.Keepuppostingsuchgooddocumentsinfuture
Like(0)

LeoLiAug8,20165:33AM

Wonderful,itisveryhelpfultosendtheALE
Like(0)

http://scn.sap.com/docs/DOC71648

15/16