on 01-15-2007 3:59 PM
After insertion of an "end signal" and connection with an "output port" of an "input Form" and creating of a toolbar some models are running correctly but some other models fails with deploy errors even if I use exactly the same parameters in the toolbars, and in the connecting lines .
Is somebody able to explain this behavior
What are the errors exactly saying?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Mario,
the error message is "Deployment failed. -- Error in compiling Flex application (1). Consult log file for details" Unfortunately I am not authorized to see the log file.
But I found a curious solution:
When I create a push button additionally to the toolbar exactly with the same parameters the deployment runs correctly even if I set the pushbutton to hidden and disabled.
This solution is a little bid like: "Click until the doctor will come to see you" but it works.
Best regards
Adrian Scheffer
Hello Mario,
I don't know the reason for the deploy error. There was no update of Support Packages.
I created a new model with exactly the same parameters and the deployment error occurred again.
The Application uses a Remote customer Function : with the the following code:
FUNCTION Z_PLANTS_TO_MATERIAL.
*"----
""Lokale Schnittstelle:
*" IMPORTING
*" VALUE(MATNR) LIKE MARA-MATNR
*" EXPORTING
*" VALUE(RETURN) LIKE BAPIRETURN1 STRUCTURE BAPIRETURN1
*" TABLES
*" PLANTS STRUCTURE MARC_WERK
*"----
CONSTANTS: C_MSG_ID Type SY-MSGID VALUE 'ISA'.
clear plants.
select * from marc_werk into TABLE plants where matnr = matnr.
IF SY-SUBRC <> 0.
CALL FUNCTION 'BALW_BAPIRETURN_GET1'
EXPORTING
TYPE = 'E'
CL = C_MSG_ID
NUMBER = '013'
PAR1 = SY-MSGv1
PAR2 = SY-MSGv2
PAR3 = SY-MSGv3
PAR4 = SY-MSGv4
IMPORTING
BAPIRETURN = RETURN
EXCEPTIONS
OTHERS = 1.
ENDIF.
ENDFUNCTION.
-
In the Mean time I found a Remote Funktion "material_read_plants" which is doing nearly the same but without Bapi Return:
With this Function there is no Problem with the END Signal.
Best Regards
Adrian Scheffer
Perhaps this error relates to the following two WIKI entries:
https://wiki.sdn.sap.com/wiki/display/VC/Nested+Structures
https://wiki.sdn.sap.com/wiki/display/VC/CannotseefieldsinRFC
Hi Adrian,
if you have no authorization it becomes difficult. When you use external debugging you can check, if the parameters are passed correct. If the BAPI works correct, then you must have an error in your VC model or an error occurs, when you pass the data. If you use variables or formula for passing the data, then try it with hard coded values and check the correct formatting of these values. For example an alpha conversion or that the internal date is yyyymmdd and so on.
Hope that helps.
Best Regards,
Marcel
Hello Marcel,
I just got the Authorization to work with external debugging, but this does not really help, when there is a deploy error, because execution of the VC application is not possible with deploy errors.
Normal debugging in SAP R/3 is possible and successfull.
But i think, we should close this message because, we have a solution with a SAP standard BAPI an i can live with missing bapireturn in that case.
Thanks for your help and best regards.
i think, we should close this message because, we have a solution with a SAP standard BAPI an i can live with missing bapireturn in that case.
Thanks for your help and best regards.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.