Multiple Infotype operation in simulation mode
Hi All,
We have a requirement to first delete a infotype record and then add another record in simulation mode or to add multiple new record in simulation. Can you please let me know how to implement this functionality.
Thanks in advance.
Srikanta
Hi Raj,
<li>I tried the with the below code. It worked for me. Can you please check this way.
REPORT ztest_notepad .
DATA:p0015 TYPE p0015.
DATA:return LIKE bapireturn1.
p0015-pernr = '00909089'.
p0015-subty = '1500'.
p0015-endda = '99991231'.
p0015-begda = sy-datum.
p0015-lgart = '1500'.
p0015-betrg = '100.00'.
CALL FUNCTION 'HR_EMPLOYEE_ENQUEUE'
EXPORTING
number = '00909089'.
CALL FUNCTION 'HR_INFOTYPE_OPERATION'
EXPORTING
infty = '0015'
number = '00909089'
subtype = '1500'
validityend = '99991231'
validitybegin = sy-datum
record = p0015
operation = 'INS'
tclas = 'A'
IMPORTING
return = return.
WRITE return.
CALL FUNCTION 'HR_EMPLOYEE_DEQUEUE'
EXPORTING
number = '00909089'.
Thanks
Venkat.O
Similar Messages
-
Multiple retrobilling possible after simulation
hello, friends. i just want to compare notes with you.
in ECC6, we noticed that documents retrobilled from simulation mode, can still be re-processed multiple times unless the processing list is refreshed. this supposedly is addressed by SAP Note 187472, but our BASIS team says the note does not apply to ECC6.
has anyone encountered the same issue? how did you manage to solve this? is there an updated SAP note applicable to ECC6 as i could not find any as of this time?
many thanks.
jyHi all,
Thanks for your replies, I had figured out the actual problem. The reason was, the referance of the selected rows was lost as I was doing bind elements to the context after moving to wddomodify.
So I figured out an alternative solution to avoid binding on selection of records.
Best regards,
Roopesh
Edited by: Roopesh Dolle on Apr 14, 2011 7:04 AM
Edited by: Roopesh Dolle on Apr 14, 2011 7:05 AM -
When i run the sequence with ivi step types in simulation mode i get the error Types do not mathc. The step that generates this error is an IviScope step type and is configured as a measurement. Th weird thing is that in real mode is working perfectly. I have three measure steps and i get the error in all of them. The exact error message is:
UUT Result: Error, Error executing substep 'Post'. An exception occurred calling 'RunStep' in 'ISubstep' of 'TestStand Ivi Step Types 1.0 Type Library' An error occurred while executing the step. Component Works IVI Control Error: The IVI Read operation failed on channel '1' for logical name 'SampleScope'. Details: (1
) Types do not match. [IVI Error Code: BFFA0015] Source: TSIviStepTypes [Error Code: -30721, User-defined error code.]
Can someone tell me how to fix this problem?. It seems to me that the simulation generates a diferent type of measurement of that generated in real mode.Update:
The simulation driver appears to be raising the error. By switching to specific driver simulation the error does not occur. This may be a problem in either the class simulation driver or the specific driver.
Scott Richardson
National Instruments -
Interlocked operations in user-mode
Hi, I understand there isn't a interface for interlocked operations in user-mode.
I would appreciate any help on how to write an implementation by myself. This help should
also include how to compile assembler files in SOLARIS , or how to inline assembler in the
C sources themself.
Note that the compiler is GCC
Thanks!!!>
I'm not sure I agree with this - the canonical example
of where atomic integer operations provide the "one
true way" is reference counting. I tend to agree with you here - indeed, for high-granularity objects even 8-byte light-weight mutex would be a significant penalty, and reference counting is indeed the natural place for interlocked
arithmetics. The point is, you probably do not want to have reference counting for small objects -
these days it might be cheaper to create multiple copies. Anyway, this has to do with design,
and good design should address the issue.
>
Similar discussions have been taking place in other
threads on other forums. The general feeling seems to
be suprise that interlocked integer operations are not
part of the solaris ABI, though the existence of
<sys/atomic.h> shows that they are part of the kernel.
While we are at it, even the membar APIs in
<sys/atomic.h> have use in user mode application code
- esp. w.r.t the double-checked locking idiom when
implemented on a multi-processor machine. It is
impossible, even with volatile, to ensure that double
checked locking will work on an SMP machine without
inserting memory barriers. Furthermore, even if it is
true that 99.9% of the cases are handled with the
existing threads library, that is not a sufficient
reason to exclude a well known and widely used
synchronization primitive from user mode. It is clear
that users of solaris, both on sparc and intel, want a
standardized user-mode atomic integer operations API.
Perhaps just a user level implementation of
<sys/atomic.h> would do.Once again, I would probably agree with the argument - provided, we are talking about single
platform implementation. Unfortunately enough, interlocked operations aren't part of any standard,
so there is no way to create any platform-independent solution (unless one wants to use
concurrency-supportive languages like Ada 95).
I'd vote for inclusion of interlocked primitives into POSIX standard - then it will become mandatory
for the platform vendors... I doubt, however, whether Micro$oft would support this gracefully - so
far they have screwed up everything they've ever touched... :( -
Hi,
Can someone explain me following Infotype operation's, with an example please and also, how we should decide which operation for an Infotype will suit the best to the client.
Create INS
Copy COP
Change MOD
Delimit LIS9
Create operation for actions INSS
Please do not copy paste R/3 defined definitions here,I have already gone through it and I'm looking for further explanation.
Thanks,
TkHi Tina,
This FM is generally used to perform data base record change for an Infotype
INS- Create
Creates a new record in the system
COP- Copy
Copy the existing record from the system
MOD- Modification
Change the existing record in the system
LIS9
Delimit the Existing record in the system
And so Onn..
Look into the code below for your reference
CALL FUNCTION 'HR_INFOTYPE_OPERATION'
EXPORTING
infty = c_i0014 "'0014'
number = wa_zltcbill-pernr
validityend = ld_validityend
validitybegin = wa_zltcbill-zdate
record = wa_0014
operation = ld_operation
tclas = p_tclas
dialog_mode = p_mode
IMPORTING
return = p_wa_return.
Regards
Pavan -
How to use multiple WSDL operations in One BPEL process Recieve Activity ?
Is there anyway to attach multiple WSDL operations with a Single BPEL process ? How ?
Thanks Melvin for your quick respond.
When I create a BPEL process, It asks me to give the XSD as an Input. When I import the XSD it asks me to select an operation not more than one. Let suppose I select addRequest and finish the wizard.
Now what I can see, It create Recieve activity with an Input msg of Add operation. Well what I understand from your statement is that, I remove the recieve activity and put the Pick activity.
Now my question is How to mention the other operations like update and delete ? And how to test them ?? The link provided by you is just tell me what Pick activity can do for me, But its not telling me how to use it ?? and how the give the operation to it. Where should I need to change in the BPEL ??? -
Rule not working in workflow but works in simulation mode
Hi guys
i have one more strange issue. I have a rule assigned to one of my task to dtermine the agnet based on a z table which is executed by a z function module in the rule. The rule works fine and gets the desired agent when run in the simulation mode. But when we test it from the workflow it dosent seems to be working. When i check the workflow log it says no agent for this task. any idea what am i missing?
thanks in advance.Hi
yes both the workflow and the dialog step( in our case a decision step) is categorized as General task. I also have used the SWU_OBUF to refresh the buffer but still the same results. Rule works fine in simulation but when it is run in a workflow the workflow log says no agent found. any more suggestions? the workflow to rule binding is fine as well. The rule requires 3 parameters and in the binding i am pasing all the 3 elemts to the rule containers. so i am not sure why its not working? -
The logic debuggeur doesn't work in simulation mode
Hello,
After a migration from OutlookSoft 4.2 to SAP BPC 7.0 SP6, the logic debuggeur in simulation mode had never work on our new environment.
I tried the logic simulation in Appshell, result : when I want see the result the answer is "No records found", when I want see the log i see a blank window and there is no error in server Manager.
I investigate on the Apps Server in the webfolders and I saw the logfile in \Webfolders\ApShell_test\Finance\PrivatePublications\BEAUMONT_F\TempFiles\DebugLogic.Log
Our configuration is :
Multi-Server :
1 - Apps Server (BPC Server) - Windows 2003 32b
1 - DB Server (SQL Server) - Windows 2003 64b
BPC version : BPC 7.0 M SP6
DB : SQL SERVER 2005 SP3 - Ent Ed. Lng : En-Us
client : Windows Xp - Excel 2003
Thanks for your help.Isabelle,
I guess it might be a bug. please open SAP support ticket.
In the simulation mode, you log should show the records that is generated by your logic.
Thank you.
James Lim -
Monitoring 5.1 in Simulation mode
Anyone out there monitoring 5.1 surround out of a powerbook in Simulation mode? We are running DVD SP 4.0.3, and using an M-Audio usb to optical adapter to send audio to a 5.1 setup. This configuration works with playing a dvd out of the computer--we get true Dolby 5.1. But in Simulation Mode the AC3 file is PCM or stereo (although the file is 5.1). Does anyone know how to get 5.1 to play out of Simulation Mode? Thank you for your help, Jason
Thanks Mikey, when I do that, the audio sounds like a mixture between low frequency timecode and the 5.1. Sounds like underwater goop. Definitely not correct. The other option in the preferences "M-audio" outputs stereo. We have the M-audio adapter, so I would think this is the correct choice, but it is not outputting 5.1 through this. The S/PDIF option is sending 5.1 but, like I said earlier, it is unacceptable. Jason
-
How do I get the Preference Training Simulation Mode to work?
I've worked with Captivate 3 for years and was required to upgrade to Captivate 4. In 4, I cannot get the Training Simulation Mode to save. I go to Edit > Preferences > REcording > Mode and select Training Simulation. Click OK. Go back into Preferences and check - Demonstation is in the Recording Mode field. I've tried everything I can think of. What can I do to correct this problem?
The main reason we use Captivate is that it captures the key strokes and provides action steps already populated in the capture. Without this feature, it will take me days rather than hours to complete my project.
Please advise as soon as possible.
Thanks, Rhazelbaker
PS> I did find a blog from another person with the same issue. The response simply defended the integrity of Captivate and did not provide concrete direction to solve the issue. I'm hoping you can provide concrete instructions.Hi there
To bring the Library into view, click Window > Library.
Once you are seeing the Library, right-click one of the items you see there and you should see a context menu offering the ability to Select Unused Items. This will select them all. Then a simple tap of the Delete key on your keyboard should remove them.
Where are you changing the settings before you record? I ask because Captivate 4 changes the playing field substantially. Now when you begin the process the Red Recording Window looks a lot different. Similar to below.
You then have to choose the mode differently.
Does that help anything?
Cheers... Rick
Click here for Adobe Certified Captivate and RoboHelp HTML Training
Click here for the SorcerStone Blog
Click here for RoboHelp and Captivate eBooks -
SAP PP-Single item interactive planning & simulation Mode in MRP
Hello SAP-Guruu2019s
Pls tell me the Use of Single item interactive planning & simulation Mode in MRPDear,
MD43 provide you with interactive planning.
if you use long term planning and you want to import the
result of long term planning to productive planning, you can import long term planning result from MD43.
In the second screen of MD43 (almost same as MD04), go to menu and select edit
=>Copy simulative LT planned order.
MD03 does not have interactive mode. So once you kick the MRP from MD03,
MRP is triggered and save the MRP result automatically.
I hope this explanation help your understanding.
Regards,
R.Brahmankar -
Provide syntax with multiple infotypes?
Hi,
If i take one infotype data we are taking like this...
PROVIDE * FROM P0002 BETWEEN PN-BEGDA AND PN-ENDDA.
WRITE: P0002-PERNR, P0002-NACHN, P0002-VORNA.
ENDPROVIDE.
But i want multiple infotypes data like 0000,0006,0008....?Give me the syntax of that provide stmt with multiple infotypes?
Thanks
SreePROVIDE * FROM P0000
FROM P0002
FROM P0006
FROM P0008
BETWEEN PN-BEGDA AND PN-ENDDA.
WRITE:/ P0000-STAT2, P0002-PERNR, P0002-NACHN.
WRITE: P0002-VORNA, P0006-STRAS, P0008-ANSAL.
ENDPROVIDE.
Reward for useful answer
Regards
Pradeep -
BAPI_SAESORDER_CHANGE in simulation mode
I am using BAPI_SALESORDER_CHANGE to change pricing date and therefore the price for a list of sales items. This is working correctly when I commit the results of the change. However, what I really need to do is first run in simulation mode to obtain the expected results from the price procedure without changing the sales items. Is it possible to obtain the detailed results of the simulation performed by the BAPI?
Edited by: David Snelgrove on Oct 22, 2010 8:51 PMTry using is BAPI_SALESORDER_SIMULATE. you will get the results.
That's an old function and its limitations are well-documented in OSS, specifically regarding pricing issues. I prefer SD_ORDER_CREATE with the simulation mode - you'll get detailed results back. -
Integrate Multiple Captivate HTML5 Application Simulations inside a single course package
Hi,
We are using Captivate-8. We wants to integrate Multiple Captivate HTML5 Application Simulations inside a single course package. There is an option to create ‘Aggregator Project’ to do so if you have Flash (swf) output. As we are generating HTML5 output is there any way to so?
We also want a menu where we can see list of all such imported files. Along with that we also wants to use simple content screens in between the simulations.
Please share if you know how to achieve this.
ThanksHi Lilybiri,
Our requiremetn is - We wants to develope a single package with at least few show-me simulations, try-me simulations and content screens. There should be some GUI which has menu to list all these pages and the pages should get loaded inside the GUI. There should be some navigation like Next/Back buttons to navigate from one page to other page.
Like this we will have multiple packages. So we can not split each package into multiple SCO.
Please help if there is alternate way to acheive this.
Thanks. -
Executing bapi function module in simulation mode....
I wanted to create 5000+ users in the system. I am using bapi_user_create1 to create user.Before actually creating all the users i need to simulate and see how many users will be actually created when i supply the set . Also please let me know if there are any general way of calling function modules in simulation mode without actually committing to database.
Thanks,
Kiran A.max,
when I upload the file that contains data to create user how many will be created and how many will fail without updating the database.i.e i need the result of the bapi without any commit being performed.
Thanks,
Kiran A.
Maybe you are looking for
-
Dear all I have V240 which is not comming up. By feeding the server we get the green led on the feeding, but then, when we push the starting buttom or we make the poweron control from the sc menu, the led becomes green and it is nomore possible to ac
-
Skip Enter Key and focus a field
Hi All I need to : 1) skip pressing the enter key to refresh the screen after selecting a ralio button 2) focus a paticular field after selecting a radio button Please tell me the tricks to perform these - I have looked up the help and SDN for these
-
hi experts What are patterns in BPM
-
hello! when i'm using safari and i need to copy an image. i click over the image and select copy image NOT copy image adress. anyway when i try to paste the image, it only paste the web adress... for example on word:mac or iworks thanks for your help
-
Macbook crashes after Snow Leopard install
I've just upgraded to snow leopard, but now the macbook crashes about 3 seconds after the desktop appears. How do I getout of this? Any advice gratefully received. Thanks