2007 Jul 23 5:40 AM
Hi Freinds,
am working on AP Upload,can any body help me in validating the following feilds.
1.If for one external document number, we have more than two different company code at program run .
2.The WBS is not created in the system when the postings are performed.
3.If for one external document number, we have more than 999 line items.
2007 Jul 23 6:04 AM
Please let me know the internal table fields structure, that you are looping, during BDC/upload.
Regards,
Vishal
2007 Jul 23 6:45 AM
Hi Vishal, below is the structure.
types:begin of st_flat,
BUKRS TYPE BKPF-BUKRS, "a
BLDAT(10) TYPE C, "B
WAERS TYPE BKPF-WAERS, "C
XBLNR(20) TYPE C, "D
VBUND TYPE BSEG-VBUND, "E
*DEBIT LINE ITEMS
DNEWKO TYPE SKB1-SAKNR, "F
DNEWUM TYPE RF05A-NEWUM,"G
DWRBTR(16) TYPE C, "H
DSGTXT TYPE BSEG-SGTXT, "I
DKOSTL TYPE COBL-KOSTL, "J8
DWBS TYPE PRPS-POSID, "K
DAUFNR TYPE COBL-AUFNR, "L
DPRCTR TYPE COBL-PRCTR, "M
*CREDIT LINE ITEMS
CNEWKO TYPE SKB1-SAKNR,"N
CNEWUM TYPE RF05A-NEWUM,"O
CSGTXT TYPE BSEG-SGTXT, "P
CKOSTL TYPE COBL-KOSTL, "Q8
CNEWBK TYPE RF05A-NEWBK,"R
CWRBTR(16) TYPE C, "S
CWBS TYPE PRPS-POSID, "T
CAUFNR TYPE COBL-AUFNR, "U
CPRCTR TYPE COBL-PRCTR, "V
END OF ST_FLAT.