This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
METHOD if_ex_me_process_po_cust~check. | |
* Check the purchase order type and save the text | |
DATA: lv_tdid TYPE tdid, | |
lv_texttype TYPE mmpur_texttypes, | |
lt_text_lines TYPE mmpur_t_textlines, | |
lt_text_format TYPE mmpur_bool, | |
lv_header TYPE mepoheader, | |
lv_lines TYPE i. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
REPORT zpo_texts. | |
TABLES: ekko. | |
TYPE-POOLS : abap, slis, rsanm, icon. | |
DATA: lt_ekko TYPE STANDARD TABLE OF ekko. | |
DATA: l_rec(5) TYPE n. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
*&---------------------------------------------------------------------* | |
*& Report Creating a vendor, sample API coding | |
*& | |
*&---------------------------------------------------------------------* | |
*& Test for creation of vendor | |
*& | |
*&---------------------------------------------------------------------* | |
REPORT ydemo. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var string = this.rawValue; | |
var pattern = /[^A-Z]/; | |
if (!this.isNull) | |
{ | |
if (pattern.test(string)) | |
{ | |
xfa.host.messageBox("Please enter Initials in UpperCase having no blank spaces. Do not use any special characters, for eg: ^ - \\\ . /", "UpperCase characters."); this.rawValue = null; | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
data.Page1.Personal_Details.Personal_Details_Fields.Original_Data1.HSNMR1[1]::preSave - (FormCalc, client) | |
if (STRAS1[0].rawValue <> null) then | |
if (ORT021[1].rawValue == null or PSTLZ1[0].rawValue == null or ORT011[0].rawValue == null or STRAS1[0].rawValue == null) then | |
xfa.host.messageBox("Please supply at least Street Name, District/Suburb, City and Postal Code. Full address must be supplied for changes.", "Residential Address", 3, 1) | |
endif | |
elseif (POSTA1[0].rawValue <> null) then | |
if (ORT021[1].rawValue == null or PSTLZ1[0].rawValue == null or ORT011[0].rawValue == null or STRAS1[0].rawValue == null) then | |
xfa.host.messageBox("Please supply at least Street Name, District/Suburb, City and Postal Code. Full address must be supplied for changes.", "Residential Address", 3, 1) | |
endif | |
elseif (LOCAT1[0].rawValue <> null) then |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
report ydemo1. | |
DATA: | |
gv_vendor type table of lfa1. | |
DATA: | |
gs_component TYPE abap_compdescr, | |
go_typedescr TYPE REF TO cl_abap_typedescr, | |
go_strucdescr TYPE REF TO cl_abap_structdescr, | |
go_tabledescr TYPE REF TO cl_abap_tabledescr. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
report ydemo1. | |
DATA: lo_sdescr TYPE REF TO cl_abap_structdescr, | |
ls_component TYPE abap_compdescr. | |
lo_sdescr ?= cl_abap_typedescr=>describe_by_name( 'LFA1' ). | |
LOOP AT lo_sdescr->components INTO ls_component. | |
WRITE: / ls_component-name. | |
ENDLOOP. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
*&---------------------------------------------------------------------* | |
*& Report YMAIL | |
*& | |
*&---------------------------------------------------------------------* | |
*& | |
*& | |
*&---------------------------------------------------------------------* | |
REPORT ymail. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
DATA: lt_param TYPE tihttpnvp, | |
ls_param TYPE ihttpnvp, | |
ls_url TYPE string. | |
* Set up configuration ID for calling the Web Dynpro | |
MOVE 'WDCONFIGURATIONID' TO ls_param-name. | |
MOVE 'ZSD_SD_INV_REQ_CREATE' TO ls_param-value. | |
APPEND ls_param TO lt_param. | |
* Set up the parameter that need to be passed into Web Dynpro |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* Local data | |
data: lo_fpm type ref to if_fpm, | |
lo_event type ref to cl_fpm_event. | |
* Create the object | |
create object lo_event | |
exporting | |
iv_event_id ='DELETE_AIRPORT'. | |
* Set the parameters |
OlderNewer