Fonction SAP /SAPHT/DRM_AGREEMENT_CREATE - Agreement: create

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
IS_CONHEAD /SAPHT/DRMAGRHEAD u 84 Contract Header
IV_COMMIT_FLAG FLAG C 1 'X' X X- Commit ' '- No commit
IV_EXTBRANCH /SAPHT/DRMAGRWL-DR_BRANCH C 20 X Distributor/ reseller's code for reseller unit
IV_STATE TJ30-ESTAT C 5 User status
IV_USER_NAME /SAPHT/DRMIUSR-USER_NAME C 12 Communication Fields: Sales Document Header

Paramètre Reférence Type Long. Description
EV_AGREEMENT_NUMBER BAPIVBELN-VBELN C 10 Sales document
EV_ERROR SYST-SUBRC I 4 Return value, return value after ABAP statements

Paramètre Reférence Long. Facultatif Description
ET_ERROR BAPIRET2 548 X Return parameter
IT_DRMAGRCOM /SAPHT/DRMAGRCOM 201 X Agreement: Competitor info
IT_DRMAGRCUS /SAPHT/DRMAGRCUS 792 X Agreement: Competitor info
IT_DRMAGRPRC /SAPHT/DRMAGRPRC 343 Agreement: price info
IT_TEXT BAPISDTEXT 160 X Communication fields: SD texts

Exception Description
INVALID_CUSTOMIZING
INVALID_INPUT