Trading Execution Workbench issue
Hi,
Im working on GTM scenario for Dropshipment, my issue comes when I try to create the billing doc via WTEW (Trading Workbench) on step 0023,0001, 0012. Even though when I process the delivery it tries to go all the way to invoice creation, the system sends an error msg
When i try creating the invoice step 0023,0001, 0012 on Workbench, the system does not find my delivery for it to be processed, these documents can only be modified via workbench.
When I go to transaction SE24 and use class CL_WB2_ACTION_BIL_CREATE, the invoice is created fine, but the main issue its with the workbench.
Could you help me identify why the Workbench does not recognices my delivery to be invoiced?
Thanks in advance
Best regards
Hi Sai & all guys,
I have a exactly similar problem with 4.7 version with intercompany document posted in SD and trading partner is not getting updated in PCA line item.
All, Let me know if this is clear.... or need further info...
Please I need your help..
Regards,
Vinay
Similar Messages
-
Can't run itunes on Vista - Data Execution Prevention issue
Have installed iTunes on vista successfully. When I try to launch, was prompted to re-install iTunes again... digged a bit and came across this Data Execution Prevention issue...
Any idea how to solve this issue?The following polydorus post is a good place to start with a DEP error:
http://discussions.apple.com/thread.jspa?messageID=10345363� -
Help Please!!!
I've been searching for an execution time issue in our application for a while now. Here is some background on the application:
Collects analog data from a cDAQ chassis with a 9205 at 5kHz
Data is collected in 100ms chunks
Some of the data is saved directly to a TDMS file while the rest is averaged for a single data point. That single data point is saved to disk in a text file every 200ms.
Problem: During operation, the VI that writes the data to the text file will periodically take many hundreds of milliseconds to execute. Normal operation execution times are on the order of 1ms or less. This issue will happen randomly during operation. It's usually many seconds between times that this occurs and it doesn't seem to have any pattern to when the event happens.
Attached is a screenshot of the VI in question. The timing check labeled "A" is the one that will show the troubling execution time. All the other timing checks show 0ms every time this issue occurs. I simply can't see what else is holding this thing up. The only unchecked subVI is the "append error call chain" call. I've gone through the heirarchy of that VI and ensured that everything is set for reentrant execution. I will check that too soon, but I really don't expect to find anything.
Where else can I look for where the time went? It doesn't seem to make sense.
Thanks for reading!
Tim
Attachments:
Screen Shot 2013-09-06 at 9.32.46 AM.png 87 KBYou should probably increase how much data you write with a single Write to Text File. Move the Write to Text File out of the FOR loop. Just have the data to be written autoindex to create an array of strings. The Write to Text File will accept the array of strings directly, writing a single line for each element in the arry.
Another idea I am having is to use another loop (yes another queue as well) for the writing of the file. But you put the Dequeue Element inside of another WHILE loop. On the first iteration of this inside loop, set the timeout to something normal or -1 for wait forever. Any further iteration should have a timeout of 0. You do this with a shift register. Autoindex the read strings out of the loop. This array goes straight into the Write to Text File. This way you can quickly catch up when your file write takes a long time.
NOTE: This is just a very quick example I put together. It is far from a complete idea, but it shows the general idea I was having with reading the queue.
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
Attachments:
Write all data on queue.png 16 KB -
Hi All,
Oracle v11.2.0.2
I have a SELECT query which executes in less than a second and selects few records.
Now, if I put this SELECT query in IN clause of a DELETE command, that takes ages (even when DELETE is done using its primary key).
See below query and execution plan.
Here is the SELECT query
SQL> SELECT ITEM_ID
2 FROM APP_OWNER.TABLE1
3 WHERE COLUMN1 = 'SomeValue1234'
4 OR (COLUMN1 LIKE 'SomeValue1234%'
5 AND REGEXP_LIKE (
6 COLUMN1,
7 '^SomeValue1234[A-Z]{3}[0-9]{5}$'
8 ));
ITEM_ID
74206192
1 row selected.
Elapsed: 00:00:40.87
Execution Plan
Plan hash value: 3153606419
| Id | Operation | Name | Rows | Bytes | Cost (%CPU)| Time |
| 0 | SELECT STATEMENT | | 2 | 38 | 7 (0)| 00:00:01 |
| 1 | CONCATENATION | | | | | |
|* 2 | INDEX RANGE SCAN | PK_TABLE1 | 1 | 19 | 4 (0)| 00:00:01 |
|* 3 | INDEX UNIQUE SCAN| PK_TABLE1 | 1 | 19 | 3 (0)| 00:00:01 |
Predicate Information (identified by operation id):
2 - access("COLUMN1" LIKE 'SomeValue1234%')
filter("COLUMN1" LIKE 'SomeValue1234%' AND REGEXP_LIKE
("COLUMN1",'^SomeValue1234[A-Z]{3}[0-9]{5}$'))
3 - access("COLUMN1"='SomeValue1234')
filter(LNNVL("COLUMN1" LIKE 'SomeValue1234%') OR LNNVL(
REGEXP_LIKE ("COLUMN1",'^SomeValue1234[A-Z]{3}[0-9]{5}$')))
Statistics
0 recursive calls
0 db block gets
8 consistent gets
0 physical reads
0 redo size
348 bytes sent via SQL*Net to client
360 bytes received via SQL*Net from client
2 SQL*Net roundtrips to/from client
0 sorts (memory)
0 sorts (disk)
1 rows processedNow see the DELETE command. ITEM_ID is the primary key for TABLE2
SQL> delete from TABLE2 where ITEM_ID in (
2 SELECT ITEM_ID
3 FROM APP_OWNER.TABLE1
4 WHERE COLUMN1 = 'SomeValue1234'
5 OR (COLUMN1 LIKE 'SomeValue1234%'
6 AND REGEXP_LIKE (
7 COLUMN1,
8 '^SomeValue1234[A-Z]{3}[0-9]{5}$'
9 ))
10 );
1 row deleted.
Elapsed: 00:02:12.98
Execution Plan
Plan hash value: 173781921
| Id | Operation | Name | Rows | Bytes | Cost (%CPU)| Time |
| 0 | DELETE STATEMENT | | 4 | 228 | 63490 (2)| 00:12:42 |
| 1 | DELETE | TABLE2 | | | | |
| 2 | NESTED LOOPS | | 4 | 228 | 63490 (2)| 00:12:42 |
| 3 | SORT UNIQUE | | 1 | 19 | 63487 (2)| 00:12:42 |
|* 4 | INDEX FAST FULL SCAN| I_TABLE1_3 | 1 | 19 | 63487 (2)| 00:12:42 |
|* 5 | INDEX RANGE SCAN | PK_TABLE2 | 7 | 266 | 3 (0)| 00:00:01 |
Predicate Information (identified by operation id):
4 - filter("COLUMN1"='SomeValue1234' OR "COLUMN1" LIKE 'SomeValue1234%' AND
REGEXP_LIKE ("COLUMN1",'^SomeValue1234[A-Z]{3}[0-9]{5}$'))
5 - access("ITEM_ID"="ITEM_ID")
Statistics
1 recursive calls
5 db block gets
227145 consistent gets
167023 physical reads
752 redo size
765 bytes sent via SQL*Net to client
1255 bytes received via SQL*Net from client
4 SQL*Net roundtrips to/from client
3 sorts (memory)
0 sorts (disk)
1 rows processedWhat can be the issue here?
I tried NO_UNNEST hint, which made difference, but still the DELETE was taking around a minute (instead of 2 minutes), but that is way more than that sub-second response.
Thanks in advancerahulras wrote:
SQL> delete from TABLE2 where ITEM_ID in (
2 SELECT ITEM_ID
3 FROM APP_OWNER.TABLE1
4 WHERE COLUMN1 = 'SomeValue1234'
5 OR (COLUMN1 LIKE 'SomeValue1234%'
6 AND REGEXP_LIKE (
7 COLUMN1,
8 '^SomeValue1234[A-Z]{3}[0-9]{5}$'
9 ))
10 );
The optimizer will transform this delete statement into something like:
delete from table2 where rowid in (
select t2.rowid
from
table2 t2,
table1 t1
where
t1.itemid = t2.itemid
and (t1.column1 = etc.... )
)With the standalone subquery against t1 the optimizer has been a little clever with the concatenation operation, but it looks as if there is something about this transformed join that makes it impossible for the concatenation mechanism to be used. I'd also have to guess that something about the way the transformation has happened has made Oracle "lose" the PK index. As I said in another thread a few minutes ago, I don't usually look at 10053 trace files to solve optimizer problems - but this is the second one today where I'd start looking at the trace if it were my problem.
You could try rewriting the query in this explicit join and select rowid form - that way you could always force the optimizer into the right path through table1. It's probably also possible to hint the original to make the expected path appear, but since the thing you hint and the thing that Oracle optimises are so different it might turn out to be a little difficult. I'd suggest raising an SR with Oracle.
Regards
Jonathan Lewis -
Execution time issues with SU01 demo script
Having worked with Scripting in a Box for a while now I wanted to try out the examples there. I read FM: SO_USER_LIST_READ or another one explaining why my attempt to narrow the returned users failed (Craig, did you find out why the functionality was removed?) and Re: Issue with "Scripting in a Box" seeing that Harry had the same problems with only ~200 users in his system. However, Craig's original post states he successfully managed with over 400 users. I'm a bit confused...
I included some simple timing stuff and found out that processing of one user in the loop takes about 1.7 seconds - little surprise then that every script times out. This seems to be due to the additional calls to GetStatus() and GetValid() - by commenting them out I get the whole list rather quickly.
Unfortunately commenting them out also means no nice icons for 'Status' and 'Valid', which is not desired. I probably could create a Z FM to deliver me the userlist with these two fields already added (which would save on rfc-calls, assuming the operation is much quicker on the server directly), but I hoped to get a solution based purely on PHP, not own ABAP coding (being aware that Craig also used a Z FM anyway, but still...)
I'm a bit unsure now how easy it is to actually create useful frontends in PHP, with such long execution times. I assume this will happen in other occasions as well, not only for user lists. Is there an alternative? Or a general way to do those things quicker?
:Frederic:Craig: you say it's easy to go from 1.7 seconds per user lookup down to a small fraction of it? Then apparently I'm lacking these skills. Could you please give me a hint what should be done there?
I though about creating a Z function, but having to write custom wrappers - possibly for about any transaction in this style - I wanted to avoid.
Bala: the two functions only take one user as input, not a list. So w/o modifying the ABAP side I can't feed the whole list in there. I wonder how much it would improve the result time anyway, so perhaps I'm trying it. It's just not a solution I'd prefer.
Paging is a good idea, the actual call to get the whole userlist is quite quick. Having like 20 users displayed at a time is manageable - still slow, but the script won't timeout anymore. I think I'll implement this today.
About AJAX: yes, I want to play around a bit with AJAX, however having the two columns valid and status removed and the information only displayed on mouseover etc is a bit like cheating. And 1.7+ seconds waiting for a hoover info is too long. So I'd like to optimize on the rfc-calling side primarily.
Craig: surely it was just a demo, and I'm just trying to get it to work for understanding it
:Frederic: -
Hello All,
we are in ecc 6.0 .Using Document splitting.
For Intercompany transactions trading partner field is populated.We want to see the trading partner field on the zero balancing line items also i.e in General Ledger View where we have this zero balancing account.How does we populate it on that line item as well.Does standard SAP does that or any User exits or substitutions available for general ledger view in Document splitting????
Any inputs are welcome.Thanks.
Regards,
Sai.Hi Sai & all guys,
I have a exactly similar problem with 4.7 version with intercompany document posted in SD and trading partner is not getting updated in PCA line item.
All, Let me know if this is clear.... or need further info...
Please I need your help..
Regards,
Vinay -
Dear Experts...
Please tell me whether any accoounting document / entry generates when i am moving TRADING GOODS from inward storage location to FG Storage location. If yes, please tell me the details...
or when it will hit to Consumption Account? (if, any)- because these cost should be charged to Profit and loss account naa?
Please give t code/ path and Goods movement type
Thankyou
Dasu
Moderator: thread moved to Forum ERP FinancialsHi,
Yes this possible to transfer the goods between the storage locations for that you have to
For single step
Go to MIGO Select the option u201CTransfer Postingsu201D in the drop down box
Give the movement type 311 (transfer with in plant) and mention the from and to plant, storage locations
This will update the Inventory account and in the account grouping screen (OMWN) if the movement type consumption field V means that will update the consumption account
This will help you
Regards
GCS -
SAP Workbench Issue Business Partner Master Data
Hi Team,
I have an issue which we could not update existing Business Partner Master Data but we can add new. The data involved are marked in red below. Please advise.
Thanks.
Regards,
David LaiHi,
Can you explain your issue in bit detail?
Pl. specify your SAP version and PL .
Can you paste the screen shot of DTW template here, which you are trying to upload ?
Thanks
TAruna -
Hi,
I have a query which took around 8mins to execute (for now). The table havd around 1 lakh records. Here is the query. Any boby point out the problem in this query?
SELECT A.FISCAL_YEAR,
A.FISCAL_PERIOD,
A.POSTING_DATE,
C.COSTCENTER_NAME,
B.MAJOR_SUB_NAME,
A.SSN_CODE,
A.PROJECTS_CODE,
E.SP_ACCOUNT_NAME,
A.MPG_CODE,
A.LEDGER_AMT,
A.LINE_REFERENCE1,
A.HDR_REFERENCE4,
A.EMP_NM_KJ
FROM (
SELECT FISCAL_YEAR,
FISCAL_PERIOD,
POSTING_DATE,
SSN_CODE,
PROJECTS_CODE,
MPG_CODE,
LEDGER_AMT,
LINE_REFERENCE1,
HDR_REFERENCE4,
EMP_NM_KJ,
CC_ID,
MAJOR_SUB_CODE
FROM BAMS_DTL_TBL
WHERE HR_KBN = '0'
AND ESS_PROJECT_CODE = 'PRJ-S090000101') A,
ACCOUNT_OUTLINE_MASTER B,
COSTCENTER_OUTLINE_MASTER C,
PROJECT_STATUS_TBL D,
SP_ACCOUNT_MASTER E
WHERE D.SP_KBN = '1'
AND A.MAJOR_SUB_CODE = B.MAJOR_SUB_CODE
AND A.CC_ID = C.COSTCENTER_CODE
AND A.PROJECTS_CODE = D.PROJECT_CODE
AND SUBSTRB(A.PROJECTS_CODE,LENGTHB(A.PROJECTS_CODE)) = E.SP_ACCOUNT_CODE
ORDER BY A.PROJECTS_CODE, A.POSTING_DATEFor starters, when you post code on the forums it's a good idea to surround it with {noformat}{noformat} tags so that it keeps it's format on the forum and then we can read it more easily.
In terms of determining the cause of performance issues, we would need to see more than just the query.
Here's a thread that will help you to get an idea what is required...
[When your query takes too long...|When your query takes too long ... -
Time Management: FMLA Workbench issue
Hello:
We are using SAP 6.0, and implemented the FMLA Workbench last year at Go-live; however, we still do not have complete functionality for employees on UNPAID Leaves of absences. The problem is that our business process requires us to create an unpaid LOA action, which skips IT2001 so no absence types are used for the employees. They are on an INACTIVE payroll status, and our HR benefits interfaces are configured as such (and employee needs to remain on INactive payroll status).
We are exploring a way to enable the unpaid absences to flow into the Workbench, so can someone tell us how we set up the absence type time constraints so that we can enter an unpaid absence type for a person in inactive status? Has someone had similar experiences?
Thank you.Hi Cindy,
Can I ask, why the need for using unpaid absences if the employee is on Inactive Status?
Also, we are trying to determine if we should use FMLA Workbench at all, and wondered if you are using it for other absences, LTD, STD, etc.? So far it looks like it's best for only FMLA processing.
Regards,
Dave
Edited by: David Haddock on Nov 17, 2009 12:17 AM -
Oracle SQL execution order Issues, i how to fix it in OBIEE. My God.
i create business model in Admin Tools, the model just like below sql ( viewA and viewB both are view):
select distinct b.name
from viewA a, viewB b
where a.con_id = b.con_id
and a.b_id = b.id
and b.b_id=4
and a.student_id=1234
but i use this sql only can get one result(incorrect result).
if i change it to below sql, it can get 2 result(correct result), my questions is i cant control table execute order in answer. so i how to fix this issues .please give me some advices. thanks
select /*+ ordered */ distinct b.name
from
viewA a,
viewB b
where a.con_id = b.con_id
and a.b_id = b.id
and b.b_id=4
and a.student_id=1234
;It seems that you can't choose the order. It use always the dimension before the fact table.
To resolve your issue, I will ask me why I have to add the ordered hint to have the good result.
How many record do you have when you performed :
select a.b_id
from viewA a
where a.student_id=1234and
select b.b_id, b.name
from viewB b
where b.b_id=4What means b_id ? -
Running LC ES 8.2.1.3 on MS Server 2003 with MSSQL 2005 and JBoss
I have a stored procedure call that I have set up in workbench using the queryMultipleToXml service. I am able to connect fine and can get the data into an XML type output variable called xmlOutput. Below is the xml schema.
<Subordinates>
<Subordinate>
<full_name>Public, John</full_name>
<id_nbr>123456</id_nbr>
</Subordinate>
<Subordinate>
<full_name>Doe, Jane</full_name>
<id_nbr>987654</id_nbr>
</Subordinate>
<Subordinate>
<full_name>Doe, John</full_name>
<id_nbr>654987</id_nbr>
</Subordinate>
<Subordinate>
<full_name>Dandy, Jim</full_name>
<id_nbr>123789</id_nbr>
</Subordinate>
</Subordinates>
What I need to do in Designer is output all of the names into a drop-down list so that when the user selects a name it will populate the id number into a text field.
I am sure this is simple but I haven't been able to get this figured out.
Thank you in advance,
JohnI was able to get this parsed out correctly. I stumbled upon this posting: http://forums.adobe.com/thread/439258. I had to add a couple of things to mine but it worked perfect like they had it in that posting!
Thanks! -
Compensation Workbench issue on Download to Spreadsheet Option
Hi All -
In Compensation Administrator Responsibility, On Employee Allocations screen we have options to Download to Spreadsheet. When I click on it, there is a button to ‘Download Default Definition’. There used to be another button ‘Download Custom Definition’. This button is not displaying even though it is rendered ‘True’ for site on personalization.
I have to customize the spreadsheet download so that I can plug in custom fields that we have in allocations.
Does everyone see 3 buttons for Return, Download Default Definition, Customize when you click on Download to SpreadSheet link or there are 4 buttons?
Please suggest!
Thanks.Unfortunately I can't help you on questions 1-3, but for question #4 I believe you are on the right track. See below.
4. While setting up Plan enrollment Requirements > Timing, the dates are really confusing
a. Availablity Period - Plan will be available during this period? - Yes this is the period of time you want the plan to be accessible (update or read only) in MSS.
b. Assigned Life Event date - life event will evaluating the eligibilty and rates as of this date? - this is the "as of" date that the data is pulled (title, salary etc as of that date).
c. Year Period - ? - For us this is just a display field - it will show the managers what year they are doing the evaluation for. It doesn't factor into any of the calculations.
d. Self Service update period - Avalibility of the plan for changes through self-service? - this is the period you want the plan to be open for updates. This only controls the dates, you need to handle the individual managers access via the Employee Administration function in CWB. Managers will still be able to view the data as read only after this date, depending on what dates you used for the Availability Period.
e. Assignment change become effective dates - Increase and bonus will be effective as of this date? - Yes, assuming you have the post process set up to pull that field for the effective date. We fill it in but it is ignored because we have another custom post process that we can fill in the effective date as a parameter when we submit the process.
The Availability Period and Self Service Update Period dates can be altered after you run the plan. -
How to know , that an index is used in query in the program
Hi All
I have found a SELECT query within a program , which needs to be tuned. I need to justify client of my change. He wants to know how many indexes are there used in the select , as well as which indexes are partially used and how we can optimize use of indexes,
I did an trace analysis of program using ST05, however I am not getting to know which index is used in this trace analysis.
I need help on these points from you all.
Thanks in Advance
AmolHi
After clicking DDIC information
I am getting 3 buttons on the top, and below I am getting
Overview of View WB2_V_MKPF_MSEG2
Obj. name WB2_V_MKPF_MSEG2
SQL Object WB2_V_MKPF_MSEG2
Table Type VIEW
Buffering Buffering not allowed
Short Text Data Selection from Material Documents (without WBGT)
Classification Other
Other
Trading Execution Workbench
Author SAP
Last Changed By Not Found
NametabRec.Length 2436 Byte
Last DB Analysis 00/00/0000
No. of records 0
All Table Indexes of View WB2_V_MKPF_MSEG2
Name Description Created by Unique
Indexes of MKPF
0 Primary key SAP X
BUD Index for posting date SAP
Y Fiscal Year, Posting date and Doc. number AJOSHI
Indexes of MSEG
0 Primary key SAP X
M Material documents for material SAP
R Material docs for reservation SAP
S Reversal documents for mat. document SAP
However from above I am not getting which index is being used or not. OR which is used fully or partially .. like that,
I need to know these details
Thanks in Advance
Amol -
Issue with employe attributes in SRM
Hello All,
In ECC HR Organization structure, multiple employees are assigned to
single position. The organization structure along with employee data is
replicated from ECC to SRM as it is with the help of ALE Standard
interface and PFAL execution.
Issue: Since attributes are assigned at employee position level in SRM
unlike at employee level in ECC HR. If attributes such as company code,
currency, cost center delivery address are different for each employee
in ECC HR and the how can these be assigned to a single position in SRM
org structure as a default attribute for each employee?
SRM Version 7.13 SP02.
Appreciate your help.
Thanks & Regards,
Phanidhar MaddiHi Konstantin Anikeev ,
Thanks. We could see that ECC organization structure is replicated as it is to SRM System ( multiple employees assigned to single position) and employees are able to create SC with out any issue. The default attributes are assigned at employee position level.
The challenge is : In case multiple employees assigned to single position are maintained with different values such as company code and delivery address in ECC and which are replicated to SRM system, how to set default values for each employees?
Regards
Phani
Maybe you are looking for
-
I had to get a new hard drive but now I am having trouble installing MAC OS. I have the CD from my desk top ( I cannot find the ones that came with the lap top--4 years ago). I started the machine and held down the "C" but I get a screen full of what
-
I DOWNLOADED THE NEW UPDATED VERSION FOR THE IPHONE !!! AND MY APPLICATIONS ARE NOT WORKING AT ALL WHENEVER I ENTER TO WHATSAPP A MESSAGE POPS UP FROM NOWHERE SAYING SOMETHING ABOOUT PUSH UP NOTIFICATION!! AND THAT I SHOULD CONNECT IT TO ITUNES, THEN
-
I would like to be able to accept credit cards on my website; can I do that with a website created with iWeb?
-
My phone number is wrong on FaceTime & iMessage
My phone number is incorrect for Facetime & iMessage calls, but correct for cell & landline calls. Anyone else having this problem? My correct number is listed under Contact, but not under FaceTime & iMessage page. It's some funky number. Thanks!
-
IllegalArgumentException when using Constructor expression in Named Query.
I have the following JPQL-query: SELECT NEW se.callista.test.dto.EmployeeReportData(e.firstName, e.lastName, a.city, e.employmentPeriod.startDate) FROM Employee e JOIN e.address a ORDER BY e.lastName, e.firstNamewhere EmployeeReportData is a dto (not