on 11-15-2016 11:41 AM
If anyone Knows Please Help Me!
Hi Koteswara,
To call the retrieve : ret = Custombo.Retrieve(id);
You need to assign value for the "id" field.
Thanks, Pradeep.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi KReddy,
ret = Custombo.Retrieve(id);
Before you call the above statement, you need to fill value to the field id.
Thanks, Pradeep.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi KReddy,
Ex:
Retrieve: https://archive.sap.com/discussions/thread/3619043
Query: https://archive.sap.com/discussions/message/16737918#16737918
Thanks, Pradeep.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Pradeep,
import AP.Common.GDT as apCommonGDT;
businessobject Custombo {
[AlternativeKey] element ID : ID;
element H_Name : LANGUAGEINDEPENDENT_MEDIUM_Name;
element Amount :Amount;
}
///I need to fetch the data from above BO to below BO
import AP.Common.GDT as apCommonGDT;
businessobject Retrievebo {
[AlternativeKey] element MID : ID;
element MName : LANGUAGEINDEPENDENT_MEDIUM_Name;
element MAmount : Amount;
association ToCustombo to Custombo;
}
///In script file i given retrieve method
var ret;
var id : Custombo.ID;
ret = Custombo.Retrieve(id);
this.MID = ret.ID;
this.MName = ret.H_Name;
this.MAmount = ret.Amount;
///But i am not getting output. if you know please help me pradeep.
Hi Horst Schaude,
Thank you for your valuable advice,
If you have any documents please share me.
Why Because I did not get any documents in this blog.
Thanks&Regards,
KReddy.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Koteswara,
There are some execellent eamples in the documentation. 🙂
Did you read them?
Bye,
Horst
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Horst Schaude,
Thank you for your valuable advice,
If you have any documents please share me.
Why Because I did not get any documents in this blog.
Thanksℜgards,
KReddy.
User | Count |
---|---|
3 | |
2 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.