Error using BAPI_PO_CREATE1 to create po with ref to PR
Hi all,
I am using FM BAPI_PO_CREATE1 to create a PO wrt PR. but while executing getting an error.
No instance of object type PurchaseOrder has been created. External reference:
Purchase order still contains faulty items
Purchase requisition 10002040, item 00010, does not exist
Purchase requisition 10002040, item 00010, does not exist.
Any suggestions to solve this problem.
Thanks in advance,
Neela
Hi ,
i got the error message that 'Please maintain services sor limits' message se 029.I'm using bapi (BAPI_PO_CREATE1) and pass preq_no and preq_item in poitem structure.can u help me in this issue?
Similar Messages
-
Error using BAPI_PO_CREATE1 for creating PO with services
Hi,
I'm getting an error saying 'EnTER account assignment data for item' when I use BAPI_PO_CREATE1 and try to create POs with Service Items. I have filled all the required details, even then the system throws up this error message. Thanks for any help.
Regards,
Vijaywhat have you passed to the table POACCOUNT? and POACCOUNTX?
Regards,
Ravi -
Using bapi_po_create1 to create PO with return item - Order Combination
Hello,
There's a shipping tab that appears in a purchase return item, and in it there's a flag called Order Combination.
Only i can't seem to find a way to change that flag using this BAPI, nor using bapi_po_change.
Any ideas?
Thank you in advance.
DuarteHi
Its a setting that you maintain in the customer master reord that defaults it.
So if you want this to be flagged for some vendors and for some no flag the you need to maintain accordingly in the Customer master data - Sales are data Shipping tab
If you want it to be maintained through BAPI then populate the same in POSHIPPINGEXP structure
Thanks & Regards
KK -
I'm getting no error using float in cldc1.0 with wtk2.2?
I'm getting no error using float in cldc1.0 with wtk2.2?
ravikumar.tj wrote:
Please set wtk settings as cldc1.0 and midp1.0.
Create a subclass of MIDlet as-
public void startApp()
float f;
double d;
Press Create Package, Jar and Jad files are getting generated successfully.
If Cldc1.0 doesn't support float, I must get Compile error, isn't??That's ok, but just because you're not doing anything with those variables so the compiler ignores them.
This should give you a preverify error:
protected void startApp() throws MIDletStateChangeException {
double d=0.5;
} -
How to create Invoice with ref to PO
Dear sd gurus..
i know we can create invoice with ref to sales order not with po
But i want to create Invoice with ref to po only
please guide me
Thanks a lotVenu, thanks for your reply.
So in this case your idea wont work but the main imp thing is we cant create invoice with ref to po
Please read my post once again, i never said we can create customer invoice with ref to Purchase order. I said very clearly, " you can follow the normal 3rd party sales process", which means we create customer invoice with ref to sales order only.
Coming into another query,
but some time PO Is generated 110 qth to vendor but vendor may be he will send 105 due to shortage ... and he will tell i will send the the remaining stock after next 10 days now Generally miro will happen only for 105 not 110 ( even we can do MIRO110 also ) but i am talking generally because he received the stock 105 only
But company wants billing for 110 not for 105 because here customer accepted to pay full money
and vendor gave promise to delivery 5 qty in next 10 days
Why will the customer agree to be billed the full qty, when he receive the partial qty?
Let us assume as you said customer agree to pay for full qty, then there are two options.
1. Do the MIRO for full qty since you would be invoicing the customer for full qty
Or
2. Do the MIRO for partial qty and customer should agree for partial invoice
Please note in the normal case also if there is if condition then you don't have other option.
Example:
Order = 100 qty
PO = 100 qty
MIGO = 50 qty and remaining 50 qty Vendor delivery in next 10 days
MIRO =50 qty
But here also customer agreed to pay for full qty, then what will you do ? you don't have other option but to bill the partial qty in standard.
And let me know if you need any more clarity?
thanks,
Srinu. -
Partner function not working when creating PO with ref to PReq
Partner function is not working when creating a Purchase Order with ref to a Purchase Requistion, Partner functions maintained in the vendor master are VN, OA & PI.
But OA & PI are not appearing in the PO header partner tab when created with ref to PR.
however it works when i create the PO directly ( without the PR ref )
I am using the same material & Plant for both manual PO & PR to PO.
Any idea what could be wrong .
I have maintained the settings for schema groups for vendor master & purchasing doc in the partner determination.
Thanks
DkmurthyHi,
I have also an issue that seems similar to one you are discussing.
When we use ME59N and create a PO with ref. from a PR (created from a sales order), the message determination works well, it reads the condition set in MN04 (condition records for messages), and creates a message (with output type for EDI , medium: 6, and partner function LS: Logical system). Message is created and idoc is sent.
When we try with ME21N, ME21 and we create the PO with ref. to the same PR, either by entering manually the PR in the document overview of ME21N or by selecting the PR (without entering the PR number), i.e with date, the message is not created in the PO.
Company code is assigned to purchase organization, and so is purchase organization to plant.
Any idea why there is no automatic message determination in the case of the transaction: ME21N
Note: If I try ME21N, and enter the output type and partner, manually, I receive a warning message
VN006 (Partner XXXX does not exist for partner function LS). If I accept this warning message, then message is saved- idoc is sent. However I can not overcome the warning message, if it plays any role, because I can not assign partner function LS to the vendor.Then I receive message CZ 327 (Can not use this partner role).
Any input is wellcome. -
Using BAPI_PO_CREATE1 to create a PO - MoT from contract is overwriting input
We're using BAPI BAPI_PO_CREATE1 to create a PO with reference to a conract.
On that contract, we assign a MoT Group - a MoT value that corresponds to several MoT values.
For instance, MoT 91 allows MoT 07, 08, and 09.
When we pass a value to the OIC_MOT field of 07, the PO is trying to create using MoT = 91.
We are using the ExtensionIn structure and are marking the appropriate OIC_MOT = 'X' in the ExtenionInX structure.
any ideas?We found the issue - it turns out that if you do NOT pass origin state/country to the BAPI, all of the external details are copied from the contract.
-
Error Using OEM to create export files
Hi
I get the following error whenever I try to use OEM to create export files (login to OS as oracle user -> http://localhost:1158/em -> login as SYSTEM -> Maintenance -> Export to Export Files (with oracle user as host credentials)
>>>
Validation Error
Examine and correct the following errors, then retry the operation:
Error - ERROR: NMO not setuid-root (Unix-only)
>>>
From what I've read in this forum and in others is that the problem is often related to the owner/group permissions associated with the bin/nmo and bin/nmb files. However I've tried the posted solutions by changing the owner/permissions as suggested, but this does not help. I get the same error regardless if the files are owned by oracle or by root.
Here is some more info
>>>
[root@rhlinux bin]# id oracle
uid=501(oracle) gid=502(dba) groups=502(dba)
[root@rhlinux bin]# ls -ld /app/
drwxr-xr-x 4 root root 4096 Jul 6 13:36 /app/
[root@rhlinux bin]# ls -ld /app/oracle/
drwxrwxr-x 5 oracle dba 4096 Jul 10 10:13 /app/oracle/
[root@rhlinux bin]# ls -ld /app/oracle/product/
drwxrwx--- 3 oracle dba 4096 Jul 6 16:04 /app/oracle/product/
[root@rhlinux bin]# ls -ld /app/oracle/product/v10.2.0/
drwxr-x--- 58 oracle dba 4096 Jul 11 15:31 /app/oracle/product/v10.2.0/
[root@rhlinux bin]# ls -ld /app/oracle/product/v10.2.0/bin/
drwxr-xr-x 2 oracle dba 8192 Jul 20 11:19 /app/oracle/product/v10.2.0/bin/
[root@rhlinux bin]# ll nm?
-rwxr-x--- 1 root dba 18462 Jul 6 16:16 nmb
-rwxr-x--- 1 root dba 19624 Jul 6 16:16 nmo
>>>
>>>
[oracle@rhlinux bin]$ uname -a
Linux rhlinux 2.6.9-34.0.2.EL #1 Fri Jun 30 10:23:19 EDT 2006 i686 i686 i386 GNU/Linux
>>>
>>>
[oracle@rhlinux bin]$ sqlplus system@dware
SQL*Plus: Release 10.2.0.1.0 - Production on Thu Jul 20 16:34:16 2006
Copyright (c) 1982, 2005, Oracle. All rights reserved.
Enter password:
Connected to:
Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
With the Partitioning, OLAP and Data Mining options
>>>
>>>
[oracle@rhlinux bin]$ emctl status agent
TZ set to Canada/Saskatchewan
Oracle Enterprise Manager 10g Database Control Release 10.2.0.1.0
Copyright (c) 1996, 2005 Oracle Corporation. All rights reserved.
Agent Version : 10.1.0.4.1
OMS Version : 10.1.0.4.0
Protocol Version : 10.1.0.2.0
Agent Home : /app/oracle/product/v10.2.0/rhlinux.swlocal_DWARE
Agent binaries : /app/oracle/product/v10.2.0
Agent Process ID : 32098
Parent Process ID : 30792
Agent URL : http://rhlinux.swlocal:3938/emd/main
Started at : 2006-07-20 12:00:05
Started by user : oracle
Last Reload : 2006-07-20 12:00:05
Last successful upload : 2006-07-20 16:27:29
Total Megabytes of XML files uploaded so far : 1.54
Number of XML files pending upload : 0
Size of XML files pending upload(MB) : 0.00
Available disk space on upload filesystem : 47.83%
Agent is Running and Ready
>>>
>>>
[oracle@rhlinux bin]$ emctl status dbconsole
TZ set to Canada/Saskatchewan
Oracle Enterprise Manager 10g Database Control Release 10.2.0.1.0
Copyright (c) 1996, 2005 Oracle Corporation. All rights reserved.
http://rhlinux.swlocal:1158/em/console/aboutApplication
Oracle Enterprise Manager 10g is running.
Logs are generated in directory /app/oracle/product/v10.2.0/rhlinux.swlocal_DWARE/sysman/log
>>>
Any other ideas what might be causing this problem?
Thanks and take care,
ShayneFrom what I've read in this forum and in others is
that the problem is often related to the owner/group
permissions associated with the bin/nmo and bin/nmb
files. However I've tried the posted solutions by
changing the owner/permissions as suggested, but this
does not help. I get the same error regardless if the
files are owned by oracle or by root.
I am not sure which "posted solutions" you had, but this is related to not running root.sh which must be run against the Agent Home.
1. Stop the Agent (emctl stop agent) while connected to the OS as Oracle user (normally oracle) that installed Grid Control
2. Connect to the OS as root and run root.sh from Agent ORACLE_HOME (if you do not have root access, your System Admin can do it)
3. Start the Agent (emctl start agent) while connected to the OS as Oracle user -
Error using WebServicesAssembler to create webservice for PL/SQL-Example
Hello all,
I tried to create a webservice based upon the pl/sql package emptax (Oracle Example: Boolean). The package just contains:
PACKAGE EMPTAX as
FUNCTION getTax(employeeid number, ismarried boolean) RETURN number ;
END Emptax;
JAVA_HOME, ORACLE_HOME and CLASSPATH are all set according to the manual. Now I start the WebServiceAssembler.jar with:
java -jar C:\oracle11\product\11.1.0\db_1\oc4j\webservices\lib\WebServicesAssembler.jar
-config C:\Daten\tmp\webservice_boolean\Boolean\config\config.xml
The config.xml looks like this:
<web-service>
<destination-path>./EmpTax.ear</destination-path>
<temporary-directory>./tmp</temporary-directory>
<context>/webservices</context>
<stateless-stored-procedure-java-service>
<uri>/EmpTax</uri>
<jar-generation>
<schema>scott/tiger</schema>
<db-url>jdbc:oracle:thin:@10.10.10.10:1521:prod11</db-url>
<db-pkg-name>EmpTax</db-pkg-name>
<prefix>EmpTax</prefix>
</jar-generation>
<database-JNDI-name>jdbc/prod11</database-JNDI-name>
</stateless-stored-procedure-java-service>
</web-service>
The EmpTax.jar is created, containing:
- EmpTax.java
- EmpTaxBase.java
- EmpTaxBase.sqlj
- EmpTaxUser.java
- EmpTaxUser.sqlj
At the end, there appears the error:
java.lang.Win32Process.create
java.lang.Runtime.execInternal
java.lang.Runtime.exec
oracle.j2ee.ws.tools.WsAssemblerConfig
=> NullPointerException: class EmpTax.EmpTaxUser not found
The EmpTax.ear-File is not generated. I'm really stuck now. Does anybody has a hint?
Thanks in advance
ChristophIgnore the last one. I did the example here over lunch and it works fine.
http://www.oracle.com/technology/sample_code/tech/java/jsp/samples/boolean/boolean.html
Try the -debug and see what happens.
When I run these tests, I always make sure that my PATH, and CLASSPATH are the absolute minimum. That is:
SET PATH=C:\j2sdk1.4.2_10\bin
SET CLASSPATH=.\
SET OC4J_HOME=C:\OC4J_101202
SET J2EE_HOME=%oracle_home%\j2ee\home
It may just be that the classpath that you see when you run it in debug mode is missing some of the required jars for the jpub/sqlj stuff. Verify that they are all ok.
Eric -
Unterminated errors using NI's IVI (AG6000) with Agilent's DSO5054A Oscilloscope
Hi,
I keep getting timeout errors when using the IVI file ag6000 with Agilent's DSO5054A Oscilloscope over GPIB. Using TestStand, I am able to calibrate the o-scope about 50-60% of the time and read from the o-scope about 2% of the time. When sending a command using the IVI, the o-scope typically displays "query UNTERMINATED." Attached is the error TestStand gives when it is not able to talk correctly. In MAX, I can talk to the o-scope using the GPIB communicator tool 100% of the time.
Is there an updated version of the ag6000 IVI file that works with the DSO5054A that I don't know about?
Thanks.
Attachments:
Common Error.JPG 115 KBI believe I am giving enough time for the commands. What I meant was that I know the NI GPIB card is good, the cable is good, and the o-scope is good, it is just the o-scope just does not like the signals sent using either the LabVIEW LabWindows/CVI Measurement Studio for Visual Studio IVI or the LabVIEW Plug and Play driver. The site takes me from the DSO5054A page to a 6000 series driver, although according to the description it should work with the o-scope.
http://sine.ni.com/apps/utf8/niid_web_display.model_page?p_model_id=10028
Using the above IVI/Plug and Play drivers, the DSO5054A reads the correct signal but unterminated, so it doesn't know what to do half the time. In TestStand, I added in the initiate command and added a wait of 10 seconds, and when it doesn't timeout on the calibrate command it will timeout on the fetch/read command. In LabVIEW, using the read single waveform.vi the GUI displays the signal from the o-scope about 10% of the time, while the rest of the time it times out with error code -1073807339. -
Create Quotations with ref of Inquiry through Custom IB IDOC
Hello Experts
Can you please tell the process how we can create the quotations by using inbound idoc created from XI system.
What is the FM, process code, message type.
Thanks
CrisNo answers were provided so closing this one.
-
Using 08 to create flash with 09 installed
When i upgraded to keynote 09, it left keynote 08 in the applications folder (which seems to run ok). Can I use O8 to create a flash/swf file using the export (which is not in 09)? I have upgraded quicktime pro to version 7.6.2 as well.
Thanks
bobAccording to what peterBreis wrote several times, it seems that the response is YES.
Yvan KOENIG (from FRANCE vendredi 24 juillet 2009 19:27:49) -
How to create PO with ref to SO using BAPI_PO_CREATE1
Hello Experts,
I have to create a PO using Sales Order(approved in work flow, User status will be changed from ZBLK to ZAO) in my User exit userexit_save_document. BAPI_PO_CREATE1 can be used to create PO. But I need it with reference to Sales Order. Can anybody please let me know how to do that?
Regards.no answers
-
Create PO with refer to one contract
Hi,
can I enforce the rule in the system that whenever a PO is created , It only consist of "one contract" only .
Is there any User Exit / Badi i need to implement ?
ThxYou can use BADI ME_PROCESS_PO_CUST...here try for the logic that while checking/posting/holding a PO the system will first check that whether in the field KONNR in EKKO table has more than one entry or not...If yes then system will stop user from doing hold/post the PO by throwing some customized error...check this with the help of your ABAP person.
Regards,
Indranil -
BAPI_PO_CREATE1 to create PO with limit item (item category = B)
Hello,
I want to create a PO with a limit item (category = B). What are the important parameters/tables which have to be filled.
Currently I'm filling the following:
POHEADER + POHEADERX
POITEM + POITEMX
POSCHEDULE + POSCHEDULEX
POACCOUNT + POACCOUNTX
POSRVACCESVALUES
POLIMITS
The package number in the item matches with the one which is used in POSRVACCESSVALUES and POLIMITS. When I debugg the function module everything looks fine to me and a PO is also created BUT it does not contain any item with category = B.
Does anyone of you have an idea what is missing?
Kind regards,
Thomashi,
Please reffer the below link
Blanket Purchase Order and the Framework Order
Thanking you
Maybe you are looking for
-
Using MS Access as Database from Remote Machine
Hi All I am trying to use MS access as Data base, I have done the following. 1. I have Added the mdb file on a remote machines DSN.(Control Panel->Admin Tools->ODBC->System Tools) 2. In xMII data services->Data Servers, Copied the Default IDBC Server
-
How to design a better screen layout?
Hi all, we have one select-options and 5 input-fields on one view, these 6 elements are arranged from the top to the buttom, but the 5 input-fields seems very separeated from its corresponding label, can anyone give some advice to make the layout loo
-
Best way to show data of multiple lists - List Dashboard
Hi, I am using SP 2013. I have around 10 custom lists, in which users add items. When a item is added a custom Visual studio approval workflow is triggerred. I am trying to create a visual webpart (VS 2012) , which will show the items that the logged
-
Hi Everyone, I wasn't noob at this before, but I guess I fall back into this category. I recently purchased and install Mac OS X 10.5.2 Server, and I am trying to set everything up. I understand most of the basics, but I want to use my personal domai
-
ORA-29532 during create database
Hi all, When I want to create a new instance on 10.2.0.4.0 in Windows XP, I have ORA-29532 error. What can I do? Regards