Press n or j to go to the next uncovered block, b, p or k for the previous block.
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 | 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x | const {cx_root} = await import("./cx_root.clas.mjs");
// cl_bcs.clas.abap
class cl_bcs {
static STATIC_SUPER = undefined;
static INTERNAL_TYPE = 'CLAS';
static INTERNAL_NAME = 'CL_BCS';
static IMPLEMENTED_INTERFACES = [];
static ATTRIBUTES = {};
static METHODS = {"CREATE_PERSISTENT": {"visibility": "U", "parameters": {"RESULT": {"type": () => {return new abap.types.ABAPObject({qualifiedName: "CL_BCS", RTTIName: "\\CLASS=CL_BCS"});}, "is_optional": " ", "parm_kind": "R", "type_name": "ObjectReferenceType"}}},
"ADD_RECIPIENT": {"visibility": "U", "parameters": {"I_RECIPIENT": {"type": () => {return new abap.types.ABAPObject({qualifiedName: "IF_RECIPIENT_BCS", RTTIName: "\\INTERFACE=IF_RECIPIENT_BCS"});}, "is_optional": " ", "parm_kind": "I", "type_name": "ObjectReferenceType"}, "I_EXPRESS": {"type": () => {return new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"});}, "is_optional": " ", "parm_kind": "I", "type_name": "CharacterType"}, "I_COPY": {"type": () => {return new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"});}, "is_optional": " ", "parm_kind": "I", "type_name": "CharacterType"}, "I_BLIND_COPY": {"type": () => {return new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"});}, "is_optional": " ", "parm_kind": "I", "type_name": "CharacterType"}, "I_NO_FORWARD": {"type": () => {return new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"});}, "is_optional": " ", "parm_kind": "I", "type_name": "CharacterType"}}},
"SET_SENDER": {"visibility": "U", "parameters": {"I_SENDER": {"type": () => {return new abap.types.ABAPObject({qualifiedName: "IF_SENDER_BCS", RTTIName: "\\INTERFACE=IF_SENDER_BCS"});}, "is_optional": " ", "parm_kind": "I", "type_name": "ObjectReferenceType"}}},
"SET_STATUS_ATTRIBUTES": {"visibility": "U", "parameters": {"I_REQUESTED_STATUS": {"type": () => {return new abap.types.Character(4);}, "is_optional": " ", "parm_kind": "I", "type_name": "AnyType"}, "I_STATUS_MAIL": {"type": () => {return new abap.types.Character(4);}, "is_optional": " ", "parm_kind": "I", "type_name": "AnyType"}}},
"SET_DOCUMENT": {"visibility": "U", "parameters": {"I_DOCUMENT": {"type": () => {return new abap.types.ABAPObject({qualifiedName: "IF_DOCUMENT_BCS", RTTIName: "\\INTERFACE=IF_DOCUMENT_BCS"});}, "is_optional": " ", "parm_kind": "I", "type_name": "ObjectReferenceType"}}},
"SET_MESSAGE_SUBJECT": {"visibility": "U", "parameters": {"IP_SUBJECT": {"type": () => {return new abap.types.String({qualifiedName: "STRING"});}, "is_optional": " ", "parm_kind": "I", "type_name": "StringType"}}},
"SEND": {"visibility": "U", "parameters": {"RESULT": {"type": () => {return new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"});}, "is_optional": " ", "parm_kind": "R", "type_name": "CharacterType"}, "I_WITH_ERROR_SCREEN": {"type": () => {return new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"});}, "is_optional": " ", "parm_kind": "I", "type_name": "CharacterType"}}},
"SET_SEND_IMMEDIATELY": {"visibility": "U", "parameters": {"I_SEND_IMMEDIATELY": {"type": () => {return new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"});}, "is_optional": " ", "parm_kind": "I", "type_name": "CharacterType"}}}};
constructor() {
this.me = new abap.types.ABAPObject();
this.me.set(this);
this.INTERNAL_ID = abap.internalIdCounter++;
this.FRIENDS_ACCESS_INSTANCE = {
"add_recipient": this.add_recipient.bind(this),
"set_sender": this.set_sender.bind(this),
"set_status_attributes": this.set_status_attributes.bind(this),
"set_document": this.set_document.bind(this),
"set_message_subject": this.set_message_subject.bind(this),
"send": this.send.bind(this),
"set_send_immediately": this.set_send_immediately.bind(this),
};
}
async constructor_(INPUT) {
if (super.constructor_) { await super.constructor_(INPUT); }
return this;
}
async set_document(INPUT) {
let i_document = INPUT?.i_document;
if (i_document?.getQualifiedName === undefined || i_document.getQualifiedName() !== "IF_DOCUMENT_BCS") { i_document = undefined; }
if (i_document === undefined) { i_document = new abap.types.ABAPObject({qualifiedName: "IF_DOCUMENT_BCS", RTTIName: "\\INTERFACE=IF_DOCUMENT_BCS"}).set(INPUT.i_document); }
abap.statements.assert(abap.compare.eq(abap.IntegerFactory.get(1), abap.CharacterFactory.get(4, 'todo')));
}
async set_status_attributes(INPUT) {
let i_requested_status = INPUT?.i_requested_status;
let i_status_mail = INPUT?.i_status_mail || new abap.types.Character(4);
abap.statements.assert(abap.compare.eq(abap.IntegerFactory.get(1), abap.CharacterFactory.get(4, 'todo')));
}
async set_send_immediately(INPUT) {
let i_send_immediately = INPUT?.i_send_immediately;
if (i_send_immediately?.getQualifiedName === undefined || i_send_immediately.getQualifiedName() !== "ABAP_BOOL") { i_send_immediately = undefined; }
if (i_send_immediately === undefined) { i_send_immediately = new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"}).set(INPUT.i_send_immediately); }
abap.statements.assert(abap.compare.eq(abap.IntegerFactory.get(1), abap.CharacterFactory.get(4, 'todo')));
}
async set_message_subject(INPUT) {
let ip_subject = INPUT?.ip_subject;
if (ip_subject?.getQualifiedName === undefined || ip_subject.getQualifiedName() !== "STRING") { ip_subject = undefined; }
if (ip_subject === undefined) { ip_subject = new abap.types.String({qualifiedName: "STRING"}).set(INPUT.ip_subject); }
abap.statements.assert(abap.compare.eq(abap.IntegerFactory.get(1), abap.CharacterFactory.get(4, 'todo')));
}
async set_sender(INPUT) {
let i_sender = INPUT?.i_sender;
if (i_sender?.getQualifiedName === undefined || i_sender.getQualifiedName() !== "IF_SENDER_BCS") { i_sender = undefined; }
if (i_sender === undefined) { i_sender = new abap.types.ABAPObject({qualifiedName: "IF_SENDER_BCS", RTTIName: "\\INTERFACE=IF_SENDER_BCS"}).set(INPUT.i_sender); }
abap.statements.assert(abap.compare.eq(abap.IntegerFactory.get(1), abap.CharacterFactory.get(4, 'todo')));
}
async send(INPUT) {
let result = new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"});
let i_with_error_screen = new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"});
if (INPUT && INPUT.i_with_error_screen) {i_with_error_screen.set(INPUT.i_with_error_screen);}
if (INPUT === undefined || INPUT.i_with_error_screen === undefined) {i_with_error_screen = abap.builtin.abap_false;}
abap.statements.assert(abap.compare.eq(abap.IntegerFactory.get(1), abap.CharacterFactory.get(4, 'todo')));
return result;
}
async create_persistent() {
return cl_bcs.create_persistent();
}
static async create_persistent() {
let result = new abap.types.ABAPObject({qualifiedName: "CL_BCS", RTTIName: "\\CLASS=CL_BCS"});
abap.statements.assert(abap.compare.eq(abap.IntegerFactory.get(1), abap.CharacterFactory.get(4, 'todo')));
return result;
}
async add_recipient(INPUT) {
let i_recipient = INPUT?.i_recipient;
if (i_recipient?.getQualifiedName === undefined || i_recipient.getQualifiedName() !== "IF_RECIPIENT_BCS") { i_recipient = undefined; }
if (i_recipient === undefined) { i_recipient = new abap.types.ABAPObject({qualifiedName: "IF_RECIPIENT_BCS", RTTIName: "\\INTERFACE=IF_RECIPIENT_BCS"}).set(INPUT.i_recipient); }
let i_express = new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"});
if (INPUT && INPUT.i_express) {i_express.set(INPUT.i_express);}
let i_copy = new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"});
if (INPUT && INPUT.i_copy) {i_copy.set(INPUT.i_copy);}
let i_blind_copy = new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"});
if (INPUT && INPUT.i_blind_copy) {i_blind_copy.set(INPUT.i_blind_copy);}
let i_no_forward = new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"});
if (INPUT && INPUT.i_no_forward) {i_no_forward.set(INPUT.i_no_forward);}
abap.statements.assert(abap.compare.eq(abap.IntegerFactory.get(1), abap.CharacterFactory.get(4, 'todo')));
}
}
abap.Classes['CL_BCS'] = cl_bcs;
export {cl_bcs}; |