To add the object link at a time more than 13 line items
Dear All,
Can you help me regarding the below statment.
In object link in cv01n and cv02n t-code have limitation to add the object at a time 13 line items. If you add the more than 13 line items it takes time. If there is any provision to add the more than 13 line items at a time.
Thanks
Asutosh
Hi,
In transaction CV02N unfortunately this is not possible to enlarge the line number. To add a lot of objects to a document info record you may use DMS BAPI_DOCUMENT_CHANGE2. You can use BAPI_DOCUMENT_GETDETAIL2 to read out the current document data and then hand over to BAPI_DOCUMENT_CHANGE2, where you can add new objects in table 'OBJECTLINKS'.
Best regards,
Christoph
Similar Messages
-
Urgent run the job --SBIE0001 takes long time more than two hours
hi expert,
we run the job which cocntian the program SBIE0001 it takes so along time,
we use the job to eatra the date from our system to another satellite system, by checking the
job this is one step takes the mainly time as below.
88 LUWs confirmed and 88 LUWs to be deleted with function module RSC2_QOUT_CONFIRM_DATA
any update will be appreciated. thanks in advance.If you have transaction ME30 active in yous system, run the program into in.
It will give more information about how the time is lost. -
How to trigger Condition Access sequence multiple times for one line item?
Hi,
We have a situation that, User will enter a Promo code (custom Field) in Sales order Header Additional data B tab to apply discount for line items.
Logic goes like this:
1. For each Promo code .. there may be multiple sale deals (Max 3 at this point).
2. For each line item (refering to tkomp table) we have to apply the sale deals (found above) the Condition access sequence will pick the right sale deal to apply the line item.
3.we have enhanced the tkomp structure to hold the sale deal.
Challenge:
As we have the standard logic to trigger the condition access sequence once for each line item, how we can apply 3 sale deals for single line item. Is there any logic or way to trigger the condition access sequence multiple times for single line item with diffrent sale deals. ~ There may be one valid sale deal for one line.
Functional team maintained diffrent access tables in the access sequence!!!
Fnds, please help me to get some clue
Thanks,
Sunil YHi Eduardo , Thanks for the response.
I am trying to explain again, this is the requirment given by the functional guys.
we have Promo code in Hearder Addtional data B tab --> Have to retrieve Sale Deals -->
At this point of time we may have at max 3 Sale Deals. we don't know which sale deal is vallied for which item we have in TKOMP. We have enhanced the TKOMP structure to hold one sale deal only (ZZPROMO).
We have enhanced USEREXIT_PRICING_PREPARE_TKOMP in RV60AFZZ to populate the value in TKOMP. Then it will go for diffrent access sequence to find the proper condition.
Our challenge is that, for each line item we have 3 sale deals, we don't know which one is valid for which line. but we have to apply the vallied sale Deal to the line items. Line item 10 may have Sale Deal 2 , item 20 may have Sale Deal3 and 30 may have sale deal 1.
We may have solution, by fixing some thing in the code or through config. But i am confused that is it a valid requirment?
Please help me ...
Thanks,
Sunil Y -
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.) -
While using Status for Object button it is taking more than 15 mins to open
Hi Gurus,
We are trying to attach documents to ZBOS & OR types sales documents , while opening the Status for Object button of the sales order it is taking more than 15 mins to open , once it is opened it is working as normal.
can you please let us know is it the system functionality because of which it is taking so much time to open or the problem is with something else.
please let us also know whether it is system impacting process.
We are using 4.6C.
Thank You,
Boyeni.Hi Syed ,
Greetings!!!...
Thank you very much for your Swift response!.
could you be so kind to let me know The Program that needs to be refreshed.
Thank You once again for your Assistance.
Boyeni. -
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 -
How do I turn off the feature that allows the duplication of App downloads to more than one phone? As in my wife downloads an app and I get a dulpicate download on my phone.
To disable that feature it will depend on whether or not you sync everything in the cloud using Apple's iCloud, OR if you both use the same desktop/laptop computer with iTunes. Here is a link to the Apple support page in regards to the automatic download feature included with your iPhone and corresponding softwares such as iTunes.
http://support.apple.com/kb/ht4539
Follow those instructions and it will all be taken care of. -
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 -
How do you pass more than 3 items to another page via a Column Link?
I know this is a simple question, but I don't see it covered in the manual.
I have a report on page 1, when the user clicks on a column link, I'd like to pass 4 items to the page that is called.
The Column Link area allows you to specify 3 items. How do people normally accomplish this?
Do you somehow use page zero? Do you use Application Items for this purpose?
Also, can someone recommend a good APEX book to supplement the manuals?
ThankshI
Oh Varad I didnt know this, Thanks for a new tip ;)
Just change the target to URL and enter a simple statement
in the URL section
f?p=&APP_ID.:50:&SESSION.:10:&DEBUG.::P50_item1,P50_item2,P50_item3,P50_item4:value1,#column_name2#,#column_name3#,#column_name4#
Use value when u know a fixed value to be passed
and column names on the same report can be passes by using #column_name#
Hope this helps
Thanks
Ashri
Edited by: Ashri on Nov 14, 2008 8:34 AM -
Basically I cannot add more than 11 items on to a web app map. If I add more than 11 than the rest of the items appear of the coast of Africa for some reason. I am not sure why this happens but I was wondering if anyone else has had a similar problem and found a fix.
Basically I cannot add more than 11 items on to a web app map. If I add more than 11 than the rest of the items appear of the coast of Africa for some reason. I am not sure why this happens but I was wondering if anyone else has had a similar problem and found a fix.
-
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 -
How do you get the integer of a number with more than 10 digits
I can't seem to be able to get the integer of a number with more than 10 digits.
ex:
integer(12345678901.3) returns -539222987 when it should really return 12345678901
Thanks for the help
(I'm on director 11 at the moment)You can write a Parent script to represent Big Integers. I wrote some code to get you started. It consist of two classes - "BigInt" and "Digit". At this point you can only add two "BigInts" and print out the value with a toString() function. Note that you pass a String to the "BigInt" constructor.
In the message window you could enter something like:
x = script("BigInt").new("999999999999")
y = script("BigInt").new("100000000000000000004")
z = x.add(y)
put z.toString()
And the output window will show:
-- "100000001000000000003"
Here are the two Parent scripts / Classes
-- Digit
property val
property next
on new me, anInt
val = anInt
next = 0
return me
end new
-- BigInt
property Num
property StringRep
on new me, aString
Num = script("Digit").new(Integer(aString.char[aString.length]))
curNum = Num
repeat with pos = aString.length - 1 down to 1
curNum.next = script("Digit").new(Integer(aString.char[pos]))
curNum = curNum.next
end repeat
return me
end new
on add me , Num2
curNum = Num
curNum2 = Num2.Num
result = curNum.val + curNum2.val
if result > 9 then
carry = 1
else
carry = 0
end if
result = result mod 10
sum = script("Digit").new(result)
curSum = sum
curNum = curNum.next
curNum2 = curNum2.next
repeat while curNum.ObjectP AND curNum2.ObjectP
result = curNum.val + curNum2.val + carry
if result > 9 then
carry = 1
else
carry = 0
end if
result = result mod 10
curSum.next = script("Digit").new(result)
curSum = curSum.next
curNum = curNum.next
curNum2 = curNum2.next
end repeat
repeat while curNum.ObjectP
result = curNum.val + carry
if result > 9 then
carry = 1
else
carry = 0
end if
result = result mod 10
curSum.next = script("Digit").new(result)
curSum = curSum.next
curNum = curNum.next
end repeat
repeat while curNum2.ObjectP
result = curNum2.val + carry
if result > 9 then
carry = 1
else
carry = 0
end if
result = result mod 10
curSum.next = script("Digit").new(result)
curSum = curSum.next
curNum2 = curNum2.next
end repeat
StringRep = ""
me.makeString(sum)
return me.script.new(StringRep)
end add
on toString me
StringRep = ""
me.makeString(Num)
return StringRep
end toString
on makeString me, digit
if not digit then
return
end if
me.makeString(digit.next)
put String(digit.val) after StringRep
end makeString -
I accidently closed the window with all my frequently used app tabs, now the only window that opens was an extra one I had opened. How do I get back all my app tabs from the previous window, and why didn't it give me the usual warning you are closing more than one tab? edit
DetailsThen the (App) tabs from that window are lost unless you can restore an older copy of the sessionstore.js file (Time Machine?) that has that lost window.
*http://kb.mozillazine.org/sessionstore.js -
How to pass more than 3 Items in link of report attribute?
I have a report with edit link.
After user click link, then go to next page. I want to pass more than 3 items in this link, item 1 name=xxx and value=#xxx#.
How can I do this?
Thanks.Why wouldn't you pass item values through links...is it not why they were created?1. Item values may contain characters that are not URL safe in general ('#') or in APEX (':'), causing the link to fail.
2. Recognisable item values that are visible in the URL are a security issue, and invite URL tampering that in a poorly designed and implemented system may allow unauthorised access to data.
3. There are limits on the length of URL APEX, user agents and servers are capable of handling.
4. Lots of long URLs in links drives up page weight and bandwidth usage.
5. General housekeeping problems and maintainenance issues: think about going backwards and forwards in single-row APEX URL text item showing 60 chars when making changes to a 2000-character URL.
Best practice when passing parameters through a URL is to use as few as possible: preferably single, unique, "meaningless" sequence- or sys_guid-generated references. -
Select the same attribute in a query more than once
Hi Experts,
My requirement is to select the same attribute in a query more than once.
How can I acheive this?
Expecting an early solution..
PilligaHi,
Create a calculated attribute that just displays the "same attribute".
(Note: you will need to uniquely name this object).
For example, if you wish to display Emp Name twice in the same query, then create a calculated attribute called Emp Name2 and select it and Emp Name in your query and the same info will be displayed twice in your results set.
Cheers,
Tanish
Maybe you are looking for
-
Encoding in file sender adapter
Hi, I need to read a file which is 7-bit, I am trying to use File Encpding in the CC as - ASCII, but the data is the SXMB monitor is still not converted. Thanks, Naama
-
How can I open and copy files on the win side from the mac side?
I am working on the mac side and I need to be able to copy files from the mac side that I create over to the win side. I can open and view win files when I am booted to Snow Leopard, but I cant copy files to the win side. I think Macdrive does the
-
Downconvert file from version 10 to 8.2
Kindly downconvert attached file to Labview 8.2 version. Thanks in advance. Solved! Go to Solution. Attachments: t1.vi 43 KB
-
Where do I find the "use" pop-up menu to complete install
I am installing HP Officejet Pro 6830. Have followed all instructions and am in the "Add printer" step. I selected the "bonjour multifunction" entry and hit add. It then did a quick progress bar and goes back to the Add Printer window. Step 3 sta
-
I'm looking for an inkjet multifunction printer (normally I don't go for these, but due to the constrained space of the friend I'm making an exception) with 4 or more separate color ink cartridges with 10.4.11, 10.5, and XP Home compatible scanning a