Every time you use a BAPI to create a SAP Object there are several structures and tables that need to be filled in with the data requiered to complete the document. Most of the times these structures are acompanied by other structures that contains t...
Hi,I think you should fill the extension structures as follows:ls_extensionin-structure = 'BAPE_VBAP'.ls_extensionin-valuepart1 = [New field name].ls_extensionin-valuepart2 = [New field value].and for the extensionx ls_extensionin-structure = 'BAPE_V...
I think this should do the same but in one select.SELECT * FROM trdir INTO TABLE @DATA(lt_trdir)
WHERE name LIKE 'Z%'
AND ( subc = '1' OR ( subc = 'I' and varcl = @abap_true ) )
AND cdat GT '20210101'.
Why do not use a range with date type? That way ou can fill it according to the data you received in your parameters.Then use the range in your select. I think that is faster and easier to debug. Dynamic "where" have bad performance (or at least used...
I think this add-on can provide what you are asking for...ABAP Quick Fix Functions so far:
Remove all comments (do not delete pseudo comments and ADT comments)Remove all comments in selection (do not delete pseudo comments and ADT comments)Replace ic...
I use this code in Smartforms. I think it could work in a SapScript also.In case invoice is not digitally signed a short-dump will occur. DATA: source_object_pt TYPE cl_sipt_qrcode_pt=>source_object_pt, qrc_get_param TYPE cl_rdsv_qrcode=>qrcode_get...