on 05-08-2014 3:56 PM
Hello Experts
I implemented the How-to XLSX Upload - a unified approach ( written by Benu Mariantony) in our Web dynpro application to load data into our SAP BW Application.
According document and page 20:
Now I get an error, where I am lost. Please read that:
Error: In line 10: "=" expected after "2".
Please can you help me.
Best regards
Christian
Hi Christian,
I think, your system does not support nested method call in a single statement. So, go for individual method call.
Please try the below code:
DATA lv_uri TYPE string.
DATA lo_part TYPE REF TO cl_openxml_part.
DATA lo_parts LIKE wd_this->mo_parts.
DATA lo_part2 LIKE lo_part.
DATA lo_uri TYPE REF TO cl_openxml_parturi.
lo_part = wd_this->mo_parts->get_part( 2 ).
lo_parts = lo_part->get_parts( ).
lo_part2 = lo_parts->get_part( iv_xml_index ).
lo_uri = lo_part2->get_uri( ).
lv_uri = lo_uri->get_uri( ).
Hope this helps you.
Regards,
Rama
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
101 | |
13 | |
13 | |
11 | |
11 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.