SAP Reports / Programs | Sales and Distribution | Sales Support(SD-CAS) SAP SD

SDCAS_RECALL SAP ABAP Report - Address Selection - Batch Recall







SDCAS_RECALL is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). Below is the basic information available for this SAP report including which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC. Also check out the submitted Comments related to this SAP report or see any standard documentation available.

If you would like to execute this report or see the full code listing simply enter SDCAS_RECALL into the relevant SAP transactions such as SE38 or SE80


ABAP code to call this SAP report using the submit statement

This report can be called from another progam/report simply by using the ABAP SUBMIT statement, see below for example ABAP code snipts of how to do this.






SUBMIT SDCAS_RECALL. "Basic submit
SUBMIT SDCAS_RECALL AND RETURN. "Return to original report after report execution complete
SUBMIT SDCAS_RECALL VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Selection Text: CHARGE = Batch
Selection Text: DADRESSE = DADRESSE
Selection Text: KADRESSE = KADRESSE
Selection Text: KUNDE = Customer
Selection Text: KUNNR = Customer
Selection Text: MATNR = Material number
Selection Text: PADRESSE = PADRESSE
Selection Text: POTKUNDE = POTKUNDE
Selection Text: RB_KUNAG = Sold-to-party
Selection Text: RB_KUNWE = Ship-to-party
Selection Text: S_SPART = Division
Selection Text: S_VKORG = Sales Organization
Selection Text: S_VTWEG = Distribution Channel
Title: Address Selection - Batch Recall


INCLUDES used within this REPORT SDCAS_RECALL

INCLUDE LV43MDAT.


TABLES used within REPORT and the associated SELECT statement:





No SAP DATABASE tables are accessed within this REPORT code!


Function Modules used within report and the associated call statement:

SDCAS_ADDRESS_LIST_CREATE call function 'SDCAS_ADDRESS_LIST_CREATE' exporting fi_vbeln = p_vbeln fi_objtype = p_objtyp fi_listnr = p_listnr fi_version = p_versi fi_ernam = p_uname fi_selreport = sy-cprog fi_selvariant = p_vari fi_address_vtext = p_vtext fi_address_customer = kadresse fi_address_partner_privat = padresse fi_address_partner_office = dadresse fi_sortfield1 = 'NAME1_AP' fi_sortfield2 = 'NAME1' tables ft_kna1 = xkna1 "customer master ft_knvk = xknvk "contact partner exceptions no_document_number = 1 no_persons = 2 no_addresstype = 3 others = 4.

TEXT_SPLIT call function 'TEXT_SPLIT' exporting length = 50 text = error_message as_character = 50 importing line = lv_msgv1 rest = lv_msgv2.

TEXT_SPLIT call function 'TEXT_SPLIT' exporting length = 50 text = error_message as_character = 50 importing line = lv_msgv1 rest = lv_msgv2.

READ_TEXT call function 'READ_TEXT' exporting id = '0007' language = sy-langu name = lv_name object = 'VBKA' tables lines = lt_tline exceptions not_found = 4 others = 8.

REPLACE_STRING call function 'REPLACE_STRING' exporting i_searchstring = '&Material&' i_replacestring = matnr changing io_string = lv_mail_row exceptions string_not_found = 1 others = 2.

CONVERSION_EXIT_ALPHA_OUTPUT call function 'CONVERSION_EXIT_ALPHA_OUTPUT' exporting input = lv_charge_low importing output = lv_charge_low.

CONVERSION_EXIT_ALPHA_OUTPUT call function 'CONVERSION_EXIT_ALPHA_OUTPUT' exporting input = lv_charge_high importing output = lv_charge_high.

TEXT_SPLIT call function 'TEXT_SPLIT' exporting length = 50 text = lv_tmp_txt as_character = 50 importing line = lv_tmp_new_line rest = lv_tmp_remaining.

REPLACE_STRING call function 'REPLACE_STRING' exporting i_searchstring = '&ResponsibleName&' i_replacestring = gv_employee changing io_string = lv_mail_row exceptions string_not_found = 1 others = 2.

REPLACE_STRING call function 'REPLACE_STRING' exporting i_searchstring = '&CompanyName&' i_replacestring = gv_sold_to changing io_string = lv_mail_row exceptions string_not_found = 1 others = 2.

SAVE_TEXT call function 'SAVE_TEXT' exporting header = ls_theader savemode_direct = abap_true tables lines = lt_tline exceptions others = 5.

SD_PARTNER_READ call function 'SD_PARTNER_READ' exporting f_vbeln = lv_vbeln object = 'VBPA' iv_no_init = abap_true iv_parvw = 'ZM' iv_posnr = '000000' tables i_xvbadr = lt_xvbadr i_xvbpa = lt_xvbpa exceptions others = 2.

SD_PARTNER_READ call function 'SD_PARTNER_READ' exporting f_vbeln = lv_vbeln object = 'VBPA' iv_no_init = abap_true iv_parvw = 'AG' iv_posnr = '000000' tables i_xvbadr = lt_xvbadr i_xvbpa = lt_xvbpa exceptions others = 2.



Contribute (Add Comments)

Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.







The contribute/comments section below therefore offer's an opportunity for anyone to add additional information. This can be anything from useful hints, tips and screen shots to relevant SAP notes or anything else you feel is relevant to this report.

This will then be available for everyone to easily find by simply searching on the report name SDCAS_RECALL or its description.