Skip to Content
0

Mapping between BRFPlus And DDIC types

Nov 04, 2016 at 11:18 AM

97

avatar image

Hii Experts,

How do mapping happens between BRFPlus and DDIC types.

For Example Data Element MATNR in its simplest form is type-C and length 18

and similarly in BRF it converts type C into type T and length 18 .... how does this happen ???

because of this I'm facing problem.. so please help me guys

10 |10000 characters needed characters left characters exceeded

Hi Ravi,

in order to provide decent help for your request, please provide some screenshots and some more information on the problem you are facing. Especially the following points would be of interest:

  • Do you do DDIC biinding of your Elements?
  • Is there a problem in the call of the BRFplus function i. e. when filling the parameters or in the execution?
  • What is the concrete issue that you are facing (wrong way of rule execution, dump)?

Best regards,

Christian

0

Hi Christian,

Actually I have to fetch all column or result set data objects and create a dynamic structure.

If data object or e is binded with data element then there is no issue but if it is not binded means then there we are facing problem

for example

if material number is binded with ddic type MATNR then we can directly use RTTS class method describe_by_name( mantr ) but now consider if it s not binded means how do I pass type??

there is a method get_by_kind(), where I have to pass type, length, decimals but here problem is char20 in BRF+ is converting to type T length 20 but in abap T means tims, so this conversion is making me problem.

I hope u got the problem, still if u need more info means let me know

0

Only the problem is how to map BRF+ types to ABAP types.. If this is solved then my problem will be resolved. So is there any method or function module??

0
* Please Login or Register to Answer, Follow or Comment.

2 Answers

Ebrahim Hatem Nov 05, 2016 at 10:38 AM
0

Hello Ravi,

You can just bind the date element in BRFplus as DDIC Element.

Otherwise, maybe I could not understand your Problem.


1.jpg (107.3 kB)
2.jpg (111.6 kB)
Share
10 |10000 characters needed characters left characters exceeded
Christian Lechner
Nov 07, 2016 at 07:54 AM
0

Hi Ravi,

the BRFplus internal types are all contained in the Interface IF_FDT_TYPES.

If you want to know something about the conversion for an element the method CONVERT_DDIC_TO_FDT of the class CL_FDT_ELEMENTshould contain the information you are looking for

BR

Christian

Share
10 |10000 characters needed characters left characters exceeded