on 09-13-2016 2:28 AM
Hi experts,
Follow the step:http://help.sap.com/saphelpiis_studio_1511/KTP/Products/bf889ebdf45d4dd19d4a0e0bd39a07fb/LibraryStru...
I can preview the form of customBO, using OIF and QA.
But when I change the OWL, add a button "preview", it is not OK.
Can not load the GroupCode,what's the problem?
Thanks.
Hi Bin,
The reason why you face this issue is because of the preview functionality in the custom OWL screen of a custom form is currently restricted.
You can use the preview functionality from the QAF(Quick Activity Floorplan) screen for a custom form in a custom screen. So configure and use the preview functionality in the QAF screen itself.
Thanks and Regards,
Dhanya
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Bin,
Unfortunaltey, the link posted by you only opens generic help for me, so I have to guess, what youhave implemented. Am I right that you use /SAP_BYD_APPLICATION_UI/Reuse/OutputManagement/Preview.MD.uicomponent for the preivew function?
Then the problem could be some sort of problem with the node reference binding. Do you use Std query oder FSI query? Could you post a screenshot of the node reference binding and and the OWL data model? Zhis could help analysing the issue.
Best regards,
Uwe
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Bin,
The problem is, that you need a particular instance for node reference binding, which you have in a QA and in an OIF if you bind it to root. In an OWL the root node of the data model does not represent an instance, thus node reference binding to root should not work. I am not sure how to solve this, as I have never done this myself. What you could try, is doing the following:
add a data structure to your data list and bin this new structure to the top (root node) node of your BO BonusPlan_week2. If this does not help, I am not sure if you can achieve your requirement at all.
Best regards,
Uwe
Edit:
Sorry, forgot to say, that you should use this new structure then for your node reference binding then.
Hi Bin,
Could you please try the following:
Hope that helps,
Uwe
Hi Uwe,
Thanks.
I try to change the Modal Dialogs from "preview" to "DocumentOutputRequestPreview_MD", I open the SalesOrder's owl, and the preview button is my reference.
And I configure the "DocumentOutputRequestPreview_MD":
The PreviewOutport is:
But when the program run, the result is:
Could you tell me what is the problem?
Thanks.
Hi Bin,
You don't need any code for the preview button.
You can just follow the studio documentation which has a sample for QAF I think.
The only difference is ReferenceNodeBinding which needs to be bound with the datalist.
If possible, please create new screens and test because this is definitely possible and we are actually using it on our OWLs.
Best Regards,
Fred
Hi Fred,
Thanks, Don't worry about it.
Could you print your screen of these step at your studio.
I guess it is any wrong at Modal Dialogs, because it is not exact row to trans to "Preview".
Or email to me: huangb.mmsh@sinopec.com
Best Regards,
Benny
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.