BAdI multi level hierarchy
Regarding BAdIs we read a point in almost every website "Business Add-ins infrastructure is multi-level system landscape (SAP, partner, customer solutions, as well as country versions, and industry solutions). ". What does this exactly mean ? Kindly illustrate with an example.
Hi,
Please send some data from you table and what result would you like to recieve.
Thanks
Peter D.
Similar Messages
-
Hi Friends,
Can someone please help me out with this.Below is my Sender Data Type which needs to be converted:
DT_TRAC_MESG
(Hierarchy 1) TRAC_INFO
(Hierarchy 2) TRAC00
(Hierarchy 2)GROUP1
(Hierarchy 3)TRAC05
(Hierarchy 3)GROUP2
(Hierarchy 4)TRAC10
(Hierarchy 4) GROUP3
(Hierarchy 5) TRAC11
and my input data is as below :
XXXXXXXXX TRAC00 XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX (occurance 1)
XXXXXXXXXXXXXXXXXXTRAC05XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX (occurance 1)
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXTRAC10XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXTRAC11XXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXTRAC11XXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXTRAC11XXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXTRAC10XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXTRAC11XXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXTRAC11XXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXTRAC10XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXTRAC11XXXXXXXXXXXXXXXXXXXXXXX
I know Std SAP XI doesnt support more than 3 hierarchies but we are using a JMS adapter and this support more than 3 hierarchies.So please help us in achieving this mutli hierarchy conversion.Please atleast provide me the procedure to convert a 3 level Hierarchy structure.
It would be of great help for me if someone can answer this and asap.
Thanks & Regards,
Pradeep.Hi
follow this weblog
File Content Conversion for Multi Hierarchical Structure
or
you can use seeburger to use multi level hierarchy
SAP PI/XI : Content conversion using Generator mapping functionality of SeeBurger : Part 1.
SAP PI/XI : Content Conversion using Generator mapping functionality of SeeBurger : Part 2.
regards
sandeep
Edited by: sandeep sharma on Dec 15, 2008 10:45 AM -
Multi level hierarchy AdvancedDataGrid
Hey guys,
I have create a data struct as follows
{env:"Marine"
children:[
{name: "name1",
size: "size1",
children:[
{complete: "val-1",
incomplete: "val-2"}
I can display the first leve of hierarchy no problem, similar to example here (http://ticore.blogspot.com/2008/04/flex-collapsible-datagrid.html). What I would really like to do is have, the second level expand so I can display values of complete and incomplete and other under the second child, eventually instead of displaying the values under second child, I want to create pie charts and have them expand/hide as user chooses.
Does anyone have any pointers? I did google but didn't find anything that could help.
Thank you
JaysheelHey Guys,
I have figured out how I could create a chart based on data input. Only thing I need to do is have a Grid looking similar to the one here
http://ticore.blogspot.com/2008/04/flex-collapsible-datagrid.html
I just need not a way to expand each record, and display pie charts. In the case of example above, I need to have it such that I can expand each person's record and see a pie chart. I am banging my head against this one, and I have a feeling that I am overlooking something quite simple
Thank you
Jaysheel -
How can i manage multi level hierarchy in ADF
hi,
i have three View Object which is based on table.
EmployeeHdr- EmployeeVo
LeaveApplyHdr- LeaveHdrVo
LeaveApplyDet- LeaveDetVo
now how can i manage master detail type of hierarchy among these table.
a)foreign key relation b/w EmployeeHdr and LeaveApplyHdr based on EmployeeHdr.empcd = LeaveApplyHdr.empcd
b)foreign key relation b/w LeaveApplyHd and LeaveApplyDet based on LeaveApplyHdr.apply_no=LeaveApplyDet.apply_no
i have already create association and viewlink for these relationship.
now can i manage this in Single jsf page.hi,
open your application module and take the source
And find out where the view links are Used..
it may be like this...
<ViewLinkUsage
Name="ViewLinkA****1"
Version="@@@@@@@@@@@@@@"
ViewLinkObjectName="model.ViewLinkA****"
SrcViewUsageName="model.AppModule.EmployeeVo5 "
DstViewUsageName="model.AppModule.LeaveHdrvo6 " // check this
Reversed="false"/>
<ViewLinkUsage
Name="ViewLinkB****1"
Version="@@@@@@@@@@@@@@"
ViewLinkObjectName="model.ViewLinkB****"
SrcViewUsageName="model.AppModule.LeaveHdrvo6"//check this
DstViewUsageName="model.AppModule.LeaveDetVo7 "
Reversed="false"/>
From this you can see that SrcViewUsageName reference, change it as per your need.
Already in application module you may have different instance names, make sure that you have specified the correct names in the application module.
Then refresh the datacontrol
Ranjith -
Message Mapping Multi Level Hierarchy To Flat
HI
I have the following Message Structures
<HRMD_A05>
<IDOC BEGIN="1">
<EDI_DC40 SEGMENT="1">
<TABNAM>EDI_DC40</TABNAM>
<MANDT>100</MANDT>
<DOCNUM>0000000000462483</DOCNUM>
<DOCREL>700</DOCREL>
<STATUS>30</STATUS>
<DIRECT>1</DIRECT>
<OUTMOD>2</OUTMOD>
<IDOCTYP>HRMD_A05</IDOCTYP>
<MESTYP>HRMD_A</MESTYP>
<SNDPOR>SAPPH1</SNDPOR>
<SNDPRT>LS</SNDPRT>
<SNDPRN>PH1100</SNDPRN>
<RCVPOR>A000000015</RCVPOR>
<RCVPRT>LS</RCVPRT>
<RCVPRN>GD_XIB_P</RCVPRN>
<CREDAT>20110130</CREDAT>
<CRETIM>200709</CRETIM>
<SERIAL>20110130200628</SERIAL>
</EDI_DC40>
<E1PLOGI SEGMENT="1">
<PLVAR>01</PLVAR>
<OTYPE>P</OTYPE>
<OBJID>00000021</OBJID>
<OPERA>I</OPERA>
<E1PITYP SEGMENT="1">
<PLVAR>01</PLVAR>
<OTYPE>P</OTYPE>
<OBJID>00000021</OBJID>
<INFTY>0001</INFTY>
<BEGDA>20110130</BEGDA>
<ENDDA>20110130</ENDDA>
<E1P0001 SEGMENT="1">
<PERNR>00000021</PERNR>
<INFTY>0001</INFTY>
<ENDDA>99991231</ENDDA>
<BEGDA>20110101</BEGDA>
<SEQNR>000</SEQNR>
<AEDTM>20110110</AEDTM>
<UNAME>CHEHROUTSDT</UNAME>
<BUKRS>0116</BUKRS>
<WERKS>UK01</WERKS>
<PERSG>1</PERSG>
<PERSK>M2</PERSK>
<KOSTL>0000005000</KOSTL>
<ORGEH>51004895</ORGEH>
<PLANS>60006175</PLANS>
<STELL>70000004</STELL>
<SNAME>Financial Control</SNAME>
<ENAME>Financial Controller & Bus Tra Officer</ENAME>
</E1P0001>
<E1P0001 SEGMENT="1">
<PERNR>00000021</PERNR>
<INFTY>0001</INFTY>
<SUBTY>GDP1</SUBTY>
<ENDDA>99991231</ENDDA>
<BEGDA>20110101</BEGDA>
<SEQNR>000</SEQNR>
<AEDTM>20110110</AEDTM>
<UNAME>CHEHROUTSDT</UNAME>
<WERKS>GB</WERKS>
<PERSG>X</PERSG>
<ORGEH>00000000</ORGEH>
<PLANS>00000000</PLANS>
<STELL>00000000</STELL>
<MSTBR>00035657</MSTBR>
<SNAME>TETRA PAK LTD.</SNAME>
<ENAME>TP Tetra Pak Ltd.</ENAME>
<FISTL>Wrexham</FISTL>
<GEBER>GB0001</GEBER>
</E1P0001>
<E1P0001 SEGMENT="1">
<PERNR>00000021</PERNR>
<INFTY>0001</INFTY>
<SUBTY>GDP2</SUBTY>
<ENDDA>99991231</ENDDA>
<BEGDA>20110101</BEGDA>
<SEQNR>000</SEQNR>
<AEDTM>20110110</AEDTM>
<UNAME>CHEHROUTSDT</UNAME>
<ORGEH>00000000</ORGEH>
<PLANS>00000000</PLANS>
<STELL>00000000</STELL>
<SNAME>FI Accounting Leader</SNAME>
<ENAME>Finance & Business Transformation</ENAME>
</E1P0001>
</E1PITYP>
</E1PLOGI>
</IDOC>
</HRMD_A05>
in the above structure <HRMD_A05>/<IDOC>/<E1PLOGI><E1PITYP> has a segment <E1P0001> which gets repeated 3 with different Qualifers("",GD1,GD2) base on the Qualifer the <Smane> has to be mapped to 3 different fields in the target Structure
The Target Structure is a Flat Structure As shown Below
<?xml version="1.0" encoding="UTF-8"?>
<xsd:schema targetNamespace="urn:xibprototype:source:to:target" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="urn:xibprototype:source:to:target">
<xsd:element name="HRPlanningAndMasterData" type="HRPlanningAndMasterData"/>
<xsd:complexType name="HRPlanningAndMasterData">
<xsd:annotation>
<xsd:appinfo source="http://sap.com/xi/VersionID">154335859c8011e0ac8a0000022ca112</xsd:appinfo>
</xsd:annotation>
<xsd:sequence>
<xsd:element name="LineItems" minOccurs="0" maxOccurs="unbounded">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="tpjobtype" type="xsd:string" minOccurs="0"/>
<xsd:element name="tpposition" type="xsd:string" minOccurs="0"/>
<xsd:element name="tpfunctionalarea" type="xsd:string" minOccurs="0"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
</xsd:schema>
I did the graphical Mapping the As Below
ns0:HRPlanningAndMasterData/LineItems/tpjobtype=mapWithDefault(SplitByValue(removeContexts(ifWithoutElse(stringEquals(/HRMD_A05/IDOC/E1PLOGI/E1PITYP/E1P0001/SUBTY, const(value=GDP2)), /HRMD_A05/IDOC/E1PLOGI/E1PITYP/E1P0001/SNAME, keepss=true)), type=0), default_value=, result)
If i load the Instance XMl file and See the Context Queues .. the Number of the Context Changes in the Queue in more than the Context Changes that are to be produced
eg.. I feed 2 records as input then i see 6 context Changes
eg..
SUPPRESS
SUPPRESS
<ActualValue>
SUPPRESS
SUPPRESS
<ACTUAL VALUE>
I am expecting only 2 context changes with the actual Values... (if the second record does not have a value an empty value is expected)
Can Some help me in solving these Values... Some How i need to remove the SUPPRESS/false Values
Note: The Contects for the Source Elements are not changed
Regards
Edited by: aalla renukumar on Jun 27, 2011 12:18 PMHi aalla
Try setting property keepss of ifWithoutElse block to false.
Regards,
Giuseppe -
Please help me how to define step by step multi level a hierarchy in BW?
Hi expert.
Please help me how to define step by step multi level a hierarchy in BW?
HieuLM
Edited by: hieulm_VietNam on Oct 11, 2011 11:21 AMHi all,
I want to create a Hierarchy base on Product hierarchy attribute in 0Material characteristic.
I want 4 level :
1. SBU
2. BRAND
3. SUBBRAND
4. Material Number
In Product hierarchy I have a string store 4 level like 01.001.0001
Ex :
01 : is BUNS (SBU)
001 : is ALOHA (BRAND)
0001 : is FRESH (SUBBRAND )
Please help me how to capture this information like that, I want to drill down by level examble drill down from SBU to BRAND,...
Thanks
HieuLM -
Change Multi-Level Price Difference Process Category
Hello ML Gurus,
We have a situation
Our I2P team has certain process orders that are recursive -- header material the same as component. (These are NOT rework order types, but standard process order type PR01). In the beginning, they posted GR as process category "Receipts", and GI as process category "Consumption". This resulted in cyclical error during CKMLCP. When we cut off connections and ran, it left a huge price difference as "Not Allocated".
To circumvent this problem, I2P used a BADI to change the process category for the consumption to "Receipts". Everything was ok, until the monthend. When we do the Multi-Level Price Determination, the price difference gets posted to Consumption only, and since the original consumption is moved to "Receipts", the entire price difference is now "Not Allocated".
We think we can fix this by changing the process category for the multi-level price difference to "Receipts" also.
Is there a way to do it? Any BADI, User Exit, Enhancement -- anything?
Also, this is not a pretty design....do you have a suggestion for improving the overall process? We used to have a Product Cost Collector and post these consumption and then settle them monthly, but we lost traceability for the batches so we cannot and do not use them.
Appreciate your help.
Cheers,
TDHi,
Basically single level price determination calculates periodic unit price based prices differences for that material alone is considered
Multilevel price determination considers its own differences as well those of the input materials.
Hence single level price determination is a prerequisite for multilevel determination
Ganesan -
EAS load rule (multi level attributes)
Hi All,
I'm trying to build multi level attributes at the same time associating it to the base dimension same time building the base dimension.
because I'm building the multi level attributes...I specified all levels of attributes then base dimension then associations!!
The question is how to set the dimension build property?
whether I need to set it as building the base dimension or attribute dimension!!
I studied the Dbag page 308...
but getting the verification error!!
suggestions pls!!
Thanks,
JeethHi Glenn,
I was able to create a multiple level attribute hierarchy, base dimension and its associations in the same load rule.
I created attribute dimension and its descendents in the load rule it self!!
may be I'm not clear before!!
I found a way to create as per Rahul's post!!
I'm facing another issue over here!!
I successfully created multi level numeric attribute but not able to create multilevel text attribute!!
getting the following error!!
*\\ATTRPARENT column 8 must precede a numeric or date/time attribute association column\\Column 8 Validation* Failure
Thanks,
Jeeth
Edited by: Jeeth on May 18, 2010 10:04 AM -
Diff between two-level infrastructure and multi-level system landscape
Hi Experts,
Can Anyone explain me what exactly is meant by two-level infrastructure (SAP and customer solutions) and multi-level system landscape (SAP, country-specific versions, industry solutions, partner, customer, and so on) in the below statement
In contrast to customer exits, Business Add-Ins no longer assume a two-level infrastructure (SAP and customer solutions), but instead allow for a multi-level system landscape (SAP, country-specific versions, industry solutions, partner, customer, and so on). You can create definitions and implementations of Business Add-Ins at any level of the system landscapeHi
The user-exit can be implemented once, i.e. it can be used once: so it can be used to solve a particular customer situation.
The BADI can have several implemantations, so the same BADI can be used several times, and so it can be used to solve problem of customer, for business (so different implemantion for every SAP vertical, for example one for AFS, one for OIL,......), for a specific for a country (it's the case for the FI BADIs used to solve different legal specific of every country where SAP is implemented), .......
Max -
Characterist Value Propagation on Multi-Level
Hello All.
I need restrict a characteristic propagation on my multi-level scenary.
Anyone knows how do that?
In ECC works fine.
Version:
ECC 6.0
SCM 5.0
Best Regards
MarceloMore Information..
The hierarchy is:
Finished Product > P1 -> P2 -> P3 - > Raw Material.
There is a PlOrd(R) in P3 material of 4500kg. But This order was created in ECC6. When CIF creates the order, only 2 characteristics values was migrated. This is correct!!!.
Well, when i run MRP all characteristic value from the finished product migrated to lower level. Characteristics like packing.
The dependent demand of lower lever have 4 characteristics from Finished Product.
SCM see the PlOrd(R), but because this order has only 2 characteristics and depend demand has 4. SCM creates another PlOrder ie Surplus.
This is why i need to restrict the propagation of the characteristics.
Thank you and best regards.
Edited by: Marcelo Kayro Quintão on Mar 11, 2011 12:49 PM -
Can we use SNP PDS in Multi level ATP ?
Hi All,
We do CTM planning with existing SNP PDS In APO and now we want to explore to use the Multi level ATP functionality for GATP. I know, MATP can create the ATP trees if the stock is not available and these can be converted into PPDS order.
My question is, can we use SNP PDS for this purpose?
Thanks,
AbhilashaHi Abhilasha,
There is no such specific mention anywhere in the literature that you cannot use SNP PDS for MATP. The only downside to using SNP PDS is that SNP PDS are meant for mid to long term planning and the activities/operations in SNP PDS are usually not in detail i.e only important activities or bottle neck components are usually used which will not always facilitate detailed scheduling.
On the other hand MATP creates ATP tree structures by plan exlosion(which can be SNP/PDS) and saves the requirements groups(component requirements of header level) with dates/qts and source of supply. It uses PPDS component to convert these ATP tree structures into PPDS planned orders depending on the conversion horizon/requirements dates. It does that by reading the source of supply, requirements dates and quantities from ATP tree structure and by plan explosion.
When MATP planned orders are created you should no longer plan them with automatic planning run as that will cause re-explosion of the plan and might cause incorrect down stream requirements if you had had substitutions at component leve during MATP check. In planned orders, you have an option of changing the allowed sources of supply (in source of supply section). But for orders created by MATP, you will not be allowed to change the source of supply field from SNP PDS to PPDS PDS in the planned order because it will re-explode the plan. So you can decide for yourself if you can use SNP PDS as source of supply for PPDS planned orders.
Hope that answers your question.
Regards,
Mohan -
How to create a multi-level configuration sales order?
Hi,
My client use configurable material to sell computers. And the production mode is MTO. One sales order item correspond with a production order
Now my client also sell array which consist of two computers, two storage, one UPS power etc. That means I must realize multi-level configuration. First, choose the computer type. Second, based on the choosed computer in first step, choose the cpu, disk and so on. And then based on the sales order item, there must be several production order related to the same sales order item.
Now I have semi-finished product B1,B2--computer. Class type is 300. Many characteristics is allocated to the class. B type material has the BOM which consist of cpu,disk etc.
Then I created the finished product A--array. Class type is 300. Allocated characteristics is the B1,B2. A has the BOM which consist of B1,B2 etc.
When I create sales order, I can only config the first level,choose computers for A, can not choose cpu,disk for computers.
So, how can I find a solution for this scenario?
Thanks in advance.Thanks, Waza
1. Does the Sales order BOM explode in the sales order?
No. Just one top item would be ok for my client.
2. Why do thy want this in the sales order? They can explode the BOM in the production order, do they then need pricing at the component level?
They do not need pricing at the component level. Exploding the BOM in the production order is acceptable. But how can I config the configurable material in components of production order?
I tried collective order, but the second level of configurable material can not generate production order. I just make use of special procurement 52 in MRP2 of top finished product. Is there something I missed?
Thanks again. -
Looking for guidance / lessons learned on phantoms. I have several assemblies that use multi level phantoms assemblies and the problem I am encountering is when the the BOMs all get pushed up to the top level, the shop order cannot be cut due to duplicates.
A very basic example is I have screw that goes into a plate. The plate is a phantom and used on two different sub assemblies. These sub assemblies are phantoms and report to the same top level assembly that I am building. When I attempt to cut a shop order, the screw that was all the way at the bottom appears twice on the top level BOM when the two phantom BOMs are pushed up and causes an errorpreventing me from moving forward.
I currently set my special procurement type 50 in MM03. I have heard that I could set it up on the individual BOMs, however I do not see this fixing the problem as the material and item number of the duplicate will remain the same regardless of how it was set up.
Any advice or inputs? Please let me know if you need more detail.
Thanks.Hello
Can you please provide more details about the error? Is there an error message? Can you please provide the message ID, number and the description?
BR
Caetano -
Multi level follow up material in BOM
Dear All,
Our client have a requirement for multi lvel follow up material in BOM.
for example
BOM for Finish Good made of A.
if material A is depleted then used material B
if material B is depleted then used material C
if A and B have stock used A(higher priority)
I tried to used follow up material in MRP4 and BOM but it can not be used for multi level like this case.
Is there any solution for this?
Best regards,
FredHi anyway I tested the BOM master data like this
F/G 1 Master Box
|--- A 10 PCS Alt Group Z1 Priority 1 Usage 100% Strategy 2 (100% Check)
|--- B 10 PCS Alt Group Z1 Priority 2 Usage 100% Strategy 2 (100% Check)
|--- C 10 PCS Alt Group Z1 Priority 3 Usage 100% Strategy 2 (100% Check)
Stock A is depleted
Stock B enough
stock C enough
Expected result F/G only used B 10 PCS
Actual result is
F/G 1 Master Box
|-- A 10 PCS
|-- B 10 PCS
|-- C 10 PCS
Do ou have ides how should the percentage in BOm is maintain?
Best regards,
Fred -
Multi level attribute form LDAP
multi level attribute form LDAP
I am trying to write an custom mapping to use to retrieve a value from a multialued field in LDAP (nsRole). Has anyone done this before?
Rigth now all my mappings are 1:1. However the goal is to get a 1 : M and parse thru it till i get the desied value (1:1)Darwin Hammons - Assurant
2:44pm, May 17
Great conversation. I have a very similar question about the use of the custom JAVA mappings with the LDAP Login process. I want to include an additional (event) step in the login process. Does anyone have an example or experience with a custom Java Class mapping that can use an LDAP attribute (location) queriing the data to execute an event that populates an RequestCenter OU or Group if the person login location equal say " Argentina" ? Looking for a way to manage / build catalog entitlements during login. Suggestions ?
Great conversation. I have a very similar question about the use of the custom JAVA mappings with the LDAP Login process. I want to include an additional (event) step in the login process. Does anyone have an example or experience with a custom Java Class mapping that can use an LDAP attribute (location) queriing the data to execute an event that populates an RequestCenter OU or Group if the person login location equal say " Argentina" ? Looking for a way to manage / build catalog entitlements during login. Suggestions ?
Anthony Erickson
2:52pm, May 18
Hi Darwin,
We're about to embark on a piece of work with newScale which would be similar to this to support our Multilingual catalogue. I'll provide any updates I'm able.
Thanks,
Ant
Darwin Hammons - Assurant
3:25pm, May 18
Great, Thanks Anthony ! I hope our bringing up this topic will spark a bit of interest. The Custom Java Mapping / Directory integration is documented more with RC 9.1. It will be good to hear more about your project and use of Java mappings with LDAP Directories.
Maybe you are looking for
-
ORA-31603:While Extracting SQL of a table I am getting this error.
Hi, I am getting below error whenever I try to get the SQL for any table. I tried executing DBMS_METADATA() also but the same error is coming. Please let me know what needs to be done IF I want to extract the DDL for any object. ORA-31603: object "EM
-
Installing Omnipage Pro X in Snow Leopard - this worked for me
I was having trouble installing Omnipage Pro X in Snow Leopard - the installer would get near the end and then just quit saying there was an error. A search on the web revealed many people experienced this, with a few even getting in touch with Nuan
-
My daughter has been missing for a week and has a serious medical condition. She has an iPhone 4S and when I log into find my iPhone it says online , location services off. Does that mean there is no way to track the phone? Please I'm willing to tr
-
Missing movies in my purchases and icloud
few movies i purchase in itune and just store it in icloud , now it missing in my icloud and as well in my movies purchase list. im scare to buy movies now in itunes....
-
Adding transitions to Flash Photo Slideshow template?
I'm working on generating a template i can use to just drop in photos from shoots for a blog where i discuss the types of projects my team does. I like the flash slideshow template because once it's all set up the way you want it you can just drop al