SAP Function Modules

J_7LD_WRITE_DOCUMENT SAP Function module - CHDO J_7LD => Gen. by RSSCD000







J_7LD_WRITE_DOCUMENT is a standard SAP function module available within R/3 SAP systems depending on your version and release level. Below is the pattern details for this FM showing its interface including any import and export parameters, exceptions etc as well as any documentation contributions (Comments) specific to the object.

See here to view full function module documentation and code listing, simply by entering the name J_7LD_WRITE_DOCUMENT into the relevant SAP transaction such as SE37 or SE80.

Associated Function Group: J7LDC
Released Date: Not Released
Processing type: Start of update delayed (Start Delayed)
update module start delayed settings


Pattern for FM J_7LD_WRITE_DOCUMENT - J 7LD WRITE DOCUMENT





CALL FUNCTION 'J_7LD_WRITE_DOCUMENT' "CHDO J_7LD => Gen. by RSSCD000
  EXPORTING
    objectid =                  " cdhdr-objectid
    tcode =                     " cdhdr-tcode
    utime =                     " cdhdr-utime
    udate =                     " cdhdr-udate
    username =                  " cdhdr-username
    planned_change_number = SPACE  " cdhdr-planchngnr
    object_change_indicator = 'U'  " cdhdr-change_ind
    planned_or_real_changes = SPACE  " cdhdr-change_ind
    no_change_pointers = SPACE  " cdhdr-change_ind
    upd_icdtxt_j_7ld = SPACE    " cdpos-chngind
    upd_j_7lc03 = SPACE         " cdpos-chngind
    upd_j_7lc04 = SPACE         " cdpos-chngind
    upd_j_7lc05 = SPACE         " cdpos-chngind
    upd_j_7lc06 = SPACE         " cdpos-chngind
    upd_j_7lc07 = SPACE         " cdpos-chngind
    upd_j_7lc13 = SPACE         " cdpos-chngind
    upd_j_7lc14 = SPACE         " cdpos-chngind
    upd_j_7lc15 = SPACE         " cdpos-chngind
    upd_j_7lc28 = SPACE         " cdpos-chngind
    upd_j_7lc29 = SPACE         " cdpos-chngind
    upd_j_7lc32 = SPACE         " cdpos-chngind
    upd_j_7lc41 = SPACE         " cdpos-chngind
    upd_j_7lc44 = SPACE         " cdpos-chngind
    upd_j_7lc48 = SPACE         " cdpos-chngind
    upd_j_7lc49 = SPACE         " cdpos-chngind
  TABLES
    icdtxt_j_7ld =              " cdtxt
    xj_7lc03 =                  " j_7lcd_j_7lc03
    yj_7lc03 =                  " j_7lcd_j_7lc03
    xj_7lc04 =                  " j_7lcd_j_7lc04
    yj_7lc04 =                  " j_7lcd_j_7lc04
    xj_7lc05 =                  " j_7lcd_j_7lc05
    yj_7lc05 =                  " j_7lcd_j_7lc05
    xj_7lc06 =                  " j_7lcd_j_7lc06
    yj_7lc06 =                  " j_7lcd_j_7lc06
    xj_7lc07 =                  " j_7lcd_j_7lc07
    yj_7lc07 =                  " j_7lcd_j_7lc07
    xj_7lc13 =                  " j_7lcd_j_7lc13
    yj_7lc13 =                  " j_7lcd_j_7lc13
    xj_7lc14 =                  " j_7lcd_j_7lc14
    yj_7lc14 =                  " j_7lcd_j_7lc14
    xj_7lc15 =                  " j_7lcd_j_7lc15
    yj_7lc15 =                  " j_7lcd_j_7lc15
    xj_7lc28 =                  " j_7lcd_j_7lc28
    yj_7lc28 =                  " j_7lcd_j_7lc28
    xj_7lc29 =                  " j_7lcd_j_7lc29
    yj_7lc29 =                  " j_7lcd_j_7lc29
    xj_7lc32 =                  " j_7lcd_j_7lc32
    yj_7lc32 =                  " j_7lcd_j_7lc32
    xj_7lc41 =                  " j_7lcd_j_7lc41
    yj_7lc41 =                  " j_7lcd_j_7lc41
    xj_7lc44 =                  " j_7lcd_j_7lc44
    yj_7lc44 =                  " j_7lcd_j_7lc44
    xj_7lc48 =                  " j_7lcd_j_7lc48
    yj_7lc48 =                  " j_7lcd_j_7lc48
    xj_7lc49 =                  " j_7lcd_j_7lc49
    yj_7lc49 =                  " j_7lcd_j_7lc49
    .  "  J_7LD_WRITE_DOCUMENT

ABAP code example for Function Module J_7LD_WRITE_DOCUMENT





The ABAP code below is a full code listing to execute function module J_7LD_WRITE_DOCUMENT including all data declarations. The code uses the latest in-line data DECLARATION SYNTAX but I have included an ABAP code snippet at the end to show how declarations would look using the original method of declaring data variables up front. This will allow you to compare and fully understand the new inline method. Please note some of the newer syntax such as the @DATA is not available until a later 4.70 service pack (SP8).

DATA:
it_icdtxt_j_7ld  TYPE STANDARD TABLE OF CDTXT,"TABLES PARAM
wa_icdtxt_j_7ld  LIKE LINE OF it_icdtxt_j_7ld ,
it_xj_7lc03  TYPE STANDARD TABLE OF J_7LCD_J_7LC03,"TABLES PARAM
wa_xj_7lc03  LIKE LINE OF it_xj_7lc03 ,
it_yj_7lc03  TYPE STANDARD TABLE OF J_7LCD_J_7LC03,"TABLES PARAM
wa_yj_7lc03  LIKE LINE OF it_yj_7lc03 ,
it_xj_7lc04  TYPE STANDARD TABLE OF J_7LCD_J_7LC04,"TABLES PARAM
wa_xj_7lc04  LIKE LINE OF it_xj_7lc04 ,
it_yj_7lc04  TYPE STANDARD TABLE OF J_7LCD_J_7LC04,"TABLES PARAM
wa_yj_7lc04  LIKE LINE OF it_yj_7lc04 ,
it_xj_7lc05  TYPE STANDARD TABLE OF J_7LCD_J_7LC05,"TABLES PARAM
wa_xj_7lc05  LIKE LINE OF it_xj_7lc05 ,
it_yj_7lc05  TYPE STANDARD TABLE OF J_7LCD_J_7LC05,"TABLES PARAM
wa_yj_7lc05  LIKE LINE OF it_yj_7lc05 ,
it_xj_7lc06  TYPE STANDARD TABLE OF J_7LCD_J_7LC06,"TABLES PARAM
wa_xj_7lc06  LIKE LINE OF it_xj_7lc06 ,
it_yj_7lc06  TYPE STANDARD TABLE OF J_7LCD_J_7LC06,"TABLES PARAM
wa_yj_7lc06  LIKE LINE OF it_yj_7lc06 ,
it_xj_7lc07  TYPE STANDARD TABLE OF J_7LCD_J_7LC07,"TABLES PARAM
wa_xj_7lc07  LIKE LINE OF it_xj_7lc07 ,
it_yj_7lc07  TYPE STANDARD TABLE OF J_7LCD_J_7LC07,"TABLES PARAM
wa_yj_7lc07  LIKE LINE OF it_yj_7lc07 ,
it_xj_7lc13  TYPE STANDARD TABLE OF J_7LCD_J_7LC13,"TABLES PARAM
wa_xj_7lc13  LIKE LINE OF it_xj_7lc13 ,
it_yj_7lc13  TYPE STANDARD TABLE OF J_7LCD_J_7LC13,"TABLES PARAM
wa_yj_7lc13  LIKE LINE OF it_yj_7lc13 ,
it_xj_7lc14  TYPE STANDARD TABLE OF J_7LCD_J_7LC14,"TABLES PARAM
wa_xj_7lc14  LIKE LINE OF it_xj_7lc14 ,
it_yj_7lc14  TYPE STANDARD TABLE OF J_7LCD_J_7LC14,"TABLES PARAM
wa_yj_7lc14  LIKE LINE OF it_yj_7lc14 ,
it_xj_7lc15  TYPE STANDARD TABLE OF J_7LCD_J_7LC15,"TABLES PARAM
wa_xj_7lc15  LIKE LINE OF it_xj_7lc15 ,
it_yj_7lc15  TYPE STANDARD TABLE OF J_7LCD_J_7LC15,"TABLES PARAM
wa_yj_7lc15  LIKE LINE OF it_yj_7lc15 ,
it_xj_7lc28  TYPE STANDARD TABLE OF J_7LCD_J_7LC28,"TABLES PARAM
wa_xj_7lc28  LIKE LINE OF it_xj_7lc28 ,
it_yj_7lc28  TYPE STANDARD TABLE OF J_7LCD_J_7LC28,"TABLES PARAM
wa_yj_7lc28  LIKE LINE OF it_yj_7lc28 ,
it_xj_7lc29  TYPE STANDARD TABLE OF J_7LCD_J_7LC29,"TABLES PARAM
wa_xj_7lc29  LIKE LINE OF it_xj_7lc29 ,
it_yj_7lc29  TYPE STANDARD TABLE OF J_7LCD_J_7LC29,"TABLES PARAM
wa_yj_7lc29  LIKE LINE OF it_yj_7lc29 ,
it_xj_7lc32  TYPE STANDARD TABLE OF J_7LCD_J_7LC32,"TABLES PARAM
wa_xj_7lc32  LIKE LINE OF it_xj_7lc32 ,
it_yj_7lc32  TYPE STANDARD TABLE OF J_7LCD_J_7LC32,"TABLES PARAM
wa_yj_7lc32  LIKE LINE OF it_yj_7lc32 ,
it_xj_7lc41  TYPE STANDARD TABLE OF J_7LCD_J_7LC41,"TABLES PARAM
wa_xj_7lc41  LIKE LINE OF it_xj_7lc41 ,
it_yj_7lc41  TYPE STANDARD TABLE OF J_7LCD_J_7LC41,"TABLES PARAM
wa_yj_7lc41  LIKE LINE OF it_yj_7lc41 ,
it_xj_7lc44  TYPE STANDARD TABLE OF J_7LCD_J_7LC44,"TABLES PARAM
wa_xj_7lc44  LIKE LINE OF it_xj_7lc44 ,
it_yj_7lc44  TYPE STANDARD TABLE OF J_7LCD_J_7LC44,"TABLES PARAM
wa_yj_7lc44  LIKE LINE OF it_yj_7lc44 ,
it_xj_7lc48  TYPE STANDARD TABLE OF J_7LCD_J_7LC48,"TABLES PARAM
wa_xj_7lc48  LIKE LINE OF it_xj_7lc48 ,
it_yj_7lc48  TYPE STANDARD TABLE OF J_7LCD_J_7LC48,"TABLES PARAM
wa_yj_7lc48  LIKE LINE OF it_yj_7lc48 ,
it_xj_7lc49  TYPE STANDARD TABLE OF J_7LCD_J_7LC49,"TABLES PARAM
wa_xj_7lc49  LIKE LINE OF it_xj_7lc49 ,
it_yj_7lc49  TYPE STANDARD TABLE OF J_7LCD_J_7LC49,"TABLES PARAM
wa_yj_7lc49  LIKE LINE OF it_yj_7lc49 .


SELECT single OBJECTID
FROM CDHDR
INTO @DATA(ld_objectid).


SELECT single TCODE
FROM CDHDR
INTO @DATA(ld_tcode).


SELECT single UTIME
FROM CDHDR
INTO @DATA(ld_utime).


SELECT single UDATE
FROM CDHDR
INTO @DATA(ld_udate).


SELECT single USERNAME
FROM CDHDR
INTO @DATA(ld_username).


SELECT single PLANCHNGNR
FROM CDHDR
INTO @DATA(ld_planned_change_number).


SELECT single CHANGE_IND
FROM CDHDR
INTO @DATA(ld_object_change_indicator).


SELECT single CHANGE_IND
FROM CDHDR
INTO @DATA(ld_planned_or_real_changes).


SELECT single CHANGE_IND
FROM CDHDR
INTO @DATA(ld_no_change_pointers).


SELECT single CHNGIND
FROM CDPOS
INTO @DATA(ld_upd_icdtxt_j_7ld).


SELECT single CHNGIND
FROM CDPOS
INTO @DATA(ld_upd_j_7lc03).


SELECT single CHNGIND
FROM CDPOS
INTO @DATA(ld_upd_j_7lc04).


SELECT single CHNGIND
FROM CDPOS
INTO @DATA(ld_upd_j_7lc05).


SELECT single CHNGIND
FROM CDPOS
INTO @DATA(ld_upd_j_7lc06).


SELECT single CHNGIND
FROM CDPOS
INTO @DATA(ld_upd_j_7lc07).


SELECT single CHNGIND
FROM CDPOS
INTO @DATA(ld_upd_j_7lc13).


SELECT single CHNGIND
FROM CDPOS
INTO @DATA(ld_upd_j_7lc14).


SELECT single CHNGIND
FROM CDPOS
INTO @DATA(ld_upd_j_7lc15).


SELECT single CHNGIND
FROM CDPOS
INTO @DATA(ld_upd_j_7lc28).


SELECT single CHNGIND
FROM CDPOS
INTO @DATA(ld_upd_j_7lc29).


SELECT single CHNGIND
FROM CDPOS
INTO @DATA(ld_upd_j_7lc32).


SELECT single CHNGIND
FROM CDPOS
INTO @DATA(ld_upd_j_7lc41).


SELECT single CHNGIND
FROM CDPOS
INTO @DATA(ld_upd_j_7lc44).


SELECT single CHNGIND
FROM CDPOS
INTO @DATA(ld_upd_j_7lc48).


SELECT single CHNGIND
FROM CDPOS
INTO @DATA(ld_upd_j_7lc49).


"populate fields of struture and append to itab
append wa_icdtxt_j_7ld to it_icdtxt_j_7ld.

"populate fields of struture and append to itab
append wa_xj_7lc03 to it_xj_7lc03.

"populate fields of struture and append to itab
append wa_yj_7lc03 to it_yj_7lc03.

"populate fields of struture and append to itab
append wa_xj_7lc04 to it_xj_7lc04.

"populate fields of struture and append to itab
append wa_yj_7lc04 to it_yj_7lc04.

"populate fields of struture and append to itab
append wa_xj_7lc05 to it_xj_7lc05.

"populate fields of struture and append to itab
append wa_yj_7lc05 to it_yj_7lc05.

"populate fields of struture and append to itab
append wa_xj_7lc06 to it_xj_7lc06.

"populate fields of struture and append to itab
append wa_yj_7lc06 to it_yj_7lc06.

"populate fields of struture and append to itab
append wa_xj_7lc07 to it_xj_7lc07.

"populate fields of struture and append to itab
append wa_yj_7lc07 to it_yj_7lc07.

"populate fields of struture and append to itab
append wa_xj_7lc13 to it_xj_7lc13.

"populate fields of struture and append to itab
append wa_yj_7lc13 to it_yj_7lc13.

"populate fields of struture and append to itab
append wa_xj_7lc14 to it_xj_7lc14.

"populate fields of struture and append to itab
append wa_yj_7lc14 to it_yj_7lc14.

"populate fields of struture and append to itab
append wa_xj_7lc15 to it_xj_7lc15.

"populate fields of struture and append to itab
append wa_yj_7lc15 to it_yj_7lc15.

"populate fields of struture and append to itab
append wa_xj_7lc28 to it_xj_7lc28.

"populate fields of struture and append to itab
append wa_yj_7lc28 to it_yj_7lc28.

"populate fields of struture and append to itab
append wa_xj_7lc29 to it_xj_7lc29.

"populate fields of struture and append to itab
append wa_yj_7lc29 to it_yj_7lc29.

"populate fields of struture and append to itab
append wa_xj_7lc32 to it_xj_7lc32.

"populate fields of struture and append to itab
append wa_yj_7lc32 to it_yj_7lc32.

"populate fields of struture and append to itab
append wa_xj_7lc41 to it_xj_7lc41.

"populate fields of struture and append to itab
append wa_yj_7lc41 to it_yj_7lc41.

"populate fields of struture and append to itab
append wa_xj_7lc44 to it_xj_7lc44.

"populate fields of struture and append to itab
append wa_yj_7lc44 to it_yj_7lc44.

"populate fields of struture and append to itab
append wa_xj_7lc48 to it_xj_7lc48.

"populate fields of struture and append to itab
append wa_yj_7lc48 to it_yj_7lc48.

"populate fields of struture and append to itab
append wa_xj_7lc49 to it_xj_7lc49.

"populate fields of struture and append to itab
append wa_yj_7lc49 to it_yj_7lc49. . CALL FUNCTION 'J_7LD_WRITE_DOCUMENT' EXPORTING objectid = ld_objectid tcode = ld_tcode utime = ld_utime udate = ld_udate username = ld_username planned_change_number = ld_planned_change_number object_change_indicator = ld_object_change_indicator planned_or_real_changes = ld_planned_or_real_changes no_change_pointers = ld_no_change_pointers upd_icdtxt_j_7ld = ld_upd_icdtxt_j_7ld upd_j_7lc03 = ld_upd_j_7lc03 upd_j_7lc04 = ld_upd_j_7lc04 upd_j_7lc05 = ld_upd_j_7lc05 upd_j_7lc06 = ld_upd_j_7lc06 upd_j_7lc07 = ld_upd_j_7lc07 upd_j_7lc13 = ld_upd_j_7lc13 upd_j_7lc14 = ld_upd_j_7lc14 upd_j_7lc15 = ld_upd_j_7lc15 upd_j_7lc28 = ld_upd_j_7lc28 upd_j_7lc29 = ld_upd_j_7lc29 upd_j_7lc32 = ld_upd_j_7lc32 upd_j_7lc41 = ld_upd_j_7lc41 upd_j_7lc44 = ld_upd_j_7lc44 upd_j_7lc48 = ld_upd_j_7lc48 upd_j_7lc49 = ld_upd_j_7lc49 TABLES icdtxt_j_7ld = it_icdtxt_j_7ld xj_7lc03 = it_xj_7lc03 yj_7lc03 = it_yj_7lc03 xj_7lc04 = it_xj_7lc04 yj_7lc04 = it_yj_7lc04 xj_7lc05 = it_xj_7lc05 yj_7lc05 = it_yj_7lc05 xj_7lc06 = it_xj_7lc06 yj_7lc06 = it_yj_7lc06 xj_7lc07 = it_xj_7lc07 yj_7lc07 = it_yj_7lc07 xj_7lc13 = it_xj_7lc13 yj_7lc13 = it_yj_7lc13 xj_7lc14 = it_xj_7lc14 yj_7lc14 = it_yj_7lc14 xj_7lc15 = it_xj_7lc15 yj_7lc15 = it_yj_7lc15 xj_7lc28 = it_xj_7lc28 yj_7lc28 = it_yj_7lc28 xj_7lc29 = it_xj_7lc29 yj_7lc29 = it_yj_7lc29 xj_7lc32 = it_xj_7lc32 yj_7lc32 = it_yj_7lc32 xj_7lc41 = it_xj_7lc41 yj_7lc41 = it_yj_7lc41 xj_7lc44 = it_xj_7lc44 yj_7lc44 = it_yj_7lc44 xj_7lc48 = it_xj_7lc48 yj_7lc48 = it_yj_7lc48 xj_7lc49 = it_xj_7lc49 yj_7lc49 = it_yj_7lc49 . " J_7LD_WRITE_DOCUMENT
IF SY-SUBRC EQ 0. "All OK ENDIF.







ABAP code to compare 7.40 inline data declaration with original syntax

The below ABAP code uses the older none in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. It may also be useful if you are using an older version of SAP as some of the newer syntax above, such as the @DATA is not available until 4.70 EHP 8.

DATA:
ld_objectid  TYPE CDHDR-OBJECTID ,
it_icdtxt_j_7ld  TYPE STANDARD TABLE OF CDTXT ,
wa_icdtxt_j_7ld  LIKE LINE OF it_icdtxt_j_7ld,
ld_tcode  TYPE CDHDR-TCODE ,
it_xj_7lc03  TYPE STANDARD TABLE OF J_7LCD_J_7LC03 ,
wa_xj_7lc03  LIKE LINE OF it_xj_7lc03,
it_yj_7lc03  TYPE STANDARD TABLE OF J_7LCD_J_7LC03 ,
wa_yj_7lc03  LIKE LINE OF it_yj_7lc03,
ld_utime  TYPE CDHDR-UTIME ,
it_xj_7lc04  TYPE STANDARD TABLE OF J_7LCD_J_7LC04 ,
wa_xj_7lc04  LIKE LINE OF it_xj_7lc04,
ld_udate  TYPE CDHDR-UDATE ,
it_yj_7lc04  TYPE STANDARD TABLE OF J_7LCD_J_7LC04 ,
wa_yj_7lc04  LIKE LINE OF it_yj_7lc04,
ld_username  TYPE CDHDR-USERNAME ,
it_xj_7lc05  TYPE STANDARD TABLE OF J_7LCD_J_7LC05 ,
wa_xj_7lc05  LIKE LINE OF it_xj_7lc05,
ld_planned_change_number  TYPE CDHDR-PLANCHNGNR ,
it_yj_7lc05  TYPE STANDARD TABLE OF J_7LCD_J_7LC05 ,
wa_yj_7lc05  LIKE LINE OF it_yj_7lc05,
ld_object_change_indicator  TYPE CDHDR-CHANGE_IND ,
it_xj_7lc06  TYPE STANDARD TABLE OF J_7LCD_J_7LC06 ,
wa_xj_7lc06  LIKE LINE OF it_xj_7lc06,
ld_planned_or_real_changes  TYPE CDHDR-CHANGE_IND ,
it_yj_7lc06  TYPE STANDARD TABLE OF J_7LCD_J_7LC06 ,
wa_yj_7lc06  LIKE LINE OF it_yj_7lc06,
ld_no_change_pointers  TYPE CDHDR-CHANGE_IND ,
it_xj_7lc07  TYPE STANDARD TABLE OF J_7LCD_J_7LC07 ,
wa_xj_7lc07  LIKE LINE OF it_xj_7lc07,
ld_upd_icdtxt_j_7ld  TYPE CDPOS-CHNGIND ,
it_yj_7lc07  TYPE STANDARD TABLE OF J_7LCD_J_7LC07 ,
wa_yj_7lc07  LIKE LINE OF it_yj_7lc07,
ld_upd_j_7lc03  TYPE CDPOS-CHNGIND ,
it_xj_7lc13  TYPE STANDARD TABLE OF J_7LCD_J_7LC13 ,
wa_xj_7lc13  LIKE LINE OF it_xj_7lc13,
ld_upd_j_7lc04  TYPE CDPOS-CHNGIND ,
it_yj_7lc13  TYPE STANDARD TABLE OF J_7LCD_J_7LC13 ,
wa_yj_7lc13  LIKE LINE OF it_yj_7lc13,
ld_upd_j_7lc05  TYPE CDPOS-CHNGIND ,
it_xj_7lc14  TYPE STANDARD TABLE OF J_7LCD_J_7LC14 ,
wa_xj_7lc14  LIKE LINE OF it_xj_7lc14,
ld_upd_j_7lc06  TYPE CDPOS-CHNGIND ,
it_yj_7lc14  TYPE STANDARD TABLE OF J_7LCD_J_7LC14 ,
wa_yj_7lc14  LIKE LINE OF it_yj_7lc14,
ld_upd_j_7lc07  TYPE CDPOS-CHNGIND ,
ld_upd_j_7lc13  TYPE CDPOS-CHNGIND ,
it_xj_7lc15  TYPE STANDARD TABLE OF J_7LCD_J_7LC15 ,
wa_xj_7lc15  LIKE LINE OF it_xj_7lc15,
ld_upd_j_7lc14  TYPE CDPOS-CHNGIND ,
it_yj_7lc15  TYPE STANDARD TABLE OF J_7LCD_J_7LC15 ,
wa_yj_7lc15  LIKE LINE OF it_yj_7lc15,
it_xj_7lc28  TYPE STANDARD TABLE OF J_7LCD_J_7LC28 ,
wa_xj_7lc28  LIKE LINE OF it_xj_7lc28,
ld_upd_j_7lc15  TYPE CDPOS-CHNGIND ,
ld_upd_j_7lc28  TYPE CDPOS-CHNGIND ,
it_yj_7lc28  TYPE STANDARD TABLE OF J_7LCD_J_7LC28 ,
wa_yj_7lc28  LIKE LINE OF it_yj_7lc28,
ld_upd_j_7lc29  TYPE CDPOS-CHNGIND ,
it_xj_7lc29  TYPE STANDARD TABLE OF J_7LCD_J_7LC29 ,
wa_xj_7lc29  LIKE LINE OF it_xj_7lc29,
ld_upd_j_7lc32  TYPE CDPOS-CHNGIND ,
it_yj_7lc29  TYPE STANDARD TABLE OF J_7LCD_J_7LC29 ,
wa_yj_7lc29  LIKE LINE OF it_yj_7lc29,
ld_upd_j_7lc41  TYPE CDPOS-CHNGIND ,
it_xj_7lc32  TYPE STANDARD TABLE OF J_7LCD_J_7LC32 ,
wa_xj_7lc32  LIKE LINE OF it_xj_7lc32,
ld_upd_j_7lc44  TYPE CDPOS-CHNGIND ,
it_yj_7lc32  TYPE STANDARD TABLE OF J_7LCD_J_7LC32 ,
wa_yj_7lc32  LIKE LINE OF it_yj_7lc32,
ld_upd_j_7lc48  TYPE CDPOS-CHNGIND ,
it_xj_7lc41  TYPE STANDARD TABLE OF J_7LCD_J_7LC41 ,
wa_xj_7lc41  LIKE LINE OF it_xj_7lc41,
ld_upd_j_7lc49  TYPE CDPOS-CHNGIND ,
it_yj_7lc41  TYPE STANDARD TABLE OF J_7LCD_J_7LC41 ,
wa_yj_7lc41  LIKE LINE OF it_yj_7lc41,
it_xj_7lc44  TYPE STANDARD TABLE OF J_7LCD_J_7LC44 ,
wa_xj_7lc44  LIKE LINE OF it_xj_7lc44,
it_yj_7lc44  TYPE STANDARD TABLE OF J_7LCD_J_7LC44 ,
wa_yj_7lc44  LIKE LINE OF it_yj_7lc44,
it_xj_7lc48  TYPE STANDARD TABLE OF J_7LCD_J_7LC48 ,
wa_xj_7lc48  LIKE LINE OF it_xj_7lc48,
it_yj_7lc48  TYPE STANDARD TABLE OF J_7LCD_J_7LC48 ,
wa_yj_7lc48  LIKE LINE OF it_yj_7lc48,
it_xj_7lc49  TYPE STANDARD TABLE OF J_7LCD_J_7LC49 ,
wa_xj_7lc49  LIKE LINE OF it_xj_7lc49,
it_yj_7lc49  TYPE STANDARD TABLE OF J_7LCD_J_7LC49 ,
wa_yj_7lc49  LIKE LINE OF it_yj_7lc49.


SELECT single OBJECTID
FROM CDHDR
INTO ld_objectid.


"populate fields of struture and append to itab
append wa_icdtxt_j_7ld to it_icdtxt_j_7ld.

SELECT single TCODE
FROM CDHDR
INTO ld_tcode.


"populate fields of struture and append to itab
append wa_xj_7lc03 to it_xj_7lc03.

"populate fields of struture and append to itab
append wa_yj_7lc03 to it_yj_7lc03.

SELECT single UTIME
FROM CDHDR
INTO ld_utime.


"populate fields of struture and append to itab
append wa_xj_7lc04 to it_xj_7lc04.

SELECT single UDATE
FROM CDHDR
INTO ld_udate.


"populate fields of struture and append to itab
append wa_yj_7lc04 to it_yj_7lc04.

SELECT single USERNAME
FROM CDHDR
INTO ld_username.


"populate fields of struture and append to itab
append wa_xj_7lc05 to it_xj_7lc05.

SELECT single PLANCHNGNR
FROM CDHDR
INTO ld_planned_change_number.


"populate fields of struture and append to itab
append wa_yj_7lc05 to it_yj_7lc05.

SELECT single CHANGE_IND
FROM CDHDR
INTO ld_object_change_indicator.


"populate fields of struture and append to itab
append wa_xj_7lc06 to it_xj_7lc06.

SELECT single CHANGE_IND
FROM CDHDR
INTO ld_planned_or_real_changes.


"populate fields of struture and append to itab
append wa_yj_7lc06 to it_yj_7lc06.

SELECT single CHANGE_IND
FROM CDHDR
INTO ld_no_change_pointers.


"populate fields of struture and append to itab
append wa_xj_7lc07 to it_xj_7lc07.

SELECT single CHNGIND
FROM CDPOS
INTO ld_upd_icdtxt_j_7ld.


"populate fields of struture and append to itab
append wa_yj_7lc07 to it_yj_7lc07.

SELECT single CHNGIND
FROM CDPOS
INTO ld_upd_j_7lc03.


"populate fields of struture and append to itab
append wa_xj_7lc13 to it_xj_7lc13.

SELECT single CHNGIND
FROM CDPOS
INTO ld_upd_j_7lc04.


"populate fields of struture and append to itab
append wa_yj_7lc13 to it_yj_7lc13.

SELECT single CHNGIND
FROM CDPOS
INTO ld_upd_j_7lc05.


"populate fields of struture and append to itab
append wa_xj_7lc14 to it_xj_7lc14.

SELECT single CHNGIND
FROM CDPOS
INTO ld_upd_j_7lc06.


"populate fields of struture and append to itab
append wa_yj_7lc14 to it_yj_7lc14.

SELECT single CHNGIND
FROM CDPOS
INTO ld_upd_j_7lc07.


SELECT single CHNGIND
FROM CDPOS
INTO ld_upd_j_7lc13.


"populate fields of struture and append to itab
append wa_xj_7lc15 to it_xj_7lc15.

SELECT single CHNGIND
FROM CDPOS
INTO ld_upd_j_7lc14.


"populate fields of struture and append to itab
append wa_yj_7lc15 to it_yj_7lc15.

"populate fields of struture and append to itab
append wa_xj_7lc28 to it_xj_7lc28.

SELECT single CHNGIND
FROM CDPOS
INTO ld_upd_j_7lc15.


SELECT single CHNGIND
FROM CDPOS
INTO ld_upd_j_7lc28.


"populate fields of struture and append to itab
append wa_yj_7lc28 to it_yj_7lc28.

SELECT single CHNGIND
FROM CDPOS
INTO ld_upd_j_7lc29.


"populate fields of struture and append to itab
append wa_xj_7lc29 to it_xj_7lc29.

SELECT single CHNGIND
FROM CDPOS
INTO ld_upd_j_7lc32.


"populate fields of struture and append to itab
append wa_yj_7lc29 to it_yj_7lc29.

SELECT single CHNGIND
FROM CDPOS
INTO ld_upd_j_7lc41.


"populate fields of struture and append to itab
append wa_xj_7lc32 to it_xj_7lc32.

SELECT single CHNGIND
FROM CDPOS
INTO ld_upd_j_7lc44.


"populate fields of struture and append to itab
append wa_yj_7lc32 to it_yj_7lc32.

SELECT single CHNGIND
FROM CDPOS
INTO ld_upd_j_7lc48.


"populate fields of struture and append to itab
append wa_xj_7lc41 to it_xj_7lc41.

SELECT single CHNGIND
FROM CDPOS
INTO ld_upd_j_7lc49.


"populate fields of struture and append to itab
append wa_yj_7lc41 to it_yj_7lc41.

"populate fields of struture and append to itab
append wa_xj_7lc44 to it_xj_7lc44.

"populate fields of struture and append to itab
append wa_yj_7lc44 to it_yj_7lc44.

"populate fields of struture and append to itab
append wa_xj_7lc48 to it_xj_7lc48.

"populate fields of struture and append to itab
append wa_yj_7lc48 to it_yj_7lc48.

"populate fields of struture and append to itab
append wa_xj_7lc49 to it_xj_7lc49.

"populate fields of struture and append to itab
append wa_yj_7lc49 to it_yj_7lc49.

Contribute (Add Comments)

Please help keep this info upto date and use the comments section below to add useful hints, tips and information specific to this SAP function. This will then be available for you and other users to easily find by simply searching on the object name J_7LD_WRITE_DOCUMENT or its description.