on 04-29-2019 1:26 PM
Hi experts.
In the standard purchase order, when the type of the item is set to "Services" In the tab "Delivery" the value of the dropdown Location of Service Provision is set to "On-Site" by default. The customer is asking to make this value to "Supplier Service Center" when the item type is set to "Service".
I tried to check if it's possible using adaption mode but I had no luck. I believe that can be done by SAP Cloud Application Studio. However, I am new to this field and really don't have any idea what to do. If somebody can give me a detailed solution where I can learn in the first place, I would really appreciate it.
Note: I didn't know how to find the screen in UI designer also!
Thanks in advance,
Mousa
hi Mousa
This can be achieved via SDK. You can write a simple code in after modify event of the BO's node.
Check for the item type.
if item type = service
then assign the desired value to your field.
Location = Supplier Service Center
Regards
Praveen Dwivedi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Praveen,
Thanks for your answer first. And would you please bear with me as I am new to this.
So in the SDK, should I make an BO extension in the Purchasing deployment unit? and then add an an after modify event in the field item?
If yes, within the event I should only have an if-statment?
for example
if(this.X.Y == value){
this.Y.X = anotherValue;
}
Hi Mousa
That is correct. For achieving this requirement you only need an if condition.
You should keep in mind, the node for which you create aftermodify event is the same which contains the field "item type". This is because the aftermodify is triggered when you make any changes to the value of "item type".
Please mark the answer as complete if this fulfills your objective.
Regards
Praveen
Thanks for clarifying Praveen.
I am still having some issues though.
First, When I am trying to make the if statement I am having the following error"Identifier 'TypeCode' doesn't exist"
he client told me that all their items are services so I should not care about this however, the Service Provision only applies when the process type is third party so I decided to go with this option but again the same error appeared "Identifier 'ThirdPartyDealIndicator' doesn't exist"
I don't know what to do here. I copied the path directly from the repository
One last thing. For Location of Service Provision I couldn't find the field that I am supposed to edit in the repository.
Thanks once more Praveen. I really appreciate your help here. If you can share your email I can send you the snapshots as I cannot share them in the comment I don't know why
Best,
Mousa
Hi Mousa Alramadhan,
This is a Standard Process, you can select Location: "Supplier Service Center" when the Item Type: "Service".
I saw in your screenshot you selected Process Type: "Third Party" but you didn't select the Customer. Select Customer and in the Account Assignment tab, select the Sales/Service Order then there will be no errors.
.
.
Let me know if it works and mark the question as answered if your requirement is met or comment back for any further queries.
.
Regards,
Anant Patel,
SME, SAP Business ByDesign
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks Anant,
Yeah I know about the flow of the process. However, My question is as follow: by default in the Location of Service Provision OVS the initial value is set to "On-Site". I want the initial value to be set to "Supplier Service Center" automatically when the item type selected is "Service".
Best,
Mousa
User | Count |
---|---|
107 | |
12 | |
11 | |
6 | |
6 | |
4 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.