Help - Problem with BAPI confirmation (co11n)
Hi gurus,
Please , i need some help with some problems i am having with BAPIs for confirmations.
I have found this one : BAPI_PRODORDCONF_GET_TT_PROP, to get the propose data, but i i can't figured out how to fill the goodmovements table. I need to do this, because i want to know the proposal of goodmovements, just exactly that sap's does when i enter to the tx CO11N, enter the YIELD quantity and then press "goods movements" button.
Please, is there some trick or something to make this work? ( i have already put "X" in the import "PROPOSE - GOODMOVEMENTS" , but still is not working).
If get this, i could put this values in BAPI_PRODORDCONF_CREATE_TT and that's it... i suppose.
Please help me
Thanks a lot!
Hi ,
Before going into BAPI's , Auto goods movement happens in two ways.
1. check whether Auto goods receipt is checked in T.code OPKP.
2. The other way is to assign a Control Key to the operation which has a Auto GR checked.
Please check these two and then trigger confirmation using your BAPI.
Hope this helps.
Best Regards.
Similar Messages
-
Help- Problem witth BAPI Confirmation
Hi gurus,
Please , i need some help with some problems i am having with BAPIs for confirmations.
I have found this one : BAPI_PRODORDCONF_GET_TT_PROP, to get the propose data, but i i can't figured out how to fill the goodmovements table. I need to do this, because i want to know the proposal of goodmovements, just exactly that sap's does when i enter to the tx CO11N, enter the YIELD quantity and then press "goods movements" button.
Please, is there some trick or something to make this work? ( i have already put "X" in the import "PROPOSE - GOODMOVEMENTS" , but still is not working).
If get this, i could put this values in BAPI_PRODORDCONF_CREATE_TT and that's it... i suppose.
Please help me
Thanks a lot!Hi ,
Before going into BAPI's , Auto goods movement happens in two ways.
1. check whether Auto goods receipt is checked in T.code OPKP.
2. The other way is to assign a Control Key to the operation which has a Auto GR checked.
Please check these two and then trigger confirmation using your BAPI.
Hope this helps.
Best Regards. -
Problem with BAPI BAPI_REQUISITION_CREATE
Hello,
I have problems with BAPI BAPI_REQUISITION_CREATE. I need to create Purchase requisition for services. If I use BAPI BAPI_REQUISITION_CREATE, Purchasing requisition is created, but field NETWR in table EBNK is 0. If I create purchasing requisition manualy using transaction ME51N, field NETWR in table EBNK is filled with correct price.
Can you pls. help me, what do I wrong in calling BAPI_REQUISITION_CREATE?
Thanks®ards,
JirkaNot sure if you got your answer or went to OSS for a resolution. But, as I was searching OSS for my issue, I came across the following note:
Note 1498435 - BAPI_REQUISITION_CREATE: EBKN-NETWR is not updated -
please help problem with importing a file error output "there was an error decompressing audio or video"
this is related to what adobe program/version?
-
Problem with Material Confirmation (Availability Check)
Dear All,
There is a problem with the availability check. when i place order system does availability check and confirms the order. Now say for example i have 100qty of material - X and i created order for 50qty, system confirmed and then i went on creating orders for this , say i have created orders for it for 150qty, so system has confirmed 100 and 50 on future date.
Now when i try to do the delievry for the first order(50 qty), system gives me an error that "0" qty is available.
Can you please tell me what may be the reason for this.
Thanks,You can also check in T-code Co09 of the availability. Best and easy one to read for me has been MD04 Transaction code.
What system does in Sales Order is that it plans the requirement taking into consideration Material availability and if material doesn't exist but sees that in a few days in the future material will be available so system confirms it. Note that physically the material may not even be present. You find out if you really have physical stock in the delivery. For example in the sales order in the future the system sees that a Purchase Order will take place so system confirms it. Even though physically you have not even done a goods receipt for that PO. So any Sales Order which has been created before holds that reservation. So if you make a PO goods receipt in the future all those sales order has taken up this stock even. So the new sales order you created may not even have physical stock present or available as back order exists.
If you delete Deliveries that have not had PGI done to them this will take the requirement out of the list of Deliveries you can see this in MMBE if you scroll to the right. You can also do reason for rejection for other old orders to take out reservation in MD04.
Good Luck
Ali Lozada -
HELP/Problems with pull-down navigator bar
Hi everyone,
I was wondering if I could get some input. I have just
re-designed our magazine's site, www.easternsurf.com
I used Pop-Up menu function in Fireworks 8 to generate our
Navigator bar. For the most part everything has been working well,
BUT we've had a couple of complaints that the navigator bar's
pull-down menus get stuck behind the photos/banner ads/etc. instead
of in front of them when viewing in Internet Explorer. I'm on the
Mac platform (OSX Tiger/Macromedia Studio 8) and have seen no
problems viewing in Safari, Firefox and Netscape. The only
complaints have come from Internet Explorer users. A couple of
people updated their browser to the newest version and the problem
disappeared, however we've still had a couple of people that have
written in that the newest version of IE is still not displaying
properly.
Also we've got a strip of button ads running down the left
hand side of each page and I've also seen another issue that's
common on sites of this type...when the pulldown menu overlaps with
a Flash element, there is a problem with the screen re-draw. I've
seen this on several other sites and know it's a common problem,
but does anyone know of a workaround where this won't happen? I
just noticed that signing on to Adobe's site, there almost seems to
be a command where the menu keeps re-drawing at a very rapid rate
so this won't happen.
Any input would be greatly appreciated, although I'm Mac all
the way, we are a business and have to get this site visible for
everyone!
ThanksHi Oldbudge,
Welcome to the Community,
Please Perform a Battery Pull Restart like this While Device is Powered On remove the Battery wait for a min. then re-insert it back wait till the device take a long Reboot.And see if that helps.
Good Luck
Prince
Click " Like " if you want to Thank someone.
If Problem Resolves mark the post(s) as " Solution ", so that other can make use of it.
Click " Like " if you want to Thank someone.
If Problem Resolves mark the post(s) as " Solution ", so that other can make use of it. -
Help - problem with white iphone 4 speaker
Hi, i have a problem with my white iphone 4 speaker. I know the specs stated that the mic is supposed to be on the left and the right is the speaker but i've compared at least 2 other black iphones 4s and there is some volume from the left side (if you close the right side) whereas mine is practically non-existent. Should i be concerned? Is this specific to the white iphone 4? The local telco has not been helpful - they can only reformat the phone and said that this is a software problem. Anyone with similar experience pls share. Thanks in advance.
irene sim wrote:
Hi, i have a problem with my white iphone 4 speaker. I know the specs stated that the mic is supposed to be on the left and the right is the speaker but i've compared at least 2 other black iphones 4s and there is some volume from the left side (if you close the right side) whereas mine is practically non-existent. Should i be concerned? Is this specific to the white iphone 4? The local telco has not been helpful - they can only reformat the phone and said that this is a software problem. Anyone with similar experience pls share. Thanks in advance.
You already know the answer. ALL iphones, every single one of them, have but one speaker at the bottom. You have NO ISSUE at all with your speakers. None. Nothing is wrong. At all. No problem. None. -
Pleaseeeeeee Help - Problems with position of my web page
Hi, first sorry on my english
I have problem with position of my page. I had made my web page in Indesign CS5 and exported to swf file. My web page is working fine (www.igor-flytying.com) but the page is not in the middle of the web browser. How can I fix the problem????? I am a beginer in Indesign. I had try to make some changes in html file (salign) but still nothing.
Please HELLLLLPPPPPP
Regards
AljosaPetteri, SWFObject is much better because it loads the JavaScript so you don't see it inside the HTML page, but it still wraps the swf in a div which by default will be positioned in the upperleft of the browser window.
This is the only way I've been able to center using SWFObject—note that it's the "flashcontent" div style that does the centering not the align embed parameter:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<title>S W F | Centered</title>
<meta http-equiv="Content-Type" content="text/html" />
<!-- Centers the swf on the page. Note: width and height need to match the swf and margin left and right are -.50%-->
<style type="text/css">
#flashcontent {width: 1000px; height: 750px; margin-left: -500px; margin-top: -375px; position: absolute; left: 50%; top: 50%;}
</style>
<script type="text/javascript" src="swfobject.js"></script>
<script type="text/javascript">
var flashvars = {};
flashvars.myFlashVar = "Testing";
var params = {}; //Embed parameters: http://kb2.adobe.com/cps/127/tn_12701.html
params.quality = "best";
params.align="t"
//SWFObject parameters: http://code.google.com/p/swfobject/wiki/api
swfobject.embedSWF("swftest.swf", "flashcontent", "1000", "750", "10.0", false, flashvars, params);
</script>
</head>
<!-- ALT HTML TEXT-->
<body style="background-color: #888888">
<div id="flashcontent">
<a href="http://www.adobe.com/go/getflashplayer"><img src="getFlash.gif" alt="adobe icon" border="0" /></a>
</div>
</body>
</html> -
Problem with bapi to create purchase requisition
I got a requirement that to upload details of procurement into Z table with a temporary PR. Could u please suggest the procedure or bapi to upload datainto Z table.
RegardsHi all
For above requirement i am suppose to develop a FM which upload the data from front end to DB. Forthat I am taking following steps is it ok or not suggest me.
1.call function module bapi_pr_create
2.fill local structure with bapi structure if PR number is created.
3.update data into Z table
Regards -
Help - Problem with word documents
Hi
All of a sudden I am having problems with documents in my word application. Files I have previously transderred on to my Mac from a memory stick or via email attachments are unable to be altered. i cannot add to a downloaded document that needs to be filled in or alter a date on a letter that I send out each month. I am not very compiter literate.
BerylHi
All of a sudden I am having problems with documents in my word application. Files I have previously transderred on to my Mac from a memory stick or via email attachments are unable to be altered. i cannot add to a downloaded document that needs to be filled in or alter a date on a letter that I send out each month. I am not very compiter literate.
Beryl -
Please Help-Problem with Optical Drive, it's a Mystery...
Well I'm a fairly big Imogen Heap fan, and her new CD came out the 25th. So I went to Best Buy and I bought the deluxe version which includes a seperate disc with instrumentals. I got home, put it in, and my Mac made a "scratching" kind of noise, then it spit out the disc. I figured there was a problem with it, I went back to Best Buy, got a new one, and it did the exact same thing.
HOWEVER, both of the instrumental discs worked just fine, and imported just fine. The normal audio disc also works on my Ubuntu computer, Windows computer, and my other Early 2009 Macbook Pro. I also restarted my Mac, cleaned the disc, and that did nothing.
So, what's the problem do you think?
(Also I went to Apple but there were no appointments available, and they were too busy to just look at it without an appointment )Hi Mate,
I didn't do an OS install, I took it to an apple store and made a Genius Bar appointemnt. Explained the proble and after 15min conversation, they diagnosed it as teh following;
The felt/rubber where you put the CD/DVD had gone hard and the friction is causing the CD/DVD to get stuck and be loaded. They tried to tell me that I need to replace the top case (£140+VAT) as its in-built into it or I can use a £3 spudger to push the CD's in......needles to say the Spudger works fine.....Shame I wasted £100 on the new optical drive ;o( Maybe sell teh spare on eBay....Happy days! -
Help, problem with keeping ipod connected..
When I connect my ipod, it updates in itunes and then disconnects itself from the computer...how do I make it so after it updates it stays connected and keeps flashing "Do Not Disconnect" on the ipod?
rahul,
OK, I do understand you may be having some early problems with just a little bit of data with a few tunes. Have you thought about what you will do in the future as you add more? This is my post on that topic:
I have been trying to find a way to upload my CD library to my new 60GB iPod (that function works fine) and classify / manage my CD library on it (using iTunes)- that function is nearly unworkable. Now, today, I have used my only 'free' direct APPLE Support contact and the basic answer was 'Too Bad for You!! The iPod does not have nor support multi level indexing or playlists!!!! So...go ahead, load 500 or 600 Cd's onto your iPod and then try to find the tracks you wish to play!! It can't be done except for a 'flat' one level filing system!!! What a BUMMER -
Help - Problem with Java Updating
In updating to the latest version of Java - 8.45 - I must also load the Unlimited Strength encryption files. At least, that's what the README file sez ...
Unfortunately - when I agree to the terms, and download the "Unlimited Policy" zip file, it contains the US Export Policy encryption file, and NOT the Unlimited Policy File.
Can someone help me with what's going on here? Thanks in advance ... !My friend looks like that u are using javax.swing.filechooser.FileFilter class as your file filter. Nothing wrong with it, but it works only with JFileChooser and not with the java.io.File.listFiles method. for that u will have to implement the java.io.FileFilter interface.
He is the code example...
import javax.swing.*;
import java.io.*;
public class FileTest implements FileFilter {
public static void main (String args[]) throws Exception {
new FileTest();
public FileTest() {
File f = new File(".");
File [] list = f.listFiles(this);
for (int i = 0; i < list.length; i++) {
System.out.println(list);
class MyFileFilter implements FileFilter {
public boolean accept(File pathName) {
if (pathName.isDirectory()) return true;
String ext = pathName.getName();
ext = ext.substring(ext.lastIndexOf(".") + 1, ext.length());
if (ext.equals("java")) { //check for any extension you want to list
return true;
return false; -
Problem with bapi BAPI_BUS2054_CREATE_MULTI
I am trying to create multiple wbs elements for a given definition
using the bapi BAPI_BUS2054_CREATE_MULTI as per the documentation i have used BAPI_PS_INITIALIZATION
first to initialize,then followed by BAPI_BUS2054_CREATE_MULTI and ending with BAPI_PS_PRECOMMIT and BAPI_TRANSACTION_COMMIT
it says the definition is o.k but its giving error with wbs element.
that to enter all required fields.
could any body please tell what are all the required fields that i have to enter for it_wbs.Hi Aravind,
I am having same problem. Can you pelase explain me how you solved your issue.
Please help?
thanks,
Venkat. -
Problem with BAPI (Flight) Tutorial
Hi,
Im new in developeing with Web Dynpro for Java.
I did every steps of this tutorial (Adaptive RFC tutorial - with the BAP_Flight_Getlist) exactly:
http://help.sap.com/saphelp_webas630/helpdata/DE/b2/326b09e58bcf499f73b5cc278808f4/content.htm
But i can not deploy the application - Error: deployment aborted.
05.04.2008 11:00:23 /userOut/deploy (com.sap.ide.eclipse.sdm.threading.DeployThreadManager) [Thread[Deploy Thread,5,main]] ERROR:
[022]Deployment aborted
Settings
SDM host : dmhpnb34
SDM port : 50018
URL to deploy : file:/C:/DOKUME1/ADMINI1/LOKALE~1/Temp/temp29689Flights.ear
Result
=> deployment aborted : file:/C:/DOKUME1/ADMINI1/LOKALE~1/Temp/temp29689Flights.earAborted: development component 'Flights'/'local'/'LOKAL'/'0.2008.04.05.11.00.19'/'0':
Caught exception during application deployment from SAP J2EE Engine's deploy service:
java.rmi.RemoteException: Cannot deploy application local/Flights.. Reason: Clusterwide exception: Failed to deploy application local/Flights. Check causing exception for details (trace file). Hint: Are all referenced components deployed and available on the engine?; nested exception is: com.sap.engine.services.deploy.container.DeploymentException: Clusterwide exception: Failed to deploy application local/Flights. Check causing exception for details (trace file). Hint: Are all referenced components deployed and available on the engine?
(message ID: com.sap.sdm.serverext.servertype.inqmy.extern.EngineApplOnlineDeployerImpl.performAction(DeploymentActionTypes).REMEXC)
Deployment exception : The deployment of at least one item aborted
My SLD is working, also my JCOS, so there should not be the problem.
Are there more good small tutorials (like this flight tutorial) with Web Dynpro and BAPI ?!thx for the advise. I developed the tuturial application again and can now run it. But if i click on search button with the entered values Departure City: Frankfurt and Arrival City: New York
i get no values in the table (i checked in the ERP System if the flights with this directions exists - its there):
Custom Controller Code:
// This file has been generated partially by the Web Dynpro Code Generator.
// MODIFY CODE ONLY IN SECTIONS ENCLOSED BY @@begin AND @@end.
// ALL OTHER CHANGES WILL BE LOST IF THE FILE IS REGENERATED.
package mypackages;
// IMPORTANT NOTE:
// ALL IMPORT STATEMENTS MUST BE PLACED IN THE FOLLOWING SECTION ENCLOSED
// BY @@begin imports AND @@end. FURTHERMORE, THIS SECTION MUST ALWAYS CONTAIN
// AT LEAST ONE IMPORT STATEMENT (E.G. THAT FOR IPrivateFlightsController).
// OTHERWISE, USING THE ECLIPSE FUNCTION "Organize Imports" FOLLOWED BY
// A WEB DYNPRO CODE GENERATION (E.G. PROJECT BUILD) WILL RESULT IN THE LOSS
// OF IMPORT STATEMENTS.
//@@begin imports
import mypackages.model.Bapi_Flight_Getlist_Input;
import mypackages.model.Bapisfldst;
import mypackages.model.FlightModel;
import mypackages.wdp.IPrivateFlightsController;
import com.sap.mw.jco.JCO;
import com.sap.tc.webdynpro.progmodel.model.api.WDModelFactory;
import com.sap.tc.webdynpro.progmodel.model.api.WDModelScopeType;
//@@end
//@@begin documentation
//@@end
public class FlightsController
Logging location.
private static final com.sap.tc.logging.Location logger =
com.sap.tc.logging.Location.getLocation(FlightsController.class);
static
//@@begin id
String id = "$Id$";
//@@end
com.sap.tc.logging.Location.getLocation("ID.com.sap.tc.webdynpro").infoT(id);
Private access to the generated Web Dynpro counterpart
for this controller class. </p>
Use <code>wdThis</code> to gain typed access to the context,
to trigger navigation via outbound plugs, to get and enable/disable
actions, fire declared events, and access used controllers and/or
component usages.
@see mypackages.wdp.IPrivateFlightsController for more details
private final IPrivateFlightsController wdThis;
Root node of this controller's context. </p>
Provides typed access not only to the elements of the root node
but also to all nodes in the context (methods node<i>XYZ</i>())
and their currently selected element (methods current<i>XYZ</i>Element()).
It also facilitates the creation of new elements for all nodes
(methods create<i>XYZ</i>Element()). </p>
@see mypackages.wdp.IPrivateFlightsController.IContextNode for more details.
private final IPrivateFlightsController.IContextNode wdContext;
A shortcut for <code>wdThis.wdGetAPI()</code>. </p>
Represents the generic API of the generic Web Dynpro counterpart
for this controller. </p>
private final com.sap.tc.webdynpro.progmodel.api.IWDController wdControllerAPI;
A shortcut for <code>wdThis.wdGetAPI().getComponent()</code>. </p>
Represents the generic API of the Web Dynpro component this controller
belongs to. Can be used to access the message manager, the window manager,
to add/remove event handlers and so on. </p>
private final com.sap.tc.webdynpro.progmodel.api.IWDComponent wdComponentAPI;
public FlightsController(IPrivateFlightsController wdThis)
this.wdThis = wdThis;
this.wdContext = wdThis.wdGetContext();
this.wdControllerAPI = wdThis.wdGetAPI();
this.wdComponentAPI = wdThis.wdGetAPI().getComponent();
//@@begin javadoc:wdDoInit()
/** Hook method called to initialize controller. */
//@@end
public void wdDoInit()
//@@begin wdDoInit()
Bapi_Flight_Getlist_Input input = new Bapi_Flight_Getlist_Input();
wdContext.nodeBapi_Flight_Getlist_Input().bind(input);
Bapisfldst bapisfldstFrom = new Bapisfldst();
input.setDestination_From(bapisfldstFrom);
Bapisfldst bapisfldstTo = new Bapisfldst();
input.setDestination_To(bapisfldstTo);
// Creates an instance of a client to the remote SAP system
client = JCO.createClient("800", //SAP logon client number
"Andreas", //SAP logon user
"*****", //SAP logon password
"DE", //SAP logon language
"dmsaperp", //Host name of application server
"00"); //SAP system number
// Creates the model instance
model = (FlightModel)WDModelFactory.getModelInstance( FlightModel.class, WDModelScopeType.APPLICATION_SCOPE);
// Assigns the client to the model
model.setJcoClient(client);
//@@end
//@@begin javadoc:wdDoExit()
/** Hook method called to clean up controller. */
//@@end
public void wdDoExit()
//@@begin wdDoExit()
//@@end
//@@begin javadoc:getFlights()
/** Declared method. */
//@@end
public void getFlights( )
//@@begin getFlights()
//@@end
The following code section can be used for any Java code that is
not to be visible to other controllers/views or that contains constructs
currently not supported directly by Web Dynpro (such as inner classes or
member variables etc.). </p>
Note: The content of this section is in no way managed/controlled
by the Web Dynpro Designtime or the Web Dynpro Runtime.
//@@begin others
JCO.Client client;
FlightModel model;
//@@end
content of obsolete user coding area(s) -
//@@begin obsolete:getFlights()^
// client.connect();
// try {
// // Calls remote Function Module BAPI_FLIGHT_GETLIST
// wdContext.currentBapi_Flight_Getlist_InputElement().modelObject().execute();
// catch (Exception ex) {
// ex.printStackTrace();
// finally {
// client.disconnect();
// // Invalidates the output context node
// wdContext.nodeOutput().invalidate();
//@@end
Maybe you are looking for
-
Can't open Finder after Upgrade to Yosemite 10.10
After the Upgrade to Yosemite 10.10 on my MacBook Pro with Retina Display i can't open the Finder and it says it's not reacting. The bar on top when i'm at the Desktop is also gone. Can somebody help me ?
-
I just got a new computer so I can't get my Iphone to connect to it. I just want to use my actual Iphone to download songs from Itunes from now on but I already have this song downloaded to my computer so it's not playing on my phone. I want to delet
-
I went into control panel unistalled apple mobile device support, apple software update, apple application support,and bonjour. i have QuickTime 7.7.5 installed on laptop. I rebooted and tired again failed same error. I removed the apple programs ag
-
I have a MacBook Pro that needs to have the OS installed. The Superdrive is disfunctional and I thought I could load the OS through an iMac Firewired to the MacBook. First, is this even possible. It seems intuitive...Insert the OS into the iMac an
-
DVDSP says .mov is not correct format
i'm exporting from FCP "using quicktime conversion" and trying to burn a DVD. When I bring the 3.99 GB file into DVDSP as a .mov, it says it's the incorrect format. I have tried exporting options with motion j-peg, converted to a 1.1 GB file, worked