Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Returning SAP standard error

Former Member
0 Likes
729

Hello,

I have created an RFC to replicate the functionality of VLMOVE (movement type 313) for creating a delivery.For this I have used some standard performs and I able to create the delivery by passing the required inputs(plant,storage location,HU).

But if there is an error in the standard perform then the flow stops and the screen displays the error.But I need to return the error in my RFC parameters which I am unable to do since the screen just stops after diplaying the error.Can any one tell me how to capture this error?

Points will be rewarded for helpful answers..!!

4 REPLIES 4
Read only

Former Member
0 Likes
687

I think We cant do any thing in this case, copy the standard performs and remove the error messages, place some flags instead.

Reward points if usefull.

Thanks,

Veerendranath .

Read only

0 Likes
687

Please provide me Program name and the line number where exactly it is raising the error message, I will look into this and let you know my update if any.

Reward points if usefull.

Thanks and regards,

Veerendranath maddula.

Read only

0 Likes
687

Veerendranath,

I also checked if this could be done but I not using just one perform but around 7-8 and copying all these into a custom one might not be so simple.

If you would like to have a look,then one of the perform name is

PERFORM GET_HU_DETAILS_NEW (saplle_mov)

CHANGING IF_EXIDV TYPE EXIDV

EF_HU_SUBRC

EF_HU_ID

Thanks,

A pothuneedi

Read only

marcelo_ramos1
SAP Mentor
SAP Mentor
0 Likes
687

Hi,

I think you can copy this standard perform( Include with perform ) and effect the error treatment in you "z" perform . With this you can pass this error to your RFC exceptions.

Regards.

Marcelo Ramos