Entering more than one item using bapi_salesorder_createfromdat1
Hi,
I am connecting a CRM system with SAP, I have got the xml file for Sales Order with all the data's and i want to create a sales order in sap system using bapi_salesorder_createfromdat1.
My question is I am able to enter one item to the sap sales order. for inputing more than on items what should i do. Please help me.
thanks
Hi,
Then there must be some problem with the appending of the data in the ITEM table.
just see in the debugging.
Regards,
Atish
Similar Messages
-
Is it possible to place more than one Item on same line on the FORM
Can we placed more than one Item on the form?
for ex: I want to use TextFields to input the Date of birth in form of DD/MM/YY
I want to put on the form like
Enter DOB :- DD MM YYYY
Please suggest if it is possible any way in J2MEIt will depend on the phone. There is no way of knowing if the items actually will be on the same line or not. On a phone with a small screen, the items are likely to end up on two lines.
You can however make sure that the lines will occupy two lines by using the setLayout(int layout) method which belongs to the Item class. -
How to enter more than one bind variable
Hello,
i use bind-variables to pass parameters from one application to another through links. On the SQL-Query-Tab it says that i can enter more than one bind-variable, but i don't know how to do it.
my sql-statement looks like this:
SELECT column
FROM schema.table_name
WHERE v_variable = :bind_variable
I don't want to put a second bind-variable in the where-clause.
thank you
Ralf SchmittHi Marcel,
thanks for your help.
What I want to do is pass a parameter to a report that is not part of the select-statement
Example: a simple blackboard
User selects a category and receives a list of items in that category. now i want to pass the category_id AND the category_name.
The select on category_id produces the item-list, the category_name is shown in the header of the html-page.
A question to the code you submitted:
WHERE v_variable in (:bind_variable1, :bind_variable2, :bind_variable3 etc)
is v_variable an array? How do i select with such a where-clause?
Thank you,
Ralf -
How can i put more than one item in a same row of a form?
guys!
it seems item is positioned in a single row one by one each time item is appened to a form. i can't append more than one item in same row.
i'm using sun wtk and default colored phone emulator.
xxxxHi,
It is not possible to have more than one combo in the source frame. This is because frame drivers can take only
two columns in the sql query, one is the display value and the other the return value.
Thanks,
Sharmila -
"A script is already running" while attempting to run more than one item
We upgrade recently to ODT 11.2.0.3.20. Since then, attempting to run more than one item from the Solution Explorer (by selecting the items, right-clicking, and selecting "Run") results in a popup error of "Oracle Developer Tools. A script is already running". If many items are selected it results in many error messages and only a random few of the items are actually executed on the server. Also, choosing "Run On" now results in it prompting for the target database for each item selected (rather than once for all items selected like it used to). This all used to work fine in the earlier release we were using. Has anyone else run into this? Any fixes? We used to use multi-select and "Run" or "Run On" to deploy multiple items at once, but this no longer works -- doing one at a time works, but if you have hundreds of items to run, this quickly becomes unusable.
Thanks for any insight.
- Joshcshay wrote:
I don't believe that the intention was for you to be able to run a bunch of scripts one after the other. Often there are dependencies between scripts anyway and so you you have to order them. Because we're generally deploying a large set of stored procedures (and not just one-time scripts) the order doesn't really matter -- even if a stored procedure gets created before one it depends on, once all the SPs are on the server, the ones that are "invalid" will compile correctly once you execute them.
I think a lot of people are creating master scripts that references child scripts using the "@" sql plus syntax.... have you tried that?
I'll give that a try as a work around. Only issue I have with that solution is every time we add or remove something from the solution, we also have to update the script.
We are doing a lot of enhancements to our script generation in the coming year. Keep an eye out for a beta to test.
Like I said, this used to work fine in the older versions of ODT. It seems like the new version is attempting to execute multiple items at once on the same connection simultaneously, thus resulting in the "A script is already running" error. The old version used to be smart enough to execute them one at a time -- so something changed in a more recent version to completely break "Run" and "Run On" when you have more than one item highlighted (even just highlighting 2 items and choosing "Run" runs the first item, but then gives the error for the second item).
Christian- Josh -
Can't add a goods-issue with more than one item and one is serial managed.
Hi,
We are trying to issue more than one item to a production order using the DI API. If none of the items is serial managed, they all are accepted and the goods-issue Add is successful. If one the items is batch-managed, the goods-issue Add is also successful. I am able to add the goods-receipt if I it contains only one item and it is serial-number managed. However, if Im issuing more than one item and one or more of the items is serial number managed, then the DI API will not add the goods-issue. The error message that appears refers to an item that is not among the items being issued. The message is:
-10: (IGE1.WhsCode)(line: 3), Item A00006 with system serial 1 is not in stock.
Again item A00006 is not even in the group of items being issued.
The code I am using for the serial number part is:
With oGoodsIssue.Lines.SerialNumbers
.SystemSerialNumber = rs.Fields.Item("SysSerial").Value
.ManufacturerSerialNumber = rs.Fields.Item("MfrSN").Value
.InternalSerialNumber = rs.Fields.Item("IntrSerial").Value
.SetCurrentLine(n)
.Add()
rs.MoveNext()
n += 1
End With
The rs is a recordset that the code is looping through as the serial numbers are being added.
The error message does not occur during this code. It occurs when it tries to add the full goods-receipt. Does anyone have any idea how I can fix this?
Thanks,
Mike
Edited by: Mike Angelastro on Mar 31, 2008 8:43 AMHi Mike,
Try to do the ".Add" only if you need it. Doing a ".add" without assignation may cause the error you have.
I guess your n variable start at 1 or 0, so you could put code like this :
With oGoodsIssue.Lines.SerialNumbers
if n = 0 then (or 1, also I don't the correct syntax of your programming language)
.Add()
end if
.SystemSerialNumber = rs.Fields.Item("SysSerial").Value
.ManufacturerSerialNumber = rs.Fields.Item("MfrSN").Value
.InternalSerialNumber = rs.Fields.Item("IntrSerial").Value
.SetCurrentLine(n)
rs.MoveNext()
n += 1
End With
HTH
Jodérick -
Select more than one item in a SUD listbox?
Is there a way to select more than one item in a listbox in a SUD? I can't find anything in the properties relating to that. I want to be able to select one or more items in a listbox just like I can in LabVIEW.
GeorgeI tried to do this a while back but had no luck so I took another approach. I ended up using a table instead of a listbox. Here is a link to my posting a while back. Brad's example worked well for me.
http://forums.ni.com/ni/board/message?board.id=60&message.id=1711&query.id=0#M1711
Good luck,
AJL -
Allow for more than ONE item in a single row?
Allow for more than ONE item in a single row? I can't use this wonderful program unless I can get more than one field on a row (i.e. 1st name, mi, last name etc)
Thanks for your feedback. This is something we definetely want to provide next year (can't say when yet).
If others are interested in this feature please vote on it within the idea tab: http://forums.adobe.com/ideas/1046
That helps us prioritize our work based on customer demand.
Randy -
Enter more than one personnel number for the same confirmation in CO11N
More than one labor working on Machine work center simultaneously.
So that during production orders confirmation in CO11N we need to enter more than one personnel number for the same confirmation but in CO11N the system allow me to enter only one personnel number.
Note: I can not distinguish between the productions for each labor so that I can not enter separate confirmation for each labor.Hi,
You can use the User Exit: CONFPP07 Single Screen Entry: Inclusion of User-Defined Subscreens
for this purpose..
Take help from the ABAPer for this enhancement..
Regards,
Siva -
How can I buy more than one item at a time?
How can I buy more than one item at a time i iPhote fx a book and a calander? It would be nice to place one order and only pay for the shipping once!
You can't.
Regards
TD -
Is there a way to place an order with more than one item at a time? for example I am making a few books and having them all shipped to me. Do I have to order each one separately and pay shipping each time?
You have to order each book separately, if the books are different. Only multiple copies of the same book can be ordered in the same order, see here
Regards
Léonie -
Is there a datatype that allows me to store more than one item at a time
Hello Everyone,
Is there a datatype that allows me to store more than one item at a time , in a column in a row?
I have to prepare a monthly account purchase system. Basically in this system a customer purchases items in an entire month as and when required on credit and then pays at the end of the month to clear the dues. So, i need to search the item from the inventory and then add it to the customer. So that when i want to see all the items purchased by a customer in the current month i get to see them. Later i calculate the bill and then ask him to pay and flushout old items which customer has purchased.
I am having great difficulty in preparing the database.
Please can anyone guide me! i have to finish this project in a weeks time.
Item Database:
SQL> desc items;
Name Null? Type
ITEMID VARCHAR2(10)
ITEMCODE VARCHAR2(10)
ITEMPRICE NUMBER(10)
ITEMQUAN NUMBER(10)
Customer Database:
SQL> desc customerdb;
Name Null? Type
CUSTID VARCHAR2(10)
CUSTFNAME VARCHAR2(20)
CUSTLNAME VARCHAR2(20)
CUSTMOBNO NUMBER(10)
CUSTADD VARCHAR2(20)
I need to store for every customer the items he has purchased in a month. But if i add a items purchased by a customer to the customer table entries look this.
SQL> select * from customerdb;
CUSTID CUSTFNAME CUSTLNAME CUSTMOBNO CUSTADD ITEM ITEMPRICE ITEMQUANTITY
123 abc xyz 9988556677 a1/8,hill dales soap 10 1
123 abc xyz 9988556677 " toothbrush 18 1
I can create a itempurchase table similar to above table without columns custfname,csutlnamecustmobno,custadd
ItemPurchaseTable :
CUSTID ITEM ITEMPRICE ITEMQUANTITY
123 soap 10 1
123 toothbrush 18 1
ill just have it as follows. But still the CUSTID FK from CustomerDB repeats for every row. I dont know how to solve this issue. Please can anyone help me.
I need to map 1 customer to the many items he has purchased in a month.
Edited by: Yukta Lolap on Oct 8, 2012 10:58 PM
Edited by: Yukta Lolap on Oct 8, 2012 11:00 PMYou must seriously read and learn about Normalization of tables; It improves your database design (at times may increase or decrease performance, subjective cases) and eases the Understanding efforts for a new person.
See the below tables and compare to the tables you have created
create table customers
customer_id number primary key,
fname varchar2(50) not null,
mname varchar2(50),
lname varchar2(50) not null,
join_date date default sysdate not null,
is_active char(1) default 'N',
constraint chk_active check (is_active in ('Y', 'N')) enable
create table customer_address
address_id number primary key,
customer_id number not null,
line_1 varchar2(100) not null,
line_2 varchar2(100),
line_3 varchar2(100),
city varchar2(100) not null,
state varchar2(100) not null,
zip_code number not null,
is_active char(1) default 'N' not null,
constraint chk_add_active check (is_active in ('Y', 'N')),
constraint fk_cust_id foreign key (customer_id) references customers(customer_id)
create table customer_contact
contact_id number primary key,
address_id number not null,
area_code number,
landline number,
mobile number,
is_active char(1) default 'N' not null,
constraint chk_cont_active check (is_active in ('Y', 'N'))
constraint fk_add_id foreign key (address_id) references customer_address(address_id)
create table inventory
inventory_id number primary key,
item_code varchar2(25) not null,
item_name varchar2(100) not null,
item_price number(8, 2) default 0,
item_quantity number default 0,
constraint chk_item_quant check (item_quantity >= 0)
);You may have to improvise and adapt these tables according to your data and design to add or remove Columns/Constraints/Foreign Keys etc. I created them according to my understanding.
--Edit:- Added Purchases table and sample data;
create table purchases
purchase_id number primary key,
purchase_lot number unique key not null, --> Unique Key to map all the Purchases, at a time, for a customer
customer_id number not null,
item_code number not null,
item_price number(8,2) not null,
item_quantity number not null,
discount number(3,1) default 0,
purchase_date date default sysdate not null,
payment_mode varchar2(20),
constraint fk_cust_id foreign key (customer_id) references customers(customer_id)
insert into purchases values (1, 1001, 1, 'AZ123', 653, 10, 0, sysdate, 'Cash');
insert into purchases values (2, 1001, 1, 'AZ124', 225.5, 15, 2, sysdate, 'Cash');
insert into purchases values (3, 1001, 1, 'AZ125', 90, 20, 3.5, sysdate, 'Cash');
insert into purchases values (4, 1002, 2, 'AZ126', 111, 10, 0, sysdate, 'Cash');
insert into purchases values (5, 1002, 2, 'AZ127', 100, 10, 0, sysdate, 'Cash');
insert into purchases values (6, 1003, 1, 'AZ123', 101.25, 2, 0, sysdate, 'Cash');
insert into purchases values (7, 1003, 1, 'AZ121', 1000, 1, 0, sysdate, 'Cash');Edited by: Purvesh K on Oct 9, 2012 12:22 PM (Added Price Column and modified sample data.) -
How to backup more than one database using powershell
I am Trying to backup more than one database using the following script but no luck. I want user to type on command line the database they want to backup, e.g all databases that have "test" at the front like test.inventory, test.sales so i want
user to type test.* and it backs up all databases related to test. Here is the script
#$date = Get-Date -Format yyyyMMddHHmmss
#$dbname = 'test.inventory'
$dbToBackup = "test.inventory"
cls
[System.Reflection.Assembly]::LoadWithPartialName("Microsoft.SqlServer.SMO") | Out-Null
[System.Reflection.Assembly]::LoadWithPartialName("Microsoft.SqlServer.SmoExtended") |
Out-Null
[System.Reflection.Assembly]::LoadWithPartialName("Microsoft.SqlServer.ConnectionInfo")
| Out-Null
[System.Reflection.Assembly]::LoadWithPartialName("Microsoft.SqlServer.SmoEnum") | Out-
Null
Add-Type -AssemblyName "Microsoft.SqlServer.Smo, Version=10.0.0.0, Culture=neutral,
PublicKeyToken=89845dcd8080cc91"
$server = New-Object Microsoft.SqlServer.Management.Smo.Server($env:ComputerName)
$server.Properties["BackupDirectory"].Value = "C:\_DBbackups"
$server.Alter()
$backupDirectory = $server.Settings.BackupDirectory
#display default backup directory
"Default Backup Directory: " + $backupDirectory
$db = $server.Databases[$dbToBackup]
$dbName = $db.Name
$timestamp = Get-Date -format yyyyMMddHHmmss
$smoBackup = New-Object ("Microsoft.SqlServer.Management.Smo.Backup")
#BackupActionType specifies the type of backup.
#Options are Database, Files, Log
#This belongs in Microsoft.SqlServer.SmoExtended assembly
$smoBackup.Action = "Database"
$smoBackup.BackupSetDescription = "Full Backup of " + $dbName
$smoBackup.BackupSetName = $dbName + " Backup"
$smoBackup.Database = $dbName
$smoBackup.MediaDescription = "Disk"
$smoBackup.Devices.AddDevice($backupDirectory + "\" + $dbName + "_" + $timestamp +
".bak", "File")
$smoBackup.SqlBackup($server)
#let's confirm, let's list list all backup files
$directory = Get-ChildItem $backupDirectory
$backupFilesList = $directory | where {$_.extension -eq ".bak"}
$backupFilesList | Format-Table Name, LastWriteTimeOr i am using this script which backs up everything except tempdb but dont know how to modify this so that it backs up up all test related databases
Is there a way that i use test.*
[System.Reflection.Assembly]::LoadWithPartialName("Microsoft.SqlServer.SMO") | out-null
$s = new-object ("Microsoft.SqlServer.Management.Smo.Server") $instance
$bkdir = "C:\_DBbackups" #We define the folder path as a variable
$dbs = $s.Databases
foreach ($db in $dbs)
if($db.Name -ne "tempdb") #We don't want to backup the tempdb database
$dbname = $db.Name
$dt = get-date -format yyyyMMddHHmm #We use this to create a file name based on the timestamp
$dbBackup = new-object ("Microsoft.SqlServer.Management.Smo.Backup")
$dbBackup.Action = "Database"
$dbBackup.Database = $dbname
$dbBackup.Devices.AddDevice($bkdir + "\" + $dbname + "_db_" + $dt + ".bak", "File")
$dbBackup.SqlBackup($s) -
GR-GI printout for more than one item in one document
Hi Friends,
In my GR document, there are more than one materials receipted in one document. I am taking the printout of GR slip by assigning the printer in MB02 T-Code. And then through MB90 i am taking the printout. But in MB90 in the print preview, I can see only one item at a time. where as I have receipted more than one item in one document. In MB02 I have to assign the printer one by one to each item and in MB90 also i can see only one item in the GR slip. How can I take the printout of the of all the items in the GR document all at a time??????
Same is the case for Goods Issue slip. Here also i can see the print preview of only one item at a time.
Please advice.
Thanks & Regards
SatyaSatyabrata,
<b>In transaction "OMBR" define print version indicator as "3" for the transactions through which you are creating this material document</b> this basically defaults when performing the transaction. You can also set the indicator to collective in the intial screen of the transaction.
Defination of print version:
Version for printing of GR/GI slip, Specifies the version of the goods receipt/issue slip.
You can print out three different versions of a GR/GI slip:
<b>Individual slip (version 1)</b>
In this case, one GR/GI slip is printed out for each item.
<b>Individual slip with inspection text (version 2)</b>
In this case, one GR/GI slip is printed out for each item. In addition, a quality inspection text is printed if there is one in the material master record.
<b>Collective slip (version 3)</b>
In this case, a collective slip including all the items in a document is printed.
Hope this helps...
Regards,
Prasobh -
More than one user "using an expression" in a BPM Task
Hello,
I want to send a notification step for multiple users. I see two options
1. Choose one or more UME principals.
2. Use an expression.
However I have to send the notification for more than one user using an expression. I'm using this expression,
getPrincipal(DO_xyz)
but this only works for one user. I need something like this
getPrincipal(DO_xyz); getPrincipal(DO_xyz2); getPrincipal(DO_xyz3)
But this is not possible. I can't use a group because all this information is dynamic and it's born within the process.
Please, How can I solve this?
Best Regards
SUHello Abhijeet,
I've seen that I can use the getPrincipals adding in the XSD an string with 1..* cardinality. However I don't know how to map an attribute from the UITask to that new attribute in the XSD because in Web Dynpro I can't create an string with cardinality 1..*
I've tried to create a node (1..*) with a String inside in the UI but I couldn't map it to the process context, it shows me an error that I cannot map a node to a String.
Thanks
Regards
SU
Maybe you are looking for
-
New Symbol at the top of my 8900 to the left of the time display
Just came up today out of nowhere. It has the #1, then to the right is a small picture of a yellow globe....the same globe that is on the envelopes for email messages. I am just curious and cannnot figure it out. thanks, KPH
-
Why do I need to open an Adobe account to open attacnments now that I have a new printer?
Why do I need to open an Adobe account in order to open attachments?
-
Adding pages without adding menu buttons.
I've built a website with iweb: www.freedin.org. I want to add pages, underneath pages, that already exist, because I don't want a new menu button for each page I put up. Is there a way to layer the pages, like the layers of an onion, so that if you
-
I am trying to follow a std flow in Customers Online module. I see that none of the standard controllers are handling the page level events. Any idea as to what might be the idea behind this? Also I wanted to know If I have to add a new button in one
-
v_date varchar2(20); begin select to_char(sysdate,'dd_mon_yyyy') into v_date from dual; found this here http://www.orafusion.com/art_excel.htm