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

Issue with Stucture

Former Member
0 Likes
738

Hi,

I need to create an RFC function module (ZT_RFC) to push the data to middleware.

Extract program has been developed and data has been stored in the final

internal table with the structure below:

Types : begin of ty_final,
              BUKRS type BUKRS,  " Company Code
              KUNNR type KUNNR,  " Customer Number 1
              ZUONR type DZUONR, " Assignment Number
              GJAHR type GJAHR,  " Fiscal Year
              BLDAT type BLDAT,  " Document Date in Document
              WAERS type WAERS,  " Currency Key
              XBLNR type XBLNR1, " Reference Document Number
              BLART type BLART,  " Document Type
              DMBTR_LT type DMBTR,  " Amount in Local Currency- Less Than
              DMBTR_GT type DMBTR,  " Amount in Local Currency- Greater Than
              WRBTR type WRBTR,  " Amount in document currency
              DMBE2 type DMBE2,  " Amount in Second Local Currency
              PSWSL type PSWSL,  " Update Currency for General Ledger
          end of ty_final.

Now, iam trying to create a global structure same as final internal table structure in SE11 by specifying Component and Component Type.

I am receiving the following error messages when i try to activate:

ZT_RFC-DMBE2    (Combination refernce table/field BSID-DMBE2 does not exist) 
     ZT_RFC-DMBTR_GT (Combination refernce table/field BSID-DMBE2 does not exist) 
     ZT_RFC-DMBTR_LT  (Combination refernce table/field BSID-DMBE2 does not exist)
     ZT_RFC-WRBTR     (Combination refernce table/field BSID-DMBE2 does not exist)

Not sure if i am missing something here...

Any suggestions will be appreciated.

Regards,

Kittu

Edited by: Kittu on Dec 7, 2009 12:09 PM

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
705

Hi

Look in SE11 for the reference fields of the fields for which you get the error. Then put those reference fields in your fields too.

Pushpraj

Hi,

I need to create an RFC function module (ZT_RFC) to push the data to middleware.

Extract program has been developed and data has been stored in the final

internal table with the structure below:

Types : begin of ty_final,
              BUKRS type BUKRS,  " Company Code
              KUNNR type KUNNR,  " Customer Number 1
              ZUONR type DZUONR, " Assignment Number
              GJAHR type GJAHR,  " Fiscal Year
              BLDAT type BLDAT,  " Document Date in Document
              WAERS type WAERS,  " Currency Key
              XBLNR type XBLNR1, " Reference Document Number
              BLART type BLART,  " Document Type
              DMBTR_LT type DMBTR,  " Amount in Local Currency- Less Than
              DMBTR_GT type DMBTR,  " Amount in Local Currency- Greater Than
              WRBTR type WRBTR,  " Amount in document currency
              DMBE2 type DMBE2,  " Amount in Second Local Currency
              PSWSL type PSWSL,  " Update Currency for General Ledger
          end of ty_final.

Now, iam trying to create a global structure same as final internal table structure in SE11 by specifying Component and Component Type.

I am receiving the following error messages when i try to activate:

ZT_RFC-DMBE2    (Combination refernce table/field BSID-DMBE2 does not exist) 
     ZT_RFC-DMBTR_GT (Combination refernce table/field BSID-DMBE2 does not exist) 
     ZT_RFC-DMBTR_LT  (Combination refernce table/field BSID-DMBE2 does not exist)
     ZT_RFC-WRBTR     (Combination refernce table/field BSID-DMBE2 does not exist)

Not sure if i am missing something here...

Any suggestions will be appreciated.

Regards,

Kittu

Edited by: Kittu on Dec 7, 2009 12:09 PM

3 REPLIES 3
Read only

Former Member
0 Likes
706

Hi

Look in SE11 for the reference fields of the fields for which you get the error. Then put those reference fields in your fields too.

Pushpraj

Read only

0 Likes
705

Hi,

Thank you for your suggestion.

It solved my issue.

Regards,

Kittu

Read only

Former Member
0 Likes
705

Hi Kittu,

The reference table and fields used by you for structure are incorrect.

Change the reference table and fields for your structure. Open a new SE11 session with table name BSID.

And in Currency/Quantity fields tab copy the reference table and fields of BSID table to your newly created structure.

This will solve your problem.