Offer(Tcode:VA23;Table: vbak and vbap) billing(Tcode:VF03;Table:vbrk and vbrp)
Offer(quotation)->SO->DN->Billing(Invoice)
**SO 和 Item 表VBFA,根据VBFA- VBELV =quotation(VBAK-VBELN) and VBFA-POSNV=quotation item(VBAP-POSNR) and VBFA- VBTYP_N = C的VBFA-VBELN 和VBFA- POSNN **
**Billing 和 Item 表VBRP,根据VBRP- AUBEL =SO and VBRP- AUPOS = SO item ,VBRP-VBELN 和VBRP- POSNR **
"从Billing找offer
select c~vgbel
XXX
from vbrp as a"Billing
join vbap as c on a~aubel eq c~vbeln and a~aupos eq c~posnr
- 在FM:READ_TEXT上打上断点可以找到需要的长文本ID