As said in our discussion, I have found a BADI: BADI_SD_CM which help our requirement. Below are the steps to execute this approach.. 1 Under the Implem Implementat entation ion Name: Name: U!"# U!"#D"$# D"$#%!"IN %!"IN&'()1 &'()1 and !ethod !ethod:: I$"'*"BADI"#D"%!+$#%!"%)'DI&"%'%"-)D') 2 %reate an enhancement spot at end of method and write the elow validation. / %hec0 N N22 3&')! 3&')! and and fetch fetch the B4 &erms of 4a 4a5ment 5ment and vali validate date it with with runtime sale order value of *BD23&')!, *BD23&')!, if oth are are di6erent 7means 7means chan8e of 3&')! in order level9 chan8e the elow values.. $#%!")%"%'% ;. <"%'%"%-N$ =*=. Append the required error messa8es in (&"$#%!"%)'DI&"!'##A('# (&"$#%!"%)'DI&"!'##A('# which displa5ed alon8 with the standard credit chec0 messa8es. mess a8es. Usin8 Deu8 mode I have done the th e aove chan8es while creatin8 the #ale order : >?> and ale to restrict for credit chec0. 4lease have a review on this and let me 0now for more details..
o
Attachments (19)
o
Page History
o
Page Information
o
Link to this Page…
o
View in Hierarchy
o
View Source
1.
Process Integration
.
Process !rchestration " Process Integration " #$change Infrastructure
%.
Ste&"'y"Ste& uies
*on"PI Synchronous +S,- Integration ia /S0- an irect 2&ates •
Ski& to en of metaata ,reate 'y A'hishek Vinayaka3 4ast moifie on -ar 563 51 o to start of metaata
*on"PI Synchronous +S,- Integration ia /S0- an irect 2&ates
Link to Content's target Space : htt&788wiki.sn.sa&.com8wiki8is&4ay8I8Ste&"'y"Ste&:uies
Applies to: SAP Process Integration3 SAP #,,3 SAP */ ;.5 3 #H&63 +S,-
Summary
Author(s): Abhishek Vinayaka & Mahaboob Basha Shaik Company:
e4oitte ,onsu4ting LLP
Create on:
-arch 6th 51
Author(s) Bio
A'hishek is working as a SAP PI S-# at e4oitte ,onsu4ting LLP. He has oer = years of e$&erience in SAP PI an other integration techno4ogies
>asha is working as SAP *etweaer PI consu4tant for e4oitte ,onsu4ting LLP. He a4so has e$tensie k now4ege on SAP A>AP ? / A>AP techno4ogies !able o" Contents Introuction /S"0- >ase Integration. Ste& 17 *aigate to S!A-A*#0 Ste& 7 Se4ection of the Serer Pro$y *ame Ste& %7 Serice ,reation (Serer) Ste& @7 Setting 2& >inings (Serer) Ste& 67 Setting u& Security etai4s (Serer)
Ste& 7 ,hoosing the >ining *ame (Serer) Ste& ;7 is&4ay #n"&oint (Serer) Ste& =7 Se4ect the consumer &ro$y Ste& 97 efine Logica4 Port (,onsumer) Ste& 157 ,onfigure 4ogica4 &ort (,onsumer) Ste& 117 Set 2& Serice 2ser for / e' Serice ,onsum&tion +S,- ia irect 2&ate in #,, Ste& 17 +in >Ai for ,reit -anagement Ste& 7 +in the >Ai im&4ementation Ste& %7 Stanar ,reit ,heck ,oe Ste& @7 Im&4ement an Im&4icit #nhancement
Introuction SAP +S,- or +inancia4 Su&&4y chain management for ,reit -anagement is a wie4y use SAP A&&4ication &ackage on an SAP im&4ementation.
ASIS core com&onent. Interesting4y the integration meium use for the a'oe is SAP PI. SAP PI &roies out of the 'o$ integration content aroun +S,-.
/S0- 'ase Integration
.
irect 2&ate.
/S"0- >ase Integration ASIS3 an the names&ace as shown 'e4ow.
Let us now 4ook at the configuration ste&s in etai4s.
Step #: $a%igate to SAMA$ ,4ick FA&&4ication an Scenario ,ommunicationG ta' an c4ick FSing4e Serice3 aministration 4ink.
Step *: Selection o" the Ser%er +ro,y $ame
Step -: Ser%ice Creation (Ser%er) ,4ick F,onfigurationG ta' an c4ick F,reate SericeG.
Step .: Setting /p Binings (Ser%er)
Step 0: Setting up Security 1etails (Ser%er) ,onfigure the we' serice etai4s3 inc4uing the Security an authentication etai4s.
Step 2: Choosing the Bining $ame (Ser%er)
!n the oeriew ta'3 you can choose the 'ining name set in ste& @3 an c4ick on is&4ay se4ecte 'ining /SL.
Step 3: 1isplay n4point (Ser%er)
Step 5: Select the consumer pro,y
Step 6: 1e"ine Logical +ort (Consumer) ,4ick on configuration an the efine 4ogica4 &ort
Step #7: Con"igure logical port (Consumer)
Step ##: Set /p Ser%ice /ser "or 8eb Ser%ice Consumption
!n the consume security ta'3 set u& the user8&asswor for the serice user haing access to e$ecute we' serices
E-!*I.
+S,- ia irect 2&ate in #,, AP instea of PI. +rere9uisites: Stanar +S,- ,reit / orthiness Scenario has 'een ena'4e in #,,8PI.
Step #: in BAi "or Creit Management
Step *: in the BAi implementation:
Step -: Stanar Creit Check Coe +rom the im&4ementation c4ass of the >Ai " ,LEI-E>AIESE,-3 check for the metho +S,-E,0#I
Step .: ;mplement an ;mplicit nhancement *aigate into this -etho an hae an im&4icit enhancement (,oe) create at the start of the metho an use the coe sni&&et in the enhancement an actiate it3 $ote: 4ock < 1ata 1eclarations that =oul be use "or local mapping o" structures A
4sEres&onse1
eEmessage1 4te$t1
LI# LI*# !+ etEreturn3
< 1ata eclaration to get the input ata to the pro,yA
4sEchkEsch
4sEchkEsch1
4refEworEJu
4sEinEcreE&ar
K iE&artner
iEcreitEsgmnt K iEcreitEsgmnt iEamount iEcurrency iEcheckru4e
K iEamount K iEcurrency K iEcheckru4e
iEcheckseerity K iEcheckseerity iEretriea4Ef4ag K iEretriea4Ef4ag iEeffectieEate K iEeffectieEate iE4ogEreference K iE4ogEreference itEscheu4e
K itEscheu4e
I-P!0
K 4sEJuery1.
< Map the %alues "rom ls>9uery# to ls>input an than calling the inboun pro,y o" SCM< in"ormation o" the segmen t i -!V#7
4sEJuery1"creitEworthinessEJuery"creitEworthinessEJuery"creitEsegmentEinterna4Ei
<
in"ormation o" the amount to be checke
4sEJuery1"creitEworthinessEJuery"creitEworthinessEJuery"
checkeEamount"currencyEcoe
4sEJuery1"creitEworthinessEJuery"creitEworthinessEJuery"checkeEamount"a4ue
< 1etails o" the rule coe
4sEJuery1"creitEworthinessEJuery"creitEworthinessEJuery"checkingEru4eEcoe
4sEJuery1"creitEworthinessEJuery"creitEworthinessEJuery"checkingEseerityEcoe
4sEJuery1"creitEworthinessEJuery"creitEworthinessEJuery"
carE&ermissionEinicator
4sEchkEsch1"checkeEamount
4sEchkEsch1"creitEsegmentEinterna4Ei
4sEchkEsch1"e'torE&arty"schemeEi
4sEchkEsch1"e'torE&arty"schemeEagencyEi
APP#* 4sEchkEsch
4sEJuery1"creitEworthinessEJuery"creitEworthinessEJuery"e'torE&arty"interna4Ei"schemeEi
4sEJuery1"creitEworthinessEJuery"creitEworthinessEJuery"e'torE&arty"interna4Ei"schemeEagencyEi
4sEJuery1"creitEworthinessEJuery"creitEworthinessEJuery"e'torE&arty"interna4Ei"a4ue
<
setting up %alues o" C1;! +A!?
4sEJuery1"creitEworthinessEJuery"creitEworthinessEJuery"
creitorE&arty"interna4Ei"schemeEi
4sEJuery1"creitEworthinessEJuery"creitEworthinessEJuery"creitorE&arty"interna4Ei"schemeEagencyEi
4sEJuery1"creitEworthinessEJuery"creitEworthinessEJuery"creitorE&arty"interna4Ei"a4ue
<
setting up %alues o" seller party
4sEJuery1"creitEworthinessEJuery"creitEworthinessEJuery"se44erE&arty"
interna4Ei"schemeEi
4sEJuery1"creitEworthinessEJuery"creitEworthinessEJuery"se44erE&arty"interna4Ei"schemeEagencyEi
4sEJuery1"creitEworthinessEJuery"creitEworthinessEJuery"se44erE&arty"interna4Ei"a4ue
<
setting up %alues o" prouct category
4sEJuery1"creitEworthinessEJuery"creitEworthinessEJuery"
&rouctEcategory"interna4Ei"schemeEi
4sEJuery1"creitEworthinessEJuery"creitEworthinessEJuery"&rouctEcategory"interna4Ei"schemeEagencyEi
4sEJuery1"creitEworthinessEJuery"creitEworthinessEJuery"&rouctEcategory"interna4Ei"a4ue
,a44 the in'oun Pro$y with the ata ma&&e in &reious ste&s
MM
MM
N#,< 4refEworEJu. <0D. ,ALL -#
#P!0
I-P!0
eEmessage1"num'er
K sy"msgty. K sy"msgi. K sy"msgno.
eEmessage1"messageE1 K 4te$t1.
APP#* eEmessage1
4sEou&ut"creitEworthinessEres&onse"creitEworthiness"creitEsegmentEinterna4Ei
4sEou&ut"creitEworthinessEres&onse"creitEworthiness"inicator
4sEou&ut"creitEworthinessEres&onse"creitEworthiness"e'torE&artyE'4ockeEinicator
4sEou&ut"creitEworthinessEres&onse"creitEworthiness"e'torE&artyEattntnEinicator
4sEou&ut"creitEworthinessEres&onse"creitEworthiness"horionEenEate
<
setting up %alue "or 1B! +A!?
4sEou&ut"creitEworthinessEres&onse"creitEworthiness"e'torE&arty"
interna4Ei"schemeEi
4sEou&ut"creitEworthinessEres&onse"creitEworthiness"e'torE&arty"interna4Ei"schemeEagencyEi
4sEou&ut"creitEworthinessEres&onse"creitEworthiness"e'torE&arty"interna4Ei"a4ue
<
setting up %alue "or A!;$
4sEou&ut"creitEworthinessEres&onse"creitEworthiness"rating
setting up %alue "or ;S>CLASS
4sEou&ut"creitEworthinessEres&onse"creitEworthiness"riskEc4ass
setting up %alue "or C1;!>L;M;!
4sEou&ut"creitEworthinessEres&onse"creitEworthiness"creitE4imit
4sEou&ut"creitEworthinessEres&onse"creitEworthiness"checkingEescri&tionQR
<
getting the %alues o" the creitor partyL!!P A< 4sEou&ut"creitEworthinessEres&onse"creitEworthiness"
creitorE&arty I*
4sEinEcreE&ar"interna4Ei"schemeEagencyEi
APP#* 4sEoutEcreE&ar
getting the %alues o" the seller partyL!!P A< 4sEou&ut"creitEworthinessEres&onse"creitEworthiness"se44erE&arty I*
4sEinEse4E&ar"interna4Ei"schemeEagencyEi
APP#* 4sEoutEse4E&ar
<
getting the %alues o" prouct categoryL!!P A< 4sEou&ut"creitEworthinessEres&onse"creitEworthiness"
&rouctEcategory I*
4sEinE&roEcat"interna4Ei"schemeEagencyEi
APP#* 4sEinE&roEcat
K 4sEres&onse1
I-P!0
K etEcreitEmessages
eEcheckEconfirmation K eEcheckEconfirmation eErating
K eErating
eEriskc4ass
K eEriskc4ass
eEcreit4imit
K eEcreit4imit
eE4imitEcurrency eE4imitEa4iEto
K eE4imitEcurrency K eE4imitEa4iEto
eE'4ockeEinicator K eE'4ockeEinicator eEattntnEinicator
K eEattntnEinicator
eEcreitEhorionEate K eEcreitEhorionEate. < ;! statement to come out o" the metho #I<.
< !his ;! statement =oul "orce the e,ecution out o" this metho by4passing the stanar coe =here +; calls are mae
0e4ate ,ontent P4ease inc4ue at 4east three references to S* ocuments or we' &ages. ,onsuming Serices in S!A -anger P!V " +S,- a Pinch"Point for PI +S,- ,onfiguration