ISM_JPIDCDASS_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 ISM_JPIDCDASS_WRITE_DOCUMENT into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
JPMPD01
Released Date:
Not Released
Processing type: Normal fucntion module
CALL FUNCTION 'ISM_JPIDCDASS_WRITE_DOCUMENT' "Access Change Documents for ID Code Assignment to Media Product
EXPORTING
pvi_tcode = " sy-tcode ABAP Program, Current Transaction Code
pvi_date = " sy-datum Created On
pvi_time = " sy-uzeit Time Created
pvi_user = " sy-uname Created By
* psi_old_mara = " mara IS-M: Assignment of Business Partners to Material
* psi_new_mara = " mara General material data
TABLES
* pt_xjptidcdass = " jptidcdassign IS-M: Assignment of ID Codes to Material
* pt_yjptidcdass = " jptidcdassign IS-M: Assignment of ID Codes to Material
pt_jptidass_upd = " jptidcdassign IS-M: Assignment of ID Codes to Material
pt_jptidass_ins = " jptidcdassign IS-M: Assignment of ID Codes to Material
pt_jptidass_del = " jptidcdassign IS-M: Assignment of ID Codes to Material
pt_o_jptidass = " jptidcdassign IS-M: Assignment of ID Codes to Material
. " ISM_JPIDCDASS_WRITE_DOCUMENT
The ABAP code below is a full code listing to execute function module ISM_JPIDCDASS_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).
| it_pt_xjptidcdass | TYPE STANDARD TABLE OF JPTIDCDASSIGN,"TABLES PARAM |
| wa_pt_xjptidcdass | LIKE LINE OF it_pt_xjptidcdass , |
| it_pt_yjptidcdass | TYPE STANDARD TABLE OF JPTIDCDASSIGN,"TABLES PARAM |
| wa_pt_yjptidcdass | LIKE LINE OF it_pt_yjptidcdass , |
| it_pt_jptidass_upd | TYPE STANDARD TABLE OF JPTIDCDASSIGN,"TABLES PARAM |
| wa_pt_jptidass_upd | LIKE LINE OF it_pt_jptidass_upd , |
| it_pt_jptidass_ins | TYPE STANDARD TABLE OF JPTIDCDASSIGN,"TABLES PARAM |
| wa_pt_jptidass_ins | LIKE LINE OF it_pt_jptidass_ins , |
| it_pt_jptidass_del | TYPE STANDARD TABLE OF JPTIDCDASSIGN,"TABLES PARAM |
| wa_pt_jptidass_del | LIKE LINE OF it_pt_jptidass_del , |
| it_pt_o_jptidass | TYPE STANDARD TABLE OF JPTIDCDASSIGN,"TABLES PARAM |
| wa_pt_o_jptidass | LIKE LINE OF it_pt_o_jptidass . |
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_pvi_tcode | TYPE SY-TCODE , |
| it_pt_xjptidcdass | TYPE STANDARD TABLE OF JPTIDCDASSIGN , |
| wa_pt_xjptidcdass | LIKE LINE OF it_pt_xjptidcdass, |
| ld_pvi_date | TYPE SY-DATUM , |
| it_pt_yjptidcdass | TYPE STANDARD TABLE OF JPTIDCDASSIGN , |
| wa_pt_yjptidcdass | LIKE LINE OF it_pt_yjptidcdass, |
| ld_pvi_time | TYPE SY-UZEIT , |
| it_pt_jptidass_upd | TYPE STANDARD TABLE OF JPTIDCDASSIGN , |
| wa_pt_jptidass_upd | LIKE LINE OF it_pt_jptidass_upd, |
| ld_pvi_user | TYPE SY-UNAME , |
| it_pt_jptidass_ins | TYPE STANDARD TABLE OF JPTIDCDASSIGN , |
| wa_pt_jptidass_ins | LIKE LINE OF it_pt_jptidass_ins, |
| ld_psi_old_mara | TYPE MARA , |
| it_pt_jptidass_del | TYPE STANDARD TABLE OF JPTIDCDASSIGN , |
| wa_pt_jptidass_del | LIKE LINE OF it_pt_jptidass_del, |
| ld_psi_new_mara | TYPE MARA , |
| it_pt_o_jptidass | TYPE STANDARD TABLE OF JPTIDCDASSIGN , |
| wa_pt_o_jptidass | LIKE LINE OF it_pt_o_jptidass. |
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 ISM_JPIDCDASS_WRITE_DOCUMENT or its description.
ISM_JPIDCDASS_WRITE_DOCUMENT - Access Change Documents for ID Code Assignment to Media Product ISM_JPBUPAASS_WRITE_DOCUMENT - Access Change Documents for BP Assignment to Media Product ISM_JOBLIST_SHOW - Display Job List ISM_JOBDISTRIB_SELECTION_TEXTS - Texts for Selection Screen ISM_JNTRECH_INSERT_FROM_TABLE - ISM_JLCOMMIND_POST -