How/Where to trigger BAPI_ACC_DOCUMENT_POST ?
Hi all,
I need to post a new SD condition type to account posting, therefore I need to use a manual account posting like BAPI or userexit.
Can anyone guide me how ro do this and where should i gather the accounting info and where to trigger the BAPI( for account posting). Is it in RV60AFZZ ? or using BADI??
I need it urgently, hope can help, thanks in advance.
Hi,
Check the link
http://www.sapbrainsonline.com/sapinfo/tutorial.php?artid=617
http://sap.ittoolbox.com/groups/technical-functional/sap-dev/bapi_acc_document_post-error-1973720
http://delaynomore.spaces.live.com/blog/cns!D2BFFB84EDFE4189!528.entry
http://sap4.com/wiki/index.php?title=BAPI_ACC_DOCUMENT_POST
http://www.sapfans.com
Regards,
Anirban
Similar Messages
-
How/Where to store current page details in ADF?
Hi All,
What is the best way to populate the managedBean while loading the page?
In my application, I have an page fragment which display the user details from Webservice DataControl. I drag and drop the webservice data control in to the pageFragment. This fragment has mapped in the taskFlow and the taskFlow as attached in to main JSPX page as a region. I need to store this user information to any place (ManagedBean / or anyother best place to store) which I can use throughout my application, since I dont want to reexecute the webservice each time to get the same user information. Also I want to collect and store this info while I render the main page, not after any user action.
Please advice how & where to store the information in ADF? Can I create an managedBean? If so how to trigger that class method at page load?
Thanks
klnHi,
in this case you configure the managed bean to be in session scope. Then, on the first page, you define a phase listener for the after restore phase (its a tag on the f:view element). This phaselistener references the managed bean using EL (important). It can do so using a method expression in JSF. For example, if the managed bean had a method populateUserInfo then yu could reference #{beanname.populateUserInfo} and execute the method expression using Java. In the managed bean, the method would access the binding layer Using the BindingContext class
http://download.oracle.com/docs/cd/E15051_01/apirefs.1111/e10653/oracle/adf/model/BindingContext.html
Call
BindingContext .getCurrent().getCurrentBindingsEntry() to obtain a handle to the active instance of BindingContainer.
BindingContainer bindings = BindingContext .getCurrent().getCurrentBindingsEntry();
Then on the binding container, you invoke the method to query the Web Service for the user info
//before you can call a method on the ADF binding layer, make sure the ADF binding is created for the method
OperationBinding opws = (OperationBinding) bindings.get("name of the method exposed on WS");
//if you need to pass parameters
opws.getParamsMap().put("argument name",value);
opws.execute();
You can use similar code to access the user information from the method iterator in ADF to populate the managed bean fields. You can then access user information from the managed bean through getter and setter methods
Frank
Ps.: I know the description is a bit rough. I'll see if I can come up with a blog sample to a later time
Edited by: Frank Nimphius on Jan 26, 2010 5:43 PM -
HOW DO I TRIGGER GROUPS IN AN EXS24 INSTRUMENT VIA MIDI FROM THE SCORE
HOW DO I TRIGGER DIFFERENT GROUPS IN AN EXS24 INSTRUMENT VIA MIDI CONTROLLER MESSAGES FROM THE SCORE - PLEASE ? WHERE DO I GO IN DOCUMENTATION AS HAVE GIVEN UP FOR TIME BEING WITH MULTI INSTRUMENT WHERE I CAN'T SEEM TO DEFINE CUSTOM BANK SELECTS BECAUSE I CAN'T FIND THAT OPTION. BUT MAYBE I'M ON THE WRONG TRACK ANYWAY! WITH THANKS
For those who are following this thread I have received the following info from LPH: it hasn't dealt with this through midi controllers but with key switches in a v. easy to work with fashion, though I would still like to have a result with former, if there is anybody that can give me a clear proceedure. Christian thanks for your help and if you are offay with MC's then I love to hear from you!
METHOD #1
Create a duplicate track for those instruments which you're keyswitching. Let's just focus on one instrument for now, flute. Create a duplicate track assigned to your flute instrument ("new track with same instrument/channel"). Next, copy all of the regions from the original track onto this track and merge (glue) them to create one contiguous track. Of course if you have only one region for the part, just copy the region over to the new track.
Then go into the piano roll editor and swipe the keyboard on the left in the range of your keyswitches. Then use the command "toggle selection" and hit DELETE. Now you have a region that contains only your keyswitches.
Or, of course, you can just swipe the range that the instrument plays in. Then hit DELETE. Either way...
The final step here is to untick the "score" checkbox for this keyswitch-only region (region parameters). Now, both tracks will still play, except only the actual flute part will appear in your score.
METHOD #2
In the score editor, open the staff style for the part. Set the highest note/lowest note range to (visually) filter out the keyswitch notes. This may seem like the easiest way to do things, but it will require you to have a distinct staff style applied to each part. For example, if you're using the Treble staff style for multiple parts (picc, flute, bass clarinet) and their key switches are in different ranges of the keyboard (as is the case with some libraries), you will need to create duplicates of "Treble", name them accordingly (picc, flute, b.clarinet), assign them to the various regions playing those parts, and then set their highest/lowest note values accordingly. -
Where can I buy a larger hard drive for my late 2008, 15" macbook pro? From reviewing questions and answers on the support community it would appear that having Apple remove the old and install the new hard drive is recommended. But how/where?
Welcome to Apple Support Communities
You can install the new hard disk yourself if you want to. You just need a 2'5" SATA II hard drive, which is compatible with your MacBook Pro. You can buy one at OWC > http://eshop.macsales.com/shop/hard-drives/2.5-Notebook/ You can filter hard drives by computer, so press a "Click to view all...", choose your computer in the sidebar and it will give you the compatible hard drives.
There are different brands for the MacBook Pro. The most recommended are HGST and Seagate, which have good reputation. A 7200 rpm hard drive will give you extra performance -
How/where do I change the AppleID associated with my computer?
How/where do I change the AppleID associated with my computer?
What do you mean by "change the Apple ID"? Are you trying to get a new ID from the one you currently have or just add a new ID to the computer?
-
How can I trigger an onchange event for hidden or never displayed item
hi -- I have an item that I don't want displayed on my page -- more info than the user wants or needs; call it B. It needs to be
set by an onchange event from a visible item (A); then, the change of B triggers on onchange to set another item (visible) -- C.
When B is visible on the page, it all works. If I make it hidden or conditionally never displayed, it doesn't work. From the looks of
it, B never gets changed.
How can I trigger this onchange event (from B to set C) with B not visible?
Thanks,
Carolhi Varad -- Probably more info than you want... but here's the whole chain of events.
Hope it answers your question.
C
**** 1
In A's html form element attributes (simplified; I took out the irrelevant call to jsLookupValue that sets another item).
onchange='jsLookupValue($v("P142_SITE_ID"),"site_id","P142_OBJECTTYPE_ID","objecttype_id","hdb_site_syn");'
**** 2
jsLookupValue is the following.
The statement that actually sets the value of B is: $s(dest_item_name, jsonobj.row[0].RETURN_VAL);
function jsLookupValue(source_item_value, source_column_name, dest_item_name, dest_column_name, lookup_table_name){
// Continue only if there are valid values
if (valueOf(source_column_name)&&valueOf(dest_item_name)&&valueOf(dest_column_name)&&valueOf(lookup_table_name)){
//Check to see if the source_item_value is null (either all spaces or empty
//If it is, set the dest item to null, but only if it's not already --
//otherwise we get into a loop.
source_item_value = trim(source_item_value);
dest_item_value = trim($v(dest_item_name));
if (source_item_value.length==0) {
if (dest_item_value.length != 0) {
$s(dest_item_name, null);
}else{
//This is the AJAX call to the Application Process from step 1
ajaxRequest = new htmldb_Get(null,&APP_ID.,'APPLICATION_PROCESS=LOOKUP_VALUE',0);
//Here we are adding that x01 parameter we use in the app process with the value of the objecttype_name field
ajaxRequest.addParam('x01', source_item_value);
ajaxRequest.addParam('x02', source_column_name);
ajaxRequest.addParam('x03', dest_item_name);
ajaxRequest.addParam('x04', dest_column_name);
ajaxRequest.addParam('x05', lookup_table_name);
//Now do the actual AJAX call and put the result in ajaxResponse
ajaxResponse = ajaxRequest.get();
//Check if there is a response
if (ajaxResponse) {
//We need to format the JSON return string and put it in a JSON object
// the formatting is done by a function in the external JSON library
// the jsonobj can be used to retrieve the data returned by the App process
var jsonobj= ajaxResponse.parseJSON();
// And finally, we set the DNAME item with the value of the jsonobj.DNAME
// an array was created in the object with the name row, so that is why you have to include row[0] to retrieve the data
if (jsonobj.row[0].RETURN_VAL != $v(dest_item_name)) {
$s(dest_item_name, jsonobj.row[0].RETURN_VAL);
}else{
} //not setting
}else{
alert('No response from app process');
} //no response
} //no source item value
} //no bad nulls
} //function
**** 3
I won't bore you with app process LOOKUP_VALUE. It just builds an sql query that gets the value for B, aliased to RETURN_VAL. -
Hello, it's all in the title :
How / where can I donwload the latest version of Camera Raw in order to open my D4s raw pictures ? I actually have Photoshop CS5 on Mac OS 10.9
What is the process too ?
Thank you.Raw support is version specific. There is no way to simply force install a new version of ACR into an older Photoshop. You need to consider upgrading or use the DNG converter.
Camera Raw plug-in | Supported cameras
Camera Raw-compatible Adobe applications
Mylenium -
How & where to use Java script to create new button in object detail page
Hi All,
I want to create "New/Add button" in object detail page. If i am not wrong i need to use java script for that but could you please let me know how & where to use Java script to create new button in object detail page in CRMOD.
Thanks in advance.
Regards,
ManishAny related object on the detail page should have an "Add" or "New" or both buttons by default - This is vanilla functionality and will do the required action.
If you want to modify this behaviour and do something tricky you will potentially have to go for javascript. You should add the javascript on a custom web tab on that Object.
Admin --> Application Customization --> Contact -->Contact Web Applet
Now, add your javascript in the code area, after you select the type = HTML for this web applet, expose this web applet on the Contact detail layout and your javascript will be invoked whenever this page is loaded.
Check this online document to see how javascript can be embedded in CRM on Demand http://helponmyproject.com/TTOCOD/
Cheers!
Royston -
We are interested to know how/where to check query runtimes for any Query in SAP BW?
We are interested to know how/where to check query runtimes for any Query in SAP BW?
Is there any table or program to get the query run time details per query for a particular day.Hello Sravan,
Bex statics tables would be 'RSDDSTATHEADER','RSDDSTATINFO' & 'RSDDSTATEVDATA'. all these can found in one view 'RSDDSTAT_OLAP'.
above can give historical statistic.
For current Query statics : T-code RSRT, and select debug mode select display statistics and then execute.
Once you get the output press F3(one step back), there you can see statics of the query for that particular execution.
Thanks,
Mallikarjuna -
How & Where to dig back those reversed payment requests by using Key Number
I have a few payment requests via bank to bank transfer that have been reversed / deleted. Since the transaction have been reversed / deleted, they will not be displayed in the list of open payment request.
How & where I can get back those payment requests if I have the key numbers.Hi,
In T-Code F8BT, you can enter Key No. and get the list of items that were reversed. And Select "Cleared"
Regards,
SAPFICO -
How/where can I download Indesign 7?
How/where can I download Indesign 7?
I have CS6 I need to download 7 to open client's files.Indesign 7 = CS5.
You should be able to open CS5 files with Indesign CS6. -
How/where can i download iwork in its entirety the app store talks about iwork but i cant locate it
iWork is Pages, Numbers and Keynote.
Buy all three from the M.A.S. and it is all yours, cheaper and installable on all Macs that share the same Apple I.D.. However I have heard, but can't confirm, that that doesn't quite have everything the DVD version had.
Peter -
How/Where can I request InCopy training for a team via webinars and in-house?
How/Where can I request InCopy training for a team via webinars and in-house?
My team desperately needs to incorporate InCopy into our operation. There are a number of people who need to be trained. I am unsure of how this is done...also, pricing/procedure? After calling the customer service line and being on hold for an hour, I decided to place my question here.
Your assistance is greatly appreciated.Or, contact me at Seneca Design & Training:
InCopy / InDesign Training & Workflow :: Seneca Design & Training :: Anne-Marie Concepción
Bob is good, too. And there are others of our ilk here ... :-D and on InCopySecrets.com too
AM -
How can we trigger an IDOC based on Orders creation.
Hiii...experts,
After searching alot in SDN i am taking this very commonly asked to experts in the hope of a better understanding.
If i create a sales order means.. i want to trigger a IDOC based on certain Condition on ORDER data .. how can we do this..
when ever i'm creating a sales order it should be automatically trigger a IDOC , Because when ever sales ordre was created in R/3 system it should be transferred to some destination...
And pls tell me about the reports that does the job of collecting required data from the sales order and converts it into a IDOC.
so, how can we trigger an IDOC based on Orders creation..
pls help.
Ram.Use IDOC_OUTPUT_ORDERS for creating IDOC
you need to maintain condition records & output type
<REMOVED BY MODERATOR>
Edited by: Alvaro Tejada Galindo on Apr 10, 2008 4:18 PM -
How/where to look PR release strategy to a profile
How/where to look PR release strategy to a profile?
I am not sure what you mean by profile?
A release strategy contains different elements
Characteristics
Class
Release group
Release code
Release indicator
Rlelease prerequisite
The release strategy for PR is set up in customising
OLME->Purchase requisition->Release procedure->set up procedure
Kind regards
Lorraine
Maybe you are looking for
-
Can anyone assist me? I keep receiving this message when I download my ebook ''Adobe reader could not open .....acsm because it is either not a supported file type or because the file has been damaged (for example, it was sent as an email attachment
-
Mail 6.0 does not display embedded images
This was true in the prior version as well, but now I'm about to give up on the product. While HTML emails do display images ("Display remote images in HTML messages" is checked in preferences), those with embedded images do not. Instead, I get a se
-
Can I use Adobe CS3 on a MacBook?
I know Adobe's CS3 is for use on MacBook Pro and upwards, but could I run it on a MacBook with 1gb ram,120gb hd or would there be to many problems. MacBook Mac OS X (10.4)
-
How to run java application in Unix Box
Hi, Would anybody show me how to run my server application in unix box? Thank you very much. Hung
-
JE Error: No permission to read enviornment variable JOLT_BINDADDR
hi, The problem: when running: appletviewer RE.html, after inputing the server address and port, the applet gave the information: bea.jolt.SessionException: Cannot connect to any //135.125.18.148:6101. Reason:NwHdlr: Cannot open socket. and the shell