Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

report to display data

Former Member
0 Likes
1,943

i need to display data of vbak-vbeln(sd no) lips-vbeln(delivery) vbrk-vbeln(billng doc)

at the time of final structure(ty_final) i got an error like componets already exit

but these three are different how we can display these three on same report

TYPES: BEGIN OF TY_FINAL,

VBELN TYPE VBAP-VBELN, "SALES DOC"

POSNR TYPE VBAP-POSNR, "SALES DOC ITEM"

MATNR TYPE VBAP-MATNR, "MATERIAL"

NETWR TYPE VBAP-NETWR, "NETVALUE"

ERDAT TYPE VBAK-ERDAT, " DATE ON CREATED"

AUART TYPE VBAK-AUART, "SALES DOC TYP"

VBELN TYPE LIPS-VBELN, "delivery"

POSNR TYPE LIPS-POSNR, "delivery item"

VSTEL TYPE LIKP-VSTEL, "SHIP BY REC POINT"

KUNNR TYPE LIKP-KUNNR, "SOLD TO PARTY"

KUNAG TYPE LIKP-KUNAG, "SHIP TO PARTY"

VBELN TYPE VBRP-VBELN, "BILLING DOC"

POSNR TYPE VBRP-POSNR, "BILLING DOC ITEM"

FKIMG TYPE VBRP-FKIMG, "INVOICE QUANTITY"

NETWR TYPE VBRP-NETWR, "NET VALUE OF BILLING ITEM"

FKART TYPE VBRK-FKART, "BILLING DOC TYP"

VTWEG TYPE VBRK-VTWEG, "DISTRIBUTION CHANNEL"

VSBED TYPE VBRK-VSBED, "SHIPPING CONDITION"

END OF TY_FINAL.

i this i got erreor componet vblen is already exit

but i have three vblen componets on structre. those three contain a different values .

i ned to print all the values.

1 ACCEPTED SOLUTION
Read only

Tomas_Buryanek
Product and Topic Expert
Product and Topic Expert
1,845
TYPES: BEGIN OF TY_FINAL,
  sales_doc TYPE VBAP-VBELN,
  delivery TYPE LIPS-VBELN,
  billing_doc TYPE VBRP-VBELN,
END OF TY_FINAL.
-- Tomas --

i need to display data of vbak-vbeln(sd no) lips-vbeln(delivery) vbrk-vbeln(billng doc)

at the time of final structure(ty_final) i got an error like componets already exit

but these three are different how we can display these three on same report

TYPES: BEGIN OF TY_FINAL,

VBELN TYPE VBAP-VBELN, "SALES DOC"

POSNR TYPE VBAP-POSNR, "SALES DOC ITEM"

MATNR TYPE VBAP-MATNR, "MATERIAL"

NETWR TYPE VBAP-NETWR, "NETVALUE"

ERDAT TYPE VBAK-ERDAT, " DATE ON CREATED"

AUART TYPE VBAK-AUART, "SALES DOC TYP"

VBELN TYPE LIPS-VBELN, "delivery"

POSNR TYPE LIPS-POSNR, "delivery item"

VSTEL TYPE LIKP-VSTEL, "SHIP BY REC POINT"

KUNNR TYPE LIKP-KUNNR, "SOLD TO PARTY"

KUNAG TYPE LIKP-KUNAG, "SHIP TO PARTY"

VBELN TYPE VBRP-VBELN, "BILLING DOC"

POSNR TYPE VBRP-POSNR, "BILLING DOC ITEM"

FKIMG TYPE VBRP-FKIMG, "INVOICE QUANTITY"

NETWR TYPE VBRP-NETWR, "NET VALUE OF BILLING ITEM"

FKART TYPE VBRK-FKART, "BILLING DOC TYP"

VTWEG TYPE VBRK-VTWEG, "DISTRIBUTION CHANNEL"

VSBED TYPE VBRK-VSBED, "SHIPPING CONDITION"

END OF TY_FINAL.

i this i got erreor componet vblen is already exit

but i have three vblen componets on structre. those three contain a different values .

i ned to print all the values.

6 REPLIES 6
Read only

former_member596005
Participant
0 Likes
1,845

Just provide code snip and what you want to achieve , so one can easily understand and may give suggestions.

Read only

Tomas_Buryanek
Product and Topic Expert
Product and Topic Expert
0 Likes
1,845

You can name components of structure freely. They does not all have to be named vbeln in your structure..

-- Tomas --
Read only

matt
Active Contributor
0 Likes
1,845

If you take the time to use the "code" button in the editor to paste code, I might take the time to see if I can answer your question..

Read only

Tomas_Buryanek
Product and Topic Expert
Product and Topic Expert
1,846
TYPES: BEGIN OF TY_FINAL,
  sales_doc TYPE VBAP-VBELN,
  delivery TYPE LIPS-VBELN,
  billing_doc TYPE VBRP-VBELN,
END OF TY_FINAL.
-- Tomas --
Read only

Former Member
0 Likes
1,845

TYPES: BEGIN OF TY_FINAL,

VBELN TYPE VBAP-VBELN, "SALES DOC"
POSNR TYPE VBAP-POSNR, "SALES DOC ITEM"

MATNR TYPE VBAP-MATNR, "MATERIAL"

NETWR TYPE VBAP-NETWR, "NETVALUE"

ERDAT TYPE VBAK-ERDAT, " DATE ON CREATED"

AUART TYPE VBAK-AUART, "SALES DOC TYP"

VBELN TYPE LIPS-VBELN, "delivery"

POSNR TYPE LIPS-POSNR, "delivery item"

VSTEL TYPE LIKP-VSTEL, "SHIP BY REC POINT"

KUNNR TYPE LIKP-KUNNR, "SOLD TO PARTY"

KUNAG TYPE LIKP-KUNAG, "SHIP TO PARTY"

VBELN TYPE VBRP-VBELN, "BILLING DOC"

POSNR TYPE VBRP-POSNR, "BILLING DOC ITEM"

FKIMG TYPE VBRP-FKIMG, "INVOICE QUANTITY"

NETWR TYPE VBRP-NETWR, "NET VALUE OF BILLING ITEM"

FKART TYPE VBRK-FKART, "BILLING DOC TYP"

VTWEG TYPE VBRK-VTWEG, "DISTRIBUTION CHANNEL"

VSBED TYPE VBRK-VSBED, "SHIPPING CONDITION"

END OF TY_FINAL.

i have vblen componet for vbap lips vbrp table

for this i got erroe is component called vbeln is already exit(vbeln -lips )

Read only

Sandra_Rossi
Active Contributor
0 Likes
1,845

kiran ravi Why do you post the same code again and again? Anyway, please use the CODE button to format your code so that it's more user-friendly.