XI Challenging scenario !!
The scenario is like I am reading data from the attachment of an email using mail sender adapter and creating a file at unix server.
The mail attachment looks like this :
Lead code:12929
Order ref: sp/jaksd/1212
order type: S
Item code Qty
1221231 123
1212232 78
end
1. What should be the target file structure nad its FCC paramaters for reciever file adpater ?
2.NOw the name of the attachment is variable and known at runtime only. How to implement this ? ( Do i have to use mailPackage/ PayloadSwapBean and if yes then how and do i have to do any coding ?)
Please provide me information if you have worked on such a scenario.
Also good links which gives step by step configuration may help.
Regards,
Priya.
Hi Priya,
In order to read mail attachments , go through the exellent blog from Michal:
/people/michal.krawczyk2/blog/2005/12/18/xi-sender-mail-adapter--payloadswapbean--step-by-step
also refer help from SAP:
http://help.sap.com/saphelp_nw70/helpdata/en/2e/bf37423cf7ab04e10000000a1550b0/frameset.htm
Concept:
W need to replace application payload with Attachments in XI message , so we need use of Payloadswapbean.
Specify the parameters to identify your attachment in module parameters list lie swap.KeyName and then its value in swap.KeyValue.
This will solve your query for reading attachment from mail.
For any problems reply me back.
Thanks & Regards,
Anurag Garg
Similar Messages
-
CIN-Two Export scenarios-Duty not paid & Duty Paid
Hello SAP SD CINers,
I have a basic requirement which is that one industry exports without duty paid (which is always the case) and other duty paid which means in the Billing document & the Export Excise Invoice the Price will be statistical but the Taxes like JEXP (IN: A/R BED %) will be accounted for.
The solution as formulated by us is that we have a new series created and then all seems right but the problem here is that it is very very difficult to get a new series from Customs for different busines scenario as normally only two are sanctioned like Home consumption and for Exports.A new Shipping Point be created specially for this scenario which can then be maintained in the Excise/Series group determination but the problem here is that one needs a new Series Group to be maintained which should have utilization not clicked as normally for exports it is ticked off for no utilization but here we need to carry out utilization.Hence, the requirement for a new Series is generated.This is very difficult to convince the Authorities to sanction a new series grouop as this is normally not done.
Could you CIN masters suggest something for this.
In Std SAP, we can have two order types for e.g. OR & RE to have the same No. range int. assignment which will cause the number maintained to find the next available number for both OR as well as RE..OR can have number "1" and RE can have number "2" & so on and so forth.Duplications dont happen here but in case of CIN Excise Invoices, this happens if we shift between Series "EX" (for export) & new Series say "S1" both of which have Object " J_1IEXCEXP" have same from -to numbers.
This problem can be easily be solved by making the changes in the source code which allows this two series groups to have the same number range and the numbers shouldn't get duplicated and the sytem should take in next available number just as this is done for Sales Orders.But that is a change, so we would request for some solution within the existing setup.
I am sure this problem must arise with almost all Indian export factories so there must be some workaround for this problem.
Kindly advice as this is very challenging scenario.In case of further queries, kindly send query for this & i will be looking forward to valuable inputs from you all regarding this.
Thanks All in advance.
Regards,
Dinesh Relwani.Hello SAP SD CINers,
I have a basic requirement which is that one industry exports without duty paid (which is always the case) and other duty paid which means in the Billing document & the Export Excise Invoice the Price will be statistical but the Taxes like JEXP (IN: A/R BED %) will be accounted for.
The solution as formulated by us is that we have a new series created and then all seems right but the problem here is that it is very very difficult to get a new series from Customs for different busines scenario as normally only two are sanctioned like Home consumption and for Exports.A new Shipping Point be created specially for this scenario which can then be maintained in the Excise/Series group determination but the problem here is that one needs a new Series Group to be maintained which should have utilization not clicked as normally for exports it is ticked off for no utilization but here we need to carry out utilization.Hence, the requirement for a new Series is generated.This is very difficult to convince the Authorities to sanction a new series grouop as this is normally not done.
Could you CIN masters suggest something for this.
In Std SAP, we can have two order types for e.g. OR & RE to have the same No. range int. assignment which will cause the number maintained to find the next available number for both OR as well as RE..OR can have number "1" and RE can have number "2" & so on and so forth.Duplications dont happen here but in case of CIN Excise Invoices, this happens if we shift between Series "EX" (for export) & new Series say "S1" both of which have Object " J_1IEXCEXP" have same from -to numbers.
This problem can be easily be solved by making the changes in the source code which allows this two series groups to have the same number range and the numbers shouldn't get duplicated and the sytem should take in next available number just as this is done for Sales Orders.But that is a change, so we would request for some solution within the existing setup.
I am sure this problem must arise with almost all Indian export factories so there must be some workaround for this problem.
Kindly advice as this is very challenging scenario.In case of further queries, kindly send query for this & i will be looking forward to valuable inputs from you all regarding this.
Thanks All in advance.
Regards,
Dinesh Relwani. -
Mrp for make to order scenario
hi gurus,
I have got a different and challenging scenario in make to order planning. production planning has to be made on sales order basis.for eg : a particular finished product, a sale order of 100 nos is generated. but all 100 nos cannot be produced in single plant. so it has to be distributed to 2-3 plants. one more thing is, for make to order scenario, there is no fixed lot size. based on sale order quantity, planned order is created irrespective of fixed lot size maintained in material master. IF my batch size is fixed, for make to order also based on fixed based size, planned order has to be created.
Can anybody suggest a better solution for this scenario?
Thank you all in advance. all useful replies will be rewarded.
regards,
senthilHello,
For MTO, Lot for Lot order quantity is defaulted..
So your receipt element will be as per your Sales Order.
Try this:
In T. Code : OMI4, for Lot Size : EX
Change the MTO Lot size to "1" Lot-for-Lot with rounding.
(Which is Blank by default - lot-for-lot)
Maitain the Rounding Value in MRP-1 Screen or Use Rounding Profile..
This Helps..
Regards,
Siva -
Can using query create aging report for GL Account
Hi all expert,
I have a challenge scenario which customer request print out aging report for the following GL Account.
This is not a business partner account. However, customer want display like aging report.
30 days aging report for the following GL accounts by projects:-
i) WIP (Work In Progress) account
ii) Accrued Revenue account
iii) Accrued Cost account
Examples:
Current Balance 30 day 60 day 90 day 120 day
Account WIP 10000 2000 3000 5000 0
Any idea or example given? If yes, can you provide a query here?
Regards,
Eric TanHi Eric
In standard SAP Business One this is difficult as the reports are 2 dimensional. To achieve this you will need to write multiple select statements into a temporary table and then select the final result from the temp table. Here is a sample for you to test:
USE [*DATABASE_NAME*]
GO
/****** Object: StoredProcedure [dbo].[REPORT_NAME] Script Date: 04/24/2009 13:17:21 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE proc [dbo].[*REPORT_NAME*]
as
set nocount on
begin
DECLARE @Day_no varchar(2)
DECLARE @Month_no varchar(2)
DECLARE @Year_no varchar(4)
DECLARE @Start_Date Datetime
SET @Day_no = DAY(GetDate())
SET @Month_no = MONTH(GetDate())
SET @Year_no = YEAR(GetDate())
SET @Start_Date = @Year_No + '/' + @Month_no + '/' + @Day_no -- + '/' + @Year_No
IF OBJECT_ID(N'tempdb..#CRDAGEING', N'U') IS NOT NULL
drop table #CRDAGEING
SELECT T0.[CardCode] AS [CardCode], T0.[CardName] AS [CardName], -T0.[Balance] AS [Balance], CAST(0 AS MONEY) AS [Current], CAST(0 AS MONEY) AS [1Week], CAST(0 AS MONEY) AS [2Weeks], CAST(0 AS MONEY) AS [3Weeks], CAST(0 AS MONEY) AS [4Weeks], CAST(0 AS MONEY) AS [5Weeks], CAST(0 AS MONEY) AS [6Weeks], CAST(0 AS MONEY) AS [Over6Weeks], CAST(0 AS MONEY) AS [Avg3Months], CAST (0 AS MONEY) AS [Onhand] INTO #CRDAGEING FROM OCRD T0 WHERE T0.[CardType] = 'S' -- and T0.[CardCode] <> '' --and T0.[DocDate] >= @FromDate AND T0.[DocDate] <= @ToDate
INSERT dbo.#CRDAGEING SELECT T1.[ShortName], NULL, 0, -SUM(T1.[BalDueDeb] - T1.[BalDueCred]), 0, 0, 0, 0, 0, 0, 0, 0, 0 FROM JDT1 T1, OCRD T2 WHERE T2.[CardType] = 'S' and T2.[CardCode] = T1.[ShortName] and T1.[DueDate] <= @Start_Date GROUP BY T1.[ShortName]
INSERT dbo.#CRDAGEING SELECT T1.[ShortName], NULL, 0, 0, -SUM(T1.[BalDueDeb] - T1.[BalDueCred]), 0, 0, 0, 0, 0, 0, 0, 0 FROM JDT1 T1, OCRD T2 WHERE T2.[CardType] = 'S' and T2.[CardCode] = T1.[ShortName] and T1.[DueDate] >= DATEADD(DAY,1,@Start_Date) and T1.[DueDate] <= DATEADD(DAY,8,@Start_Date) GROUP BY T1.[ShortName]
INSERT dbo.#CRDAGEING SELECT T1.[ShortName], NULL, 0, 0, 0, -SUM(T1.[BalDueDeb] - T1.[BalDueCred]), 0, 0, 0, 0, 0, 0, 0 FROM JDT1 T1, OCRD T2 WHERE T2.[CardType] = 'S' and T2.[CardCode] = T1.[ShortName] and T1.[DueDate] > DATEADD(DAY,8,@Start_Date) and T1.[DueDate] <= DATEADD(DAY,15,@Start_Date) GROUP BY T1.[ShortName]
INSERT dbo.#CRDAGEING SELECT T1.[ShortName], NULL, 0, 0, 0, 0, -SUM(T1.[BalDueDeb] - T1.[BalDueCred]), 0, 0, 0, 0, 0, 0 FROM JDT1 T1, OCRD T2 WHERE T2.[CardType] = 'S' and T2.[CardCode] = T1.[ShortName] and T1.[DueDate] > DATEADD(DAY,15,@Start_Date) and T1.[DueDate] <= DATEADD(DAY,22,@Start_Date) GROUP BY T1.[ShortName]
INSERT dbo.#CRDAGEING SELECT T1.[ShortName], NULL, 0, 0, 0, 0, 0, -SUM(T1.[BalDueDeb] - T1.[BalDueCred]), 0, 0, 0, 0, 0 FROM JDT1 T1, OCRD T2 WHERE T2.[CardType] = 'S' and T2.[CardCode] = T1.[ShortName] and T1.[DueDate] > DATEADD(DAY,22,@Start_Date) and T1.[DueDate] <= DATEADD(DAY,29,@Start_Date) GROUP BY T1.[ShortName]
INSERT dbo.#CRDAGEING SELECT T1.[ShortName], NULL, 0, 0, 0, 0, 0, 0, -SUM(T1.[BalDueDeb] - T1.[BalDueCred]), 0, 0, 0, 0 FROM JDT1 T1, OCRD T2 WHERE T2.[CardType] = 'S' and T2.[CardCode] = T1.[ShortName] and T1.[DueDate] > DATEADD(DAY,29,@Start_Date) and T1.[DueDate] <= DATEADD(DAY,36,@Start_Date) GROUP BY T1.[ShortName]
INSERT dbo.#CRDAGEING SELECT T1.[ShortName], NULL, 0, 0, 0, 0, 0, 0, 0, -SUM(T1.[BalDueDeb] - T1.[BalDueCred]), 0, 0, 0 FROM JDT1 T1, OCRD T2 WHERE T2.[CardType] = 'S' and T2.[CardCode] = T1.[ShortName] and T1.[DueDate] > DATEADD(DAY,36,@Start_Date) and T1.[DueDate] <= DATEADD(DAY,43,@Start_Date) GROUP BY T1.[ShortName]
INSERT dbo.#CRDAGEING SELECT T1.[ShortName], NULL, 0, 0, 0, 0, 0, 0, 0, 0, -SUM(T1.[BalDueDeb] - T1.[BalDueCred]), 0, 0 FROM JDT1 T1, OCRD T2 WHERE T2.[CardType] = 'S' and T2.[CardCode] = T1.[ShortName] and T1.[DueDate] > DATEADD(DAY,43,@Start_Date) GROUP BY T1.[ShortName]
SELECT SR.[CardCode], MAX(SR.[CardName]), SUM(SR.[Balance]) AS [BalanceOwing], SUM(SR.[Current]) AS [Current], SUM(SR.[1Week]) AS [1Week], SUM(SR.[2Weeks]) AS [2Weeks], SUM(SR.[3Weeks]) AS [3Weeks], SUM(SR.[4Weeks]) AS [4Weeks], SUM(SR.[5Weeks]) AS [5Weeks], SUM(SR.[6Weeks]) AS [6Weeks], SUM(SR.[Over6Weeks]) AS [Over6Weeks] FROM dbo.#CRDAGEING SR GROUP BY SR.[CardCode] ORDER BY SR.[CardCode]
END
Go to Microsoft SQL Studio manager and select your company database. Then expand the list and select Programmability > Stored Procedures. Right click on Stored Procedures and select New Stored Procedure. Copy the above code over the code in the edit window and change the database name as well as report name. Then select Execute to create the stored procedure. If you make changes, remember to change the word CREATE to ALTER (with other words CREATE for the first execute, and ALTER thereafter). Then in SAP Business One create a new query and leave everything blank. Click on execute and select the pencil to change to edit mode. Remove the words SELECT and type in EXEC REPORT_NAME (change the REPORT_NAME to the name you used in SQL). Then execute again and the results will be displayed in SAP Business One.
Let me know if you get stuck. Remember the above is an example and will need to be changed to use your tables and fields as required. The basic idea is to move across by one column with each select statement. So for example the first select statement does the CURRENT column, the second one the 30DAYS column, and so on.
Kind regards
Peter Juby -
What is the best practice to manage versions in XI?
Hi!
Is there any <b>good</b> best practice ways to manage versions in XI.
Have a challenging scenario with many legacy systems and many interfaces per legacy system.
Should I put all the different interfaces for one legacy system under one namespace in the Integration Repository or should I make one own namespace for each interface.
Or is there other approaches, that I should consider to get a environment that is easily maintained.
br.samuliHi,
In our project we have defined our own naming conventions/namespaces.
For instance, we have agreed that we will group all interfaces (from all offices worldwide and different projects) into one single product version.
This global custom product will in turn be divided into different SWC (Software Components) and SWCV (Software Component versions).
So for each business scenario we will create separate SWC's and when necessary create new versions of these SWC's.
This means that each SWC should contain all the required objects to support a complete integration scenario i.e. inbound/outbound-interfaces, data types, msg types, business scenario's etc...
Regards,
Rob. -
Automatic Purchase Requisition
Dear Gurus,
Plz. help me out in configuring the scenario
My client had two plants one at Bangalore and the other at Mumbai.
If we rise the sales order from Bangalore Plant, the system should automatically trigger purchase requisition as we procure the goods from third party. And at the same time when we rise the sales order from Mumbai Plant, purchase requisition should not trigger as the goods are readily available at Mumbai Plant.
Thanks in advance.Hi
This is a challenging scenario
See the PR requisition automatically generated on saving the sales order is triggered from Schedule line category controls
For third party we will have schedule line triggered as CS which has order type as NB(which really triggers PR) and item category as Third party and Account assignment category as X which really controls the whole scenario
My Suggestion
While creating the material for plant Bangalore in MM01 you should have the entire third party settings like for item category group as BANS in sales org 2 data and in the purchasing data Automatic PO ticked like the entire third party settings
While creating the material for plant Mumbai in MM01 you should have the entire Normal settings like for item category group as NORM in sales org 2 data
In CMR and MMR dont maintain the delivering plant
In MMR at sales org data 1 dont maintain delivering plant
In MMR have different MRP types or bangalore plant and mumbai plant while creating MM01
Because this MRP type along with the item category triggers schedule line category
While creating the sales order you have to manually input the plant in the shipping data of item details
You should make customizations so that if you input bangalore plant the item cat triggered should be TAS and if you put Mumbai plant the item cat triggered is TAN
I feel this is possible by customization (right now i dont have access to SAP otherwise i would have tried out this whole process)
Pls try whether these suggestions are working put?
Have you tried this?
When creating the material in MM01 for plant bangalore item category group as BANS and its subsequent settings will trigger PR
When creating the material in MM01 for plant mumbai item category group as NORM and its subsequent settings will not trigger PR and the same should be a normal process
Regards
Raja -
Subcontracting scrap, component consumption and service cost booked to vendor
Hi,
Our client is issuing 100 pieces of component "A" to subcontracting vendor to manufacture finished product "B". In MIGO, we are receiving finished product B and consumption is booked for 100 pieces of component A . Invoice is paid to the subcontracting vendor for the service cost.
Later, we realized finished product did not met the quality standards and decided to scrap out the finished product B. This is scrapped and stocked out using std. SAP using 551 mov type. But the client want to charge scrap cost of finished product B, service cost (Job work cost) and the consumed components (A) of 100 pieces to subcontracting vendor. How to map this challenging scenario in Std. SAP.
Regards,
SatNo need to create subcontracting PO.
Just create a standard PO, use material as FG (Material B as per your scenario)
Enter the vendor (whom you want to charge for it)
Let me explain the scenario:
1. You have created a subcontracting PO for vendor X, FG material B and component A.
Subcontracting service charge = Rs. 10.
Price for Material B = Rs. 50
Price for material A = 30.
2. You have done GR.
Now the FG material B is in your stock. (Here, you have done 551 movement type). Right ?
Now just do not do 551 movement type. Leave the stock as it is.
3. Then create a standard PO for material B and vendor X, give the price = (10+50+30) 90 and tick the return option in PO line item.
4. Then do goods receipt. Movement type 161 will be automatic posted in system and stock will be consumed from your storage location.
Then accounting entry will be
Stock account Credit
GR/IR account Debit.
5. Then you can do credit memo to vendor from MIRO with the reference of this PO. Then the accounting entry will be
GR/IR account Credit
Vendor Account Debit. -
Re: [SunONE-JATO] Frame Loading
Divakar,
A very challenging scenario for all app servers, especially J2EE web
containers, is concurrent access to session. The HttpSession API does
not provide an interface for either the container vendor or the
developer to manage concurrency issues or events discretely; therefore,
there is little JATO or any framework can do to help you with
concurrency issues AND not add container behavior. The container
vendors have to rely upon implementation details to manage these complex
scenarios. Be that as it may (which is mostly my opinion anyways), the
iAS engineers have worked long and hard the last year from iAS 6.0 sp2
thru 6.5 to deal with issues around session concurrency; the discussion
of which can be fairly verbose. What is important and in some ways
unfortunate, is that the handling on these concurrency scenarios is
different between releases. I believe that there is no blocking/locking
in sp2 and earlier (resembling NetDynamics 3.x behavior). In sp3 (your
case) concurrent access was serialized (resembling in some ways
NetDynamics 4.x and 5.x) In sp4 it was changed again and finally in 6.5
it was improved to ensure data coherency and stability with locking
while eliminating locks within the same JVM. If you would like details
email me offline at [matthew.stevens@s...] and I will see what I can do.
No matter what version of iAS you are using, please ensure that your
application is deployed with Sticky load-balancing such that request
process is handled by the same JVM per session. In this way, you avoid
the 'distributed' computing problem of locking across processes and
machines. In other words, you have far less chance of hung request
threads if you use sticky load-balancing.
You need to establish some debug techniques in your development
environment for J2EE to assess hangs or latencies (there are plenty of
synchronous APIs in any J2EE container so this is not just an iAS thing
or Session concurrency thing). If you are on Solaris you may issue a
kill -3 PID
of the JVM running the web container. Sending this SIGQUIT signal to
the JVM will trap the JVM and result in a full thread dump to the
STDERR. For instance, for iAS you would find the JVM (.kjs) spawned by
the kjs script and send it a SIGQUIT. You should very easily see in the
stack traces of the threads, your own thread which is above the dispatch
to your module servlet [ie. you will see the
<ApplicationServletBase.processRequest()] stack frame in the stack trace.
If you are on Win32 you can run the iAS engines in the foreground by
invoking iAS from the command line [kas -debug] in which case the KJS
will appear in its own console window which you can CTRLBREAK to see the
stack trace.
In this way, you can see what your web container is doing while it is
latent or hung.
In your case, you will probably see your request thread blocked in calls
to PlatformNASSession or PlatformLITESession. These two classes are the
HttpSession implementations for iAS. The 'NAS' session uses the HA
Dsync sub-system for replicated attribute backing store and the 'LITE'
session uses an regular HashTable for the backing store.
Again, concurrency issues are FAR MORE complex with the distributed
implementation. Therefore, as an isolation technique, you may want to
confirm that you are using session-impl=lite in your iAS deployment
descriptor so as to avoid the Dsync implementation. Using Session LITE
should eliminate the hangs during concurrent frame loads.
Is it possible for you to upgrade to iAS 6.5? What about iAS 6.0 sp4?
Please remember to leverage the JATO front controller events, even if it
is for debug. You have the onBeforeRequest event where you could
intercept the front controller before it has bothered with the
HttpSession APIs. For isolation purposes, you could enter a critical
section from your derived onBeforeRequest event to see whether
concurrency is an issue in your case.
I hope this "frames" the problem space for you 8-) Please post any
questions or results from your testing and we can try to help further.
The best information we can use to help you is the stack trace for the
hang condition.
thanks,
matt
padiyar wrote:
I am facing problems with FrameSet loading.
I have a frameset having two frames and src defined
for both. Sometimes one of the frames doesnt get loaded.
I am using iAS 6.0 with SP3 and JATO 1.2
<FRAMESET COLS="200,*" BORDER=0 FRAMEBORDER=no>
<FRAME NAME="Frame1" SRC="../AppName/pgMenu" MARGINHEIGHT=0
MARGINWIDTH=10 SCROLLING=auto NORESIZE >
<FRAME NAME="Frame2" SRC="../AppName/pgDetail" MARGINHEIGHT=6
MARGINWIDTH=12 SCROLLING=auto RESIZE >
</FRAMESET>
From the kjs logs i noticed that onAfterRequest is not getting called
while first frame's viewbean is being executed and kjs just hangs.
If I set the SRC for one of the frames as viewbean and the other one
a blank.html and trigger the loading of second frame using javascript
on load of the first frame it works fine. But i dont
want to go for this approach.
Did anybody faced this problem and know how to fix this without using
javascripts?
Thanks,
Divakar
To download the latest version of JATO, please visit:
http://www.sun.com/software/download/developer/5102.html
For more information about JATO, please visit:
http://developer.iplanet.com/tech/appserver/framework/index.jsptest
-
Current day "shift starts from previous day" night 23:00 hours
Hi Experts,
I have a challenging scenario in Positive Time Management which is current day 1st shift time starts from previous day 23:00 hours (eg: previous day 23:00 to 07:00 current day).
As per my knowledge in SAP Time Management, Shift start time is considered as current day, but for my scenario Shift End time has to consider as a current day.
I couldnu2019t brought this shift forward to as 3rd shift because Production Incentives amounts and public holidays are computing based on previous day 23:00 hours.
Points will be awarded for helpful solution.
Regards
RajuWhile you create a recod in the IT 2011 as you give
next field you wil be having a field for previous day option if you choose that
p20 for out time
ex: 7:00 am i.e next day but still it will count for the current day
Best Regards -
Project Server User Security + Custom SSRS Reports Project List Parameter
Hello, below is the issue / challenge scenario:
I'mnt. We have to remove the smaller chunk of queries that are hitting the published database to get the user security permissions. I'm using custom SSRS reports that are pulling data from Reporting database and other custom financial SQL DB's. I need to
figure out a solution to get the list of accessible projects for a particluar user using PSI. I did find this technet article that addresses my issue in a way
http : // technet . microsoft . com/en-us/office/ee862408(v=office.14).aspx#pj2007_ta_SecurityInReports_DevelopingThePsiProxiesClassLibrary
the above solution means that I need to change many of my existing report queries (going to published DB)
Is there a simpler way to maintain a table that I can populate with the Project GUID's, name , user id, name using PSI? I can then refer the existing SQL's procs, TVF's to point to this table instaed of going to the published DB (unsupported method)
Any help/ direction is greatly appreciated
thanks,
SGHello,
The ReadProjectStatus PSI method defaults to Project for the Project Type, the value is 0. If you want other project types is gets slightly more complicated as you have to have multiple data sets for the ReadProjectStatus call, one for each project type
- each time specifying the default projType. For example for Projects (0) the query is:
<Query>
<Method Namespace="http://schemas.microsoft.com/office/project/server/webservices/Project/" Name="ReadProjectStatus">
<Parameters>
<Parameter Name="projType"><DefaultValue>0</DefaultValue></Parameter>
</Parameters>
</Method>
<SoapAction>http://schemas.microsoft.com/office/project/server/webservices/Project/ReadProjectStatus</SoapAction>
<ElementPath IgnoreNamespaces="true">ReadProjectStatusResponse/ReadProjectStatusResult/diffgram/ProjectDataSet/Project{PROJ_NAME,PROJ_UID,PROJ_TYPE}</ElementPath>
</Query>
For sub projects (5) it is:
<Query>
<Method Namespace="http://schemas.microsoft.com/office/project/server/webservices/Project/" Name="ReadProjectStatus">
<Parameters>
<Parameter Name="projType"><DefaultValue>5</DefaultValue></Parameter>
</Parameters>
</Method>
<SoapAction>http://schemas.microsoft.com/office/project/server/webservices/Project/ReadProjectStatus</SoapAction>
<ElementPath IgnoreNamespaces="true">ReadProjectStatusResponse/ReadProjectStatusResult/diffgram/ProjectDataSet/Project{PROJ_NAME,PROJ_UID,PROJ_TYPE}</ElementPath>
</Query>
You have to repeat this for all project types you want to include, create a hidden parameter for each project type then create a parameter to join them up and use the combined parameter to filter the data sets that get the data from the Reporting
database.
For other parameters in the ReadProjectStatus method see:
http://msdn.microsoft.com/en-us/library/gg210536(v=office.15).aspx
Paul
Paul Mather | Twitter |
http://pwmather.wordpress.com | CPS -
Multiple backend systems in ESS CATS Webdynpro scenario - challenge
Hello Everyone!
For one of our customers we have the following challenging situation with the ESS CATS Webdynpro scenario:
System Landscape:
ERP 6.0 HR Backend System
ERP 6.0 FI/CO Backend System
EP 7.0 with already running ESS scenarions
Our customer actually uses the ESS CATS Scenario for collecting wage types into infotyp 2010. Now, additionally, they want to
use ESS CATS for an internal cost allocation scenario. This means, that the data from the CATS Webdynpro have to be redirected to the FI/CO backend system instead of the HR system (because of a missing standard ALE scenario for this case). The JCO SAP_R3_HumanResources points to the HR-System. Is there a way to dynamically redirect the system assignment depending of the used CATS scenario. Out of the CATS Profile we can conclude which system should be assigned. I red a lot about dynamic system resolution in the SAP Library, but it seems not to be the right solution for this issue - because I need to know the CATS profile for the descision.
Any hints would be great. Thanks in advance!
Cheers,
HaraldRob Christopher
First of all, I introduce myself: it’s Oscar Garcia de las Heras, from Madrid, Spain.
I can check in SCN and Linkedin your high expertise in ALE, ESS and SAP.
We have a delicate situation in my current project; I would like to ask your help.
The situation is this: we have different machines in HR and FI, and are trying to implement Travel Management through the SAP Standard Portal.
TM settings is in the FI machine, but ESS calls to the HR machine.
We have 2 ideas:
-A, differentiate the different services of the Portal, so specific HR processes will call to a HR machine and others will call to a FI machine.
-B, set the ALE processes to duplicate HR information in FI, and Portal will call just FI machine.
We prefer first idea; would you recommend us?
Thanks a lot for your time -
Message mapping challenge in IDOC to EDI scenario
Dear PI message mapping experts,
I'm a newbie in PI and facing a mapping problem using graphical message mapping.
I'm in an IDOC (INVOIC.INVOICE02) to FILE (EDI) scenario.
Here after is the mapping i need to perform :
Source structure IDOC :
<E1EDKA1> (0..99)
<NAME1> A </NAME1> (0..1)
<NAME2> B </NAME2> (0..1)
<NAME3> C </NAME3> (0..1)
<NAME4> D </NAME4> (0..1)
</E1EDKA1>
Target structure :
<AccountingCustomerParty> (1..1)
<Party> (0..1)
<PartyName> (0..unbounded)
<Name>A</Name> (1..1)
</PartyName>
<PartyName>
<Name>B</Name>
</PartyName>
<PartyName>
<Name>C</Name>
</PartyName>
<PartyName>
<Name>D</Name>
</PartyName>
</Party>
</AccountingCustomerParty>
I know i have to play with context and queues with stanard function or UDF but cannot succeed to do it.
Could you please help me ?
Thanks in advance,
AlyseeOne approach out of available few ways to implement this:
NAME1 - Exists - CreateIf - PartyName[0]
NAME2 - Exists - CreateIf - PartyName[1] (Create deuplicate segment)
NAME3 - Exists - CreateIf - PartyName[2] (Create deuplicate segment)
NAME4 - Exists - CreateIf - PartyName[3] (Create deuplicate segment)
Srikanth Srinivasan -
Creation of BOM for given scenario
Hi All
I have a requirement of creating BOM under the given scenario:
I am currently into some food industy implementation wherein a certain raw food product is bought from farmers, It is then segregated as per the grade through a grading machine, the grade is again based on the size of the raw material, the challenge which am facing is if suppose the input to the machine is 100kg then after grading process how much of the input would be coming as Grade-A, Grade-B & Grade-C is not confirmed, it can be any combination of these three or it can be combination of these three & the wastage as well.
I shall look forward to your valuable inputs for mapping of the BOM in the given scenario.
Regards,
J K TharwaniHi JK,
I had worked on a similar scenario, but there is one thing which is not clear and needs to be decided by you with the business is fixing of the quantity of any one grade i.e A,B or C the theoritical quantity and approximate scrap that you can expect. Once this decision is made then depending on the costing point of view you shall decided whether you need to go the co product way or the byproduct way along with the apportionment structure decision.
For our purpose say we have decided that normally B grade product comes out in more quantity when processing the input product "X". Then we can create a BOM with the header material as "B" and the components shall contain "X" in positive quanity and the other grades "A" ,"C", and scrap in negative quantities. So the BOM will look like this
say for example the B grade you shall get 60 kgs out of every 100 kgs of X. then the bom will look as follows
B(60)= 1.component X=100 kgs ,2. component A=(-20 kgs) 3. component B= (-20 kgs)
By using the above structure once a process order is created for B then the input product gets consumed (261 movement takes place) and paralley the 531 movemnt takes place for component A and B since they are in negative quantities and parallely B gets 101 GR to take place.
But its the business to decide the approximate composition for the BOM depending on the type of raw material they get. The business normally knows if the raw material comes from this farmer what kind of grade can be expected.
Hope this solution solves your issue.
Best Regards
Sasibhushan -
XSLT Mapping :-- End to End Scenario
Can any one provide XSLT Mapping End to End scenario with screen shots?
HI
XSLT Mapping
XSLT stands for EXtensible Stylesheet Language Transformations. It is an XML based language for transforming XML documents into any other formats suitable for browser to display, on the basis of set of well-defined rules.
Using XSLT mapping in a ccBPM scenario
File to Multiple IDocs (XSLT Mapping)
Steps required for developing XSLT Mapping
u2022 Create a source data type and a target data type
u2022 Create Message types for the source and target data types.
u2022 Create Message Interfaces includes Inbound Message interface and Outbound Message interface.
u2022 XSLT Mapping does not require creation of Message mapping, so donu2019t create any Message mapping.
u2022 Create an .XSL file which converts source data type into target data type.
u2022 Zip that .xsl file and import it into Integration Repository under Imported Archives.
u2022 In Interface Mapping choose mapping program as XSL and specify this zip program. (Through search help you will get XSL Mapping programs that you imported under Imported Archives, select your corresponding XSL Program)
u2022 Test this mapping program by navigating to Test tab.
By having look at above steps you can easily find out that this mapping is no where different from other mapping programs, here the challenging lies in creating an XSLT file. If you spend couple of minutes in studying XPATH tutorial you would be in ideal position to create an XSL Transformation (.xsl extension).
If you still find difficulties in generating XSL Transformation, then you can make use of a tool u201CAltova MapForceu201D which will create XSL file for you.
Steps for creating XSL file using this tool:
1. Open the Alto MapForce, import the source .xml and .xsd file in it
2. Similarly import the target .xml and .xsd in MapForce.
3. These two data files should match with source and target data types in Integration Repository.
4. Complete the graphical mapping using extensive list of XSLT functions available there.
5. Save the mapping file.
6. Click the XSLT tab. You will have the entire xslt logic there.
7. Copy that content and save it as .xsl file.
8. Zip above .xsl file and import the same into IR under Imported Archives.
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/01a57f0b-0501-0010-3ca9-d2ea3bb983c1
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/9692eb84-0601-0010-5ca0-923b4fb8674a
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/006aa890-0201-0010-1eb1-afc5cbae3f15
xpath functions in xslt mapping
https://www.sdn.sap.com/irj/sdn/advancedsearch?cat=sdn_all&query=xslt+mapping&adv=false&sortby=cm_rnd_rankvalue#
complete mapping guide:
http://help.sap.com/saphelp_nw04/helpdata/en/73/f61eea1741453eb8f794e150067930/content.htm
XSLT MAPPING:
Generic XSLT Mapping for SAP XI,Part I
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/01a57f0b-0501-0010-3ca9-d2ea3bb983c1
Generic XSLT Mapping for SAP XI,Part II
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/9692eb84-0601-0010-5ca0-923b4fb8674a
XSLT: Recursive Templates
XSLT: Recursive Templates
Easy RFC lookup from XSLT mappings using a Java helper class
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/05a3d62e-0a01-0010-14bc-adc8efd4ee14
Step u2013 By u2013 Step Simple Approach for XSLT Mapping
Step By Step Simple Approach for XSLT Mapping
http://www.devguru.com/Technologies/xslt/quickref/xslt_element_applytemplates.html
cheers
Edited by: vemuganti naga phalguna on Jul 2, 2008 8:59 AM
Edited by: vemuganti naga phalguna on Jul 2, 2008 9:07 AM -
Hi Frnds,
I want to develop scenario between CIDXXIIDOC..
if any one having documentation about CIDX
any scenario withs screene shots share to me...
share any useful links,
what are challenges i wil face while developing CIDX adapter scenario
anyone help me out.. its very urgeNT......
Regards,
RAJHi,
CIDX Adapter is Chemical Industry standard for data exchange in B2B scenarios. It uses XML formatted in different manner specific to Chemical industry.
In order to use this, you need to purchase the license.
There are xml schemas provided by CIDX for each transaction like Order Create, Order change, shipping instruction etc..
You need to download the once which are required in your scenario and use the same.
For overview of CIDX in general you can visit http://www.cidx.org
This might give u an business scenario -http://www.rexsoft.com/sci/Rex_CPI_XI_Configuration_Testing_Business_Package.pdf
Hope this helps too...
http://help.sap.com/saphelp_nw04/helpdata/en/23/cb22419e2ab167e10000000a155106/frameset.htm
http://help.sap.com/saphelp_nw04/helpdata/en/f4/622c41eda5f423e10000000a155106/frameset.htm
http://help.sap.com/saphelp_nw04/helpdata/en/d5/351941fcdbf56fe10000000a1550b0/frameset.htm
Check this basic guide too..
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/915dc712-0b01-0010-a99a-fb2fdfa5ddc2
Check these forum replies too..
CIDX and R/3
Please reward points.
Thanks,
Vijaya.
Edited by: Vijaya Lakshmi Palla on Jun 5, 2008 8:37 AM
Edited by: Vijaya Lakshmi Palla on Jun 5, 2008 8:42 AM
Maybe you are looking for
-
[Forum FAQ] Schedule multiple versions of System Image Backup in Windows 8.1
As we known that there is no UI for user to configure Image backup in Windows 8.1, this is a guide for your to schedule multiple versions of System Image Backup. Step 1: Create a task to schedule an image backup with following command: SCHTASKS /Crea
-
What is the best external hard drive for iMac?
The two external hard drives I am looking at are the Seagate GoFlex 500 G for Mac and the Seagate 500G formatted for Windows, but can reformat for Mac. The first one is formatted for Mac at the factory and has both USB and firewire connectors, is up
-
Open PDF in self service using oaf
Hello, Can someone brief me how to open a rtf file created in xml publisher directly in selfservice instead of opening using a pdf editor externally? Can we have an option to enter some extra information in that opened rtf document and can we save th
-
I'm running Arch-i686 on P4,2G ram,NVGeForce6200 ,turtlebeach sound card and sis900etho/lan(using mii module not sis900) pci card. The previous install was aborted because pacman wouldn't work even with pppoe. I had used Arch two yrs ago (after usin
-
Ordering an iPhoto laid out book from another service
Hello, and thanks upfront for the information. I have ordered large photo books from Apple in the past and been happy with the quality. But their prices are high, and for large books you can do much better cost wise at other sites. Some users have to