on 07-23-2006 11:44 AM
Hello,
I'm trying to configure WebDocuments for SAP PLM. WebDocuments is a BSP
application provided by SAP from 4.7 onwards. I configured WebDocuments
via transaction CVAW_CUST.
We defined characteristics DOC_SIVUG_NEW in transaction CT04. Under
Values tab we defined that values are taken from function
ZDOC_SIVUG_CHECK. The problem is that these values are not displayed as
combo box in WebDocuments and if we enter any value in Sivug field in
additional data during creation of the document in WebDocuments, we get
error message. For values that are not defined from function, it doesn't happen.
What is the problem?
Thanks in advance,
Sergey
Dear Sergey,
The values for the field SIVUG dont not appear as combox box in
webdocuments as the values come from Function module which is
not executed when the BSP page is rendered. However when a user enters
a value , the application should take this value and then execute
the function module ZDOC_SIVUG_CHECK, I saw the code for this
that you had sent and i find that the problem is with the
failure of the query on the table zsivug_levels,
This has to be debugged, could you put a breakpoint in this FM and then
in webdocuments enter a value of this field, check what value is
present in the paramete VALUE of the FM ZDOC_SIVUG_CHECK,
i guess the table zsivug_levels has no such entry.
To test the working scenario
use the code as below to see if the value entered is taken or not
FUNCTION ZDOC_SIVUG_CHECK.
*"
""Local interface:
*" IMPORTING
*" REFERENCE(CHARACT_NO) LIKE CABN-ATINN
*" REFERENCE(CHARACT) LIKE CABN-ATNAM
*" REFERENCE(VALUE) LIKE CAWN-ATWRT
*" EXCEPTIONS
*" NOT_FOUND
*"
CASE value.
WHEN 'VALUEXXX'.
EXIT.
WHEN 'VALUEXYZ'.
EXIT.
WHEN 'VALUEABC'.
EXIT.
ENDCASE.
RAISE not_found.
ENDFUNCTION.
where VALUEXXX,VALUEXYZ, VALUEABC are values
that would be entered in the field SIVUG from webdocuments
This should work!!!
Best regards,
Christoph
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
91 | |
8 | |
7 | |
4 | |
4 | |
3 | |
3 | |
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.