Posted: Thu May 20, 2010 2:30 pm Post subject: START_DATE и RULE_START_DATE
через БАПИ "BAPI_BUSPROCESSND_GETDETAILMUL" получаю таблицу "BILLPLAN" где "START_DATE" = '30.04.2010 21:00:00' и есть "RULE_START_DATE" как мне получить конечную дату по этому правилу
Или как получить дату которая выделена на рирунках ниже
DATA:
lv_guid TYPE CRMT_OBJECT_GUID,
data_ TYPE CRMT_START_DATE,
lt_bapi_order_guid TYPE TABLE OF bapibus20001_guid_dis,
lv_bapi_order_guid TYPE bapibus20001_guid_dis,
lt_billplan_dis TYPE TABLE OF BAPIBUS20001_BILLPLAN_DIS,
lv_billplan_dis TYPE BAPIBUS20001_BILLPLAN_DIS,
BILLING_TIMEZONE TYPE CRMT_BILLING_TIMEZONE,
start_date_tztf TYPE tztf_io.
FREE lv_guid.
SELECT SINGLE guid FROM crmd_orderadm_h INTO lv_guid WHERE OBJECT_ID LIKE '%111'.
MOVE lv_guid TO lv_bapi_order_guid.
APPEND lv_bapi_order_guid TO lt_bapi_order_guid.
CALL FUNCTION 'BAPI_BUSPROCESSND_GETDETAILMUL'
TABLES
GUID = lt_bapi_order_guid
BILLPLAN = lt_billplan_dis
READ TABLE lt_billplan_dis INTO lv_billplan_dis INDEX 1.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum
All product names are trademarks of their respective companies. SAPNET.RU websites are in no way affiliated with SAP AG. SAP, SAP R/3, R/3 software, mySAP, ABAP, BAPI, xApps, SAP NetWeaver and any other are registered trademarks of SAP AG. Every effort is made to ensure content integrity. Use information on this site at your own risk.