on ‎2016 Jul 25 1:22 AM
Hello all,
While loading the MD hierarchy from BW to BPC, due to the leading zeros in nodename the hierarchy is not getting extracted.
Though there were 4 leading zeros in the MD, i used ID(5:10) in mapping and was successful in extracting it in the desired format. But when I used the same logic for the MD hierarchy, it is not working out. So, I got a BAdi (in UJD_ROUTINE) created and tried to use it in the transformation file and still failed in it.
While debugging the BAdi in the MD transformation file, it was reading all the records. But during debugging in the MD hierarchy transformation file, it is not reading any records. Please Advise.
BAdi, dimension types that I specified...
DATA: lo_dim TYPE REF TO cl_uja_dim,
lr_dim_data TYPE REF TO if_uja_dim_data,
lr_hier_en_data TYPE REF TO if_uja_hier,
lt_mbr_name TYPE uja_t_dim_member,
lt_mbr_node TYPE uja_t_mbr_node.
Request clarification before answering.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi JP,
I tried all, but nothing worked out. I'm working on trail and error method and used all combinations.
external - internal format, set selection/ without set selection to hierarchy 1000, with HIEID and HIER_NAME.
When used 'internal' format, the transformation file is being validated but all records are rejected. When used 'external' format, the validation is failed.
Mouli tried everything still not working...means your doing something wrong at somepoint! Its a standard functionality to ignore leading zeroes, cant happen that it wont work!
If you want proper help, then please give your step by step execution with screenshots! Without knowing what error you get on screen how can we help?? Give Validation screenshots too!
Regards,
JP
Mouli,
few things to try:
1. Need to include the top level ID of the hiearchy in the MemberID selection filed
2. there should be three conversions Parent=, Hier_name=, Nodename = ... missing parent=
3. switch to external view
If this don't work, please show the conversion file contents.
Akos
PS ... are there any rejected items when you click on the reject button?
Giving the Member ID has resolved the issue.
I specified the node name of the first line as the member ID and it worked. The main thing is that it was able to read the values with the leading zeros.
As the node name had inconsistency with the leading zeros, I used a BAdi to remove the leading zeros while loading.
Thanks all.
| User | Count |
|---|---|
| 15 | |
| 11 | |
| 9 | |
| 4 | |
| 2 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.