Posts

Showing posts from August, 2019

Posting Document BAPI_ACC_DOCUMENT_POST

some time requirements to post document with help of this documents we can post the documents *&---------------------------------------------------------------------* *&  Include           ZFI_R_INS_POST_F01 *&---------------------------------------------------------------------* *&---------------------------------------------------------------------* *&      Form  CLEAR_DATA *&---------------------------------------------------------------------* *       text *----------------------------------------------------------------------* *  -->  p1        text *  <--  p2        text *----------------------------------------------------------------------* FORM  clear_data  . ENDFORM .                     " CLEAR_DATA *&---------------------------------------------------------------------* *&      Form  F_DISPLAY *&---------------------------------------------------------------------* *       text *--------------------------

Requirment to save delivery one field to likp table for this purpose we have to implemented one delivery

Image
BADI NAME: LE_SHP_DELIVERY_PROC

How to Delete duplicate Entry to search help

Image
PARAMETERS  s_batch  TYPE  zbatch_h2h - batch_no OBLIGATORY  MATCHCODE  OBJECT ZPAYMENT_SERACH .

Uplode file to excel to internal table

CALL FUNCTION  'TEXT_CONVERT_ XLS_TO_SAP'      EXPORTING *     I_FIELD_SEPERATOR           =      i_line_header                =  'X'       i_tab_raw_data               =  lt_type       i_filename                   =  p_file      TABLES       i_tab_converted_data         =  it_upload *   EXCEPTIONS *     CONVERSION_FAILED           = 1 *     OTHERS                      = 2              .    IF  sy - subrc <>  0 . * Implement suitable error  handling here    ENDIF . *  CALL FUNCTION 'ALSM_EXCEL_ TO_INTERNAL_TABLE' *    EXPORTING *      filename    = p_file *      i_begin_col = '1' *      i_begin_row = '2' *      i_end_col   = '17' *      i_end_row   = '9999' *    TABLES *      intern      = it_inter. * * *  IF sy-subrc NE  0. *    MESSAGE ID sy-msgid *            TYPE sy-msgty *            NUMBER sy-msgno *            WITH sy-msgv1 sy- msgv2 sy-msgv3 sy-msgv4. *  ELSE. * * *    LOOP AT it_inter INTO wa_ inter. *      CLEAR: