To edit the shipping point information (data stored into TVST table), use transaction OVXD.
Search tag: d’expé, d’expédition, VSTEL
To edit the shipping point information (data stored into TVST table), use transaction OVXD.
Search tag: d’expé, d’expédition, VSTEL
The method below enables to convert standard texts to string (with carriage returns). It can be useful when standard texts need to be changed or completed before being printed on Adobe forms.
(Otherwise, it is recommanded to use the standard text objet for Adobe forms).
Check program SAPHTML_EVENTS_DEMO.
When input parameters of Bapi ACC_DOCUMENT_POST do not enable to pass BKPF or BSEG fields, it is necessary to pass theses data to LT_EXTENTION2 table and implement the Badi ACC_DOCUMENT.
This code manage dynamically field affectation from LT_EXTENTION2 to corresponding fields.
To be added in class implementation of BADI ACC_DOCUMENT, method change.
METHOD if_ex_acc_document~change.
DATA: wa_extension TYPE bapiparex,
wa_accit TYPE accit.
DATA : lv_field_name TYPE char100.
FIELD-SYMBOLS : TYPE ANY,
TYPE ACCIT.
LOOP AT c_extension2 INTO wa_extension.
IF wa_extension-structure = 'BKPF'.
CONCATENATE 'C_ACCHD-' wa_extension-valuepart2 INTO lv_field_name.
ASSIGN (lv_field_name) TO .
IF IS ASSIGNED.
= wa_extension-valuepart3.
ENDIF.
ENDIF.
IF wa_extension-structure = 'BSEG'.
READ TABLE c_accit ASSIGNING WITH KEY posnr = wa_extension-valuepart1.
IF sy-subrc IS INITIAL.
CONCATENATE '-' wa_extension-valuepart2 INTO lv_field_name.
ASSIGN (lv_field_name) TO .
IF IS ASSIGNED.
= wa_extension-valuepart3.
ENDIF.
ENDIF.
ENDIF.
ENDLOOP.
ENDMETHOD.
Search tags : FI,
Sample code :
PARAMETERS : p_field TYPE ztype AS LISTBOX VISIBLE LENGTH 25.
* If the ZTYPE has a domain with values, values will be autmatically
* displayed.
If your type has no values in domain or if you want to change the dropdown list values use FM VRM_SET_VALUES in initialization:
Read MoreSometimes you need to edit standard object.
When you implement notes for instance, you may have to edit standard object by doing manual actions.
To do that, an access key is required.
To get an access key, you need to have a S-USER linked to your SAP installation to access the SAP portal applications.
Read MoreUse transaction SO15 or SO23.
https://wiki.scn.sap.com/wiki/display/SI/Transaction+SO15+and+SO23+-+Distribution+lists
Search tag: mail, email, liste
To hide a subform using javascript according a context node value in Adobe form :
// data.MAIN.SUBFORM_TO_HIDE::ready:form - (JavaScript, client)
var fieldToCheck= xfa.resolveNode("$record.MAIN.FIELD_VALUE");
if(fieldToCheck.value == null || fieldToCheck.value == "") {
this.presence = "hidden";
}
Check this post : https://wiki.scn.sap.com/wiki/display/ABAP/Print+Duplex+from+SAP
The duplex printing of the adobe PDF forms can be achieved by setting the parameter available on Master Page of Adobe PDF.
This option is available in Adobe Live Cycle Designer 8.0 version.
The option is in the object view of the master page.
As it is not possible to do joins with cluster table, this is the code to get change documents data merged between tables CDHDR and CDPOS.
The goal is to get an internal table like :