on 10-24-2016 9:01 AM
Dear experts ,
i am working on Gateway service which creates Salesorder. its working fine. now i want add conditions to that SO in both header and item level. i extended the code for conditions but its not working. Guide me to resolve this problem.
when i debug the service i found an error that navigation property are not matching. see the code
LV_COMPARE_RESULT = IO_EXPAND->COMPARE_TO_TECH_NAMES( 'SOITEM/SOCOND' ).
i am getting error at above statement where i am using in deep_entity class.
Thankyou
thank you Ashwin for your response
i solved that problem by simply removing that
'IF lv_comp_result EQ /iwbep/if_mgw_odata_expand=>gcs_compare_result-match_equals.' from the code. its working fine now 🙂
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Venkatesh,
Please use the below code and check.
LV_COMPARE_RESULT = IO_EXPAND->COMPARE_TO_TECH_NAMES( iv_expand = 'SOITEM/SOCOND' ).
IF lv_comp_result EQ /iwbep/if_mgw_odata_expand=>gcs_compare_result-match_equals.
" Call your logic accordingly inside here
Endif.
Regards,
Ashwin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
9 | |
9 | |
9 | |
6 | |
6 | |
5 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.