on 2025 Jan 09 2:22 AM
Hi team
I have this dump when i use i_journalentry_tp to post a Fi document
in my case y only create a demo code in a SE38 report using I_JOURNALENTRYTP
DATA lt_new TYPE TABLE FOR ACTION IMPORT i_journalentrytp~Post.
INSERT VALUE #(
%cid = to_upper( cl_uuid_factory=>create_system_uuid( )->create_uuid_x16( ) )
%param = VALUE #(
companycode = '1000'
createdbyuser = sy-uname
accountingdocumenttype = 'SA'
documentdate = '20250108'
postingdate = cl_abap_context_info=>get_system_date( )
DocumentReferenceID = |RAP: { sy-uname }|
_glitems = VALUE #(
* ( glaccountlineitem = '1' glaccount = '0011002080' _currencyamount = VALUE #( ( journalentryitemamount = '-100.55' currency = 'EUR' ) ) )
( glaccountlineitem = '1' glaccount = '824004' CostCenter = '12008' _currencyamount = VALUE #( ( journalentryitemamount = '-10.55' currency = 'ARS' ) ) )
* ( glaccountlineitem = '2' glaccount = '0070200000' _currencyamount = VALUE #( ( journalentryitemamount = '100.55' currency = 'EUR' ) ) ) ) ) )
( glaccountlineitem = '2' glaccount = '130011' _currencyamount = VALUE #( ( journalentryitemamount = '10.55' currency = 'ARS' ) ) ) ) ) )
INTO TABLE lt_new.
MODIFY ENTITIES OF i_journalentrytp
ENTITY journalentry
EXECUTE post FROM lt_new
FAILED DATA(ls_failed_deep)
REPORTED DATA(ls_reported_deep).
but I have a dump. My system is S/4HANA private edition 2023
I debug and jump over the function in update task, because the table parameter LT_WTAK was empty in may case
and then it works
but I don't understand why the I_journalentry_tp call this function module as FB01 do if behaviour can't call functions in update task
Could someone solve this dump?
Best regards!
Request clarification before answering.
| User | Count |
|---|---|
| 22 | |
| 15 | |
| 14 | |
| 5 | |
| 4 | |
| 3 | |
| 2 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.