‎2007 Oct 23 2:01 PM
Hi All,
I want to move data from ztable to master table.
HR tcode is PA30, should update master table from ztable. I have tried with BDC, recorded some fileds like pernr, from data, end date and infotype 2001 and subtype. this only moving data all these 5 fileds, but remaining calculation depend fields like total days, time, balance etc are getting ZERO values are passing to master table
How can i move data
Can you help on this issue..very Urgent
Regards,
PS
‎2007 Oct 23 2:04 PM
‎2007 Oct 23 2:04 PM
‎2007 Oct 23 2:14 PM
Hi Thank you for your reply,
You mean these two ,,, Please help on these..its very urgent
*&----
**& FORM BDC_DYNPRO
*&----
TEXT
*----
-->PROGRAM TEXT
-->DYNPRO TEXT
*----
*
*FORM BDC_DYNPRO USING PROGRAM DYNPRO.
*
*DATA: BDCDATA LIKE BDCDATA OCCURS 0 WITH HEADER LINE.
*
CLEAR BDCDATA.
*
BDCDATA-PROGRAM = PROGRAM.
BDCDATA-DYNPRO = DYNPRO.
BDCDATA-DYNBEGIN = 'X'.
*
APPEND BDCDATA.
*
*ENDFORM. "BDC_DYNPRO
*
*&----
**& FORM BDC_FIELD
*&----
TEXT
*----
-->FNAM TEXT
-->FVAL TEXT
*----
*
*FORM BDC_FIELD USING FNAM FVAL.
*
*DATA: BDCDATA LIKE BDCDATA OCCURS 0 WITH HEADER LINE.
*
CLEAR BDCDATA.
*
BDCDATA-FNAM = FNAM.
BDCDATA-FVAL = FVAL.
*
APPEND BDCDATA.
*
*ENDFORM. "BDC_FIELD
*
*&----
**& Form bdc_transaction
*&----
text
*----
-->P_0188 text
*----
*FORM bdc_transaction USING VALUE(P_0188).
*
*DATA: BDCDATA LIKE BDCDATA OCCURS 0 WITH HEADER LINE.
*DATA: MESSTAB LIKE BDCMSGCOLL OCCURS 0 WITH HEADER LINE.
*
*CALL TRANSACTION 'PA30' USING BDCDATA MODE 'A' "PMODE
UPDATE 'S' MESSAGES INTO MESSTAB.
*
*ENDFORM. " bdc_transaction
Message was edited by:
peter son