cancel
Showing results for 
Search instead for 
Did you mean: 

SD_ORDER_CREDIT_RELEASE return message

former_member185875
Contributor
0 Kudos

Hi abap gurus...

if i execute the FM

SD_ORDER_CREDIT_RELEASE

it display the message

"Sales Order XXXXX saved"

but i need the return message in import or tables parameters.

could u please help me..

lakshman..

Accepted Solutions (0)

Answers (3)

Answers (3)

former_member185875
Contributor
0 Kudos

i have posted this question in abap general.

and i get the answer

i slove the problem by using FROMATE_MESSAGE

FM.

Former Member
0 Kudos

Hi,

the function module you are refering to is SAP standard FM, so it is not possible to change it. So copy the existing FM to Z function module and then make the required changes.

Function of FM

FM will take the incoming data , make the required changes or process the data and then pass on the processed data to the program as output Also in the FM each TAB have different functionality.

Import

Input to the function module is specified under this TAB by specifying the field and also if the field is mentioned as import then it cannot be used to return a value to the program

Export

this is used to pass on the processed data to program as output.

Table

if you are passing data in form of a table i.e not single field but multiple field then this field should be used

Hope this is clear with you now

former_member185875
Contributor
0 Kudos

Hi Bhaskar

but i need the return message in import or tables parameters.

sorry it's a mistake it's not import it is export

but i need the return message in export or tables parameters.

lakshman

former_member185875
Contributor
0 Kudos

Hi Bhaskar,

So copy the existing FM to Z function module and then make the required changes.

i have copied it in my z function module.

i forward the sales docment no to SD_ORDER_CREDIT_RELEASE FM

and i debugged it.

but i did find from where message is comming?

lakshman

Former Member
0 Kudos

HI

It seems you have posted it in a wrong forum

regards

former_member185875
Contributor
0 Kudos

hi rithvika,

i think the same but i have confusion..

so please suggest me where can i post it..

lakshman