2024 Dec 26 5:15 PM - edited 2025 Jan 01 7:08 AM
Dear Experts,
@Andre_Fischer, @Sandra_Rossi.
Could u pls help us on below reqr.
Q: In Abap RAP Fiori list reporting using custom buttons only for posting of GL items. (No draft)
In BD implement code.
Unmanaged implementation zbp_journel item as unique:
{ create;update // dummy
fields { read only } company code,period,-----profitcenter ; //Amount, Status;
Fields {readonly; update} Amount, document, status.
Action <post> results [1] $self;
}
Method Post.
Read entities of zbp_i_glitem in local mode Entity <entity> All fields with corresponding #(Keys) Result lt_results failed lt_failed.
<Processing logic> Fi posting.
Modify entities of zbp_i_glitem\ in local mode entity zbp_i_glitem Update fields ( document, status) With values #(( for <ln> in lt_result ( " %tky = ln-%tky Companycode = key-value Period = key-value Document = ln-value Status = ln-value )).
"" Read entities
Results = value #( for ln in lt_results( %tky = ln-%tky %pky = ln-%pky company code= ln-value1, period = ln-value, document = ln-value, status field = ln-value).
Request clarification before answering.
| User | Count |
|---|---|
| 18 | |
| 7 | |
| 6 | |
| 6 | |
| 6 | |
| 4 | |
| 3 | |
| 3 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.