Skip to Content
avatar image
Former Member

VC iView input field parameter didn't pass to RFC function.

Hi, ALL:

I create a simple VC iView project for testing a RFC function. This RFC function need 3 parameters, first parameter data type is Date, second and third parameter data type is Time. I enter '08.07.2007', '21:00:00', and '22:00:00' for these three parameters on the input form. But I see the message output at runtime debugging console, second and third parameter value is empty.

Any advice would be very appreciated.

Debugging console message:

21: [AADL7] executeNext([STEP3])

20: [AADL7] Sent request: <Request type="executeFunction" function="Z_PR_DOC" system="Advantech236" systemType="SAPFactory" manageConnection="Y" encode="Y" commit="N" convert="N" dsmid="NICKYANG:com.myComp.myProduct.L7.Test_iview.par:1186650680109"><Input name="INPUT" shape="OBJ" appName="INPUT" ><Meta><field name="P_DATUM" appName="P_DATUM" type="date"/><field name="UZEIT_FROM" appName="UZEIT_FROM" type="time"/><field name="UZEIT_TO" appName="UZEIT_TO" type="time"/></Meta><b><Row P_DATUM="07.08.2007" UZEIT_FROM="" UZEIT_TO=""/></b></Input><Output name="ZBANFN" appName="OUTPUT___sp___ZBANFN" shape="SET" capacity="0"></Output><Output name="ZUSAGE" appName="OUTPUT___sp___ZUSAGE" shape="SET" capacity="0"></Output><Output name="RETURN" shape="ROW" capacity="1"/></Request>

19: [AADL7] checkStep([STEP3])

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Best Answer
    avatar image
    Former Member
    Aug 09, 2007 at 05:07 PM

    Did you assign the value to pass it in the RFC? Check also the values which are passed in the RFC via external debugging.

    Best Regards,

    Marcel

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hi Nick,

      this is a typical problem of VC. I can suggest you to pass the time from VC as a string to a string input parameter, then use an ABAP Coding to convert the time in the correct format. i think this will be faster then develop the complete application in Webdynpro.

      Best Regards,

      Marcel

  • avatar image
    Former Member
    Aug 09, 2007 at 10:09 AM

    hi Nick

    check the configurations of the output feild whether it's visibility is disabled or not

    regards

    Pradeep P N

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi, Pradeep:

      Thanks for your reply. The visiblity of all output field are set to true. Could any other possible cause this problem? Please give advice, thanks.