Open vivekaccentt opened 9 months ago
@anfisc - Could you please help me here for this error in RAP610 scenario??
Hi Andre,
Just an update on this blog, I debugged the code and found that the data being passed was not correct and due to which exception was being raised. The main problem is that the failed or reported tables don't capture any errors that leads to an exception when CONVERY KEY statement is executed. I had to debug to check the lt_messages table which contains all the messages in method - if_mm_pur_pr_rap_item_handler~create_item_acc_by_assoc of class CL_MM_PUR_PR_RAP_ITEM_HANDLER
This looks like an SAP bug to me.. Can u please check and guide me accordingly?
I can see some other community posts with same query -
https://community.sap.com/t5/technology-q-a/problem-in-rap-bo-i-purchaserequisitiontp/qaq-p/12736218
I have the same issue like you. Did you resolve it?
I faced the same problem and it turned out, that the used material D001 is not valid.
When using the debugger, in line 170 (using the current code of the exercise) I noticed that the reported_late included the message that the material is not valid - however, this message is not displayed to the user but instead the convert key function fails.
So for me it did the trick to search for a valid material that is existing (TG10 in my case).
Hi team,
I need help.. I am working on RAP 610 scenario and facing issue while running the test class created for creation of Purchase requisition. I am getting following runtime error - Could you please review and help?? I am using S/4HANA on Prem 2023 system, created package with ABAP on cloud SW component version to develop this Embedded Steampunk scenario.
Convert Key statement is going into runtime error -
LOOP AT mapped-purchaserequisition ASSIGNING FIELD-SYMBOL().
CONVERT KEY OF i_purchaserequisitiontp FROM -%pid TO DATA(ls_ctr).