Item Interface
Hi,
I'm learning Oracle Manufacturing. I need to load Items using Item Interface. I read that Import Item can be used to load from Interface tables into Manufacturing tables. I would like to know whether there is any similar process to load into Interface tables from the flat file.
Any help pls?
Thanks
GM
Thank you for your reply. I have written an sql loader pgm to load the items into the interface face table. And the used 'Import Items' to load the items into the Mtl_system_items_b
Thanks,
GM
Similar Messages
-
Item Interface error - "The Cost of Sales Account specified is not a valid"
A week back we migrated from 11.5.10 to 12.1.3
Since then, many items are failing in Item Interface with the error "The Cost of Sales Account specified is not a valid account or has expired in organization ITEM MASTER INV."
Item Master being the 'Inventory master organization'. I checked the cost of sales account & sales account. and they are Valid also their corresponding segments are valid in their respective value sets.
Log message for 'Item Import'
Import Items
Argument 1 (ORG_ID) = 167
Argument 2 (ALL_ORG) = 1
Argument 3 (VAL_ITEM_FLAG) = 1
Argument 4 (PRO_ITEM_FLAG) = 1
Argument 5 (DEL_REC_FLAG) = 1
Argument 6 (PROCESS_SET) = 77
Argument 7 (MODE) = 2
Argument 8 (Gather Stats) = 1
TRANSACTION ID : 42878726
ORGANIZATION ID : 174
TABLE NAME : MTL_SYSTEM_ITEMS_INTERFACE
COLUMN NAME : COST_OF_SALES_ACCOUNT
MESSAGE NAME : INV_IOI_ERR
ERROR MESSAGE : The Cost of Sales Account specified is not a valid account or has expired in organization ITEM MASTER INV.
TRANSACTION ID : 42878726
ORGANIZATION ID : 174
TABLE NAME : MTL_SYSTEM_ITEMS_INTERFACE
COLUMN NAME : SALES_ACCOUNT
MESSAGE NAME : INV_IOI_ERR
ERROR MESSAGE : The Sales Account specified is not valid or has expired for the organization ITEM MASTER INV.
Please help.The Cost_of_sales_account & Sales_account as defined in the MTL_PARAMETERS are different from those in MTL_SYSTEM_ITEMS_B for the corresponding item. The values for these accounts in the interface tables are same as that in the MTL_SYSTEM_ITEMS_B table and hence not same as those defined in MTL_PARAMETERS.
Actually we have a Custom trigger on the MTL_SYSTEM_ITEMS_B table which updates these accounts, once the item is created in the Master Organization.
To verify this issue, I updated the accounts on the MTL_SYSTEM_ITEMS_INTERFACE table to match with that of MTL_PARAMETERS. Ran the 'Item Import', now those records are processed.
Does this means that, the Interface is validating the cost_of_sales_account & sales_account to match with that of the 'Organization' ??.
But we never had this issue in 11i. Is this a part of R12?? -
Customer Item Open Interface Validation
Hi Folks,
I have to write package for customer item open interface ,
can anyone let me know what are the validation required or if any one have package written ,please share it with me .[email protected]
Waiting for your kind response.
Thanks in advance....
Regards
RPHi
Please find the code below for Customer Item Interface
HTH
Dinesh
declare
ex_not_ok exception ;
Cursor cur_cust_item is
select b.*,rowid from btl_cust_item b ;
rec_cur_cust_item cur_cust_item%rowtype;
vc_rowid varchar2(50);
vc_error_desc varchar2(2000);
vc_org_code varchar2(20) :='F02';
vc_org_id varchar2(20) ;
vc_inv_item number ;
vc_cust_id varchar2(50) ;
vc_create_by number;
vc_last_updated_by number;
vc_user_name varchar2(100);
vc_login_name varchar2(30) := '&1';
vc_master number;
begin
vc_org_id := &2 ;
vc_master := &3;
begin
select user_id ,last_updated_by ,user_name
into vc_create_by ,vc_last_updated_by , vc_user_name
from fnd_user
where user_name = vc_login_name;
end;
open cur_cust_item; -- open cursor
loop
begin
fetch cur_cust_item
INTO rec_cur_cust_item;
vc_rowid := rec_cur_cust_item.rowid;
exit when cur_cust_item%NOTFOUND;
-- perform the mandatory validations
-- 1. Check the validity of the customer
begin
select count(*)
into vc_cust_id
from ra_customers
where upper(customer_number) = upper(rec_cur_cust_item.customer_number);
if vc_cust_id > 0 then
null;
else
vc_error_desc := rec_cur_cust_item.customer_number||' '|| rec_cur_cust_item.customer_name ||' - Customer Number Does not Exist in Ra_customers';
raise ex_not_ok;
end if;
exception
when no_data_found then
update btl_cust_item
set process_flag = 'E',
error_message = 'XREF- Customer Does not exist '||vc_error_desc
where rowid = vc_rowid;
end ;
-- 2. Check that the Customer Item Is not Null
begin
if rec_cur_cust_item.customer_item_number is not null then
null;
else
vc_error_desc := rec_cur_cust_item.Customer_Number ||' - '|| rec_cur_cust_item.customer_item_number || ' - Customer Item has no value ';
raise ex_not_ok;
end if;
end;
-- 3. Validate the Inventory Item
begin
select count(*)
into vc_inv_item
from mtl_system_items a, org_organization_definitions b
where a.organization_id = b.organization_id
and rec_cur_cust_item.inventory_item = segment1
and a.organization_id = vc_org_id;
if vc_inv_item != 0 then
null;
else
vc_error_desc := 'Inventory Item '|| rec_cur_cust_item.inventory_item ||' is not valid/exist in mtl_system_item ';
raise ex_not_ok;
end if;
end;
rec_cur_cust_item.commodity_code := 'MISC';
insert into mtl_ci_interface (
PROCESS_FLAG ,
PROCESS_MODE ,
TRANSACTION_TYPE ,
CUSTOMER_NUMBER ,
CUSTOMER_NAME ,
CUSTOMER_ITEM_NUMBER ,
ITEM_DEFINITION_LEVEL ,
COMMODITY_CODE ,
INACTIVE_FLAG ,
LOCK_FLAG ,
LAST_UPDATE_DATE ,
LAST_UPDATED_BY ,
CREATION_DATE ,
CREATED_BY ,
--LAST_UPDATE_LOGIN ,
ERROR_CODE ,
ERROR_EXPLANATION
values
'1' , --PROCESS_FLAG
'1' , --PROCESS_MODE
'CREATE' , -- TRNASACTION_TYPE
rec_cur_cust_item.customer_number , --CUSTOMER_NUMBER
rec_cur_cust_item.customer_name , --CUSTOMER_NAME
rec_cur_cust_item.customer_item_number, --CUSTOMER_ITEM_NUMBER
'1' , --ITEM_DEFINATION_LEVEL
rec_cur_cust_item.commodity_code , --COMMODITY_CODE
'2' , --INACTIVE_FLAG
'N' , --LOCK_FLAG
sysdate , --LAST_UPDATE_DATE
vc_last_updated_by , --LAST_UPDATED_BY
sysdate , --CREATION_DATE
vc_create_by , --CREATED_BY
--'10' , --LAST_UPDATE_LOGIN
'N' , --ERROR_CODE
' ' --ERROR_EXPLANATION
Insert into mtl_ci_xrefs_interface (
PROCESS_FLAG ,
PROCESS_MODE ,
TRANSACTION_TYPE ,
CUSTOMER_NUMBER ,
CUSTOMER_NAME ,
CUSTOMER_ITEM_NUMBER ,
ITEM_DEFINITION_LEVEL ,
INVENTORY_ITEM ,
MASTER_ORGANIzATION_ID ,
PREFERENCE_NUMBER ,
INACTIVE_FLAG ,
LOCK_FLAG ,
LAST_UPDATE_DATE ,
LAST_UPDATED_BY ,
CREATION_DATE ,
CREATED_BY ,
--LAST_UPDATE_LOGIN ,
ERROR_CODE ,
ERROR_EXPLANATION
Values
'1' , --PROCESS_FLAG
'1' , --PROCESS_MODE
'CREATE' , --TRNSACTION_TYPE
rec_cur_cust_item.customer_number, --CUSTOMER_NUMBER
rec_cur_cust_item.customer_name , --CUSTOMER_NAME
rec_cur_cust_item.customer_item_number, --CUSTOMER_ITEM_NUMBER
'1' , --ITEM_DEFINATION_LEVEL
rec_cur_cust_item.inventory_item, --INVENTORY_ITEM
vc_master , --MASTER_ORGANISATION_ID
'1' , --PREFERENCE_NUMBER
'2' , --INACTIVE_FLAG
'N' , --LOCK_FLAG
sysdate , --LAST_UPDATE_DATE
vc_last_updated_by , --LAST_UPDATED_BY
sysdate , --CREATION_DATE
vc_create_by , --CREATED_BY
--'10' , --LAST_UPDATE_LOGIN
'N' , --ERROR_CODE
' ' --ERROR_EXPLANATION
--dbms_output.put_line( ' Inserting into reference table - done');
exception
when ex_not_ok then
update btl_cust_item
set process_flag = 'E',
error_message = 'XREF-'||vc_error_desc
where rowid = vc_rowid;
end ;
end loop;
commit;
begin
dbms_application_info.set_client_info(' ');
end;
dbms_output.put_line ( ' End time ' || to_char( sysdate, 'DD-MON-YYYY HH24:MI:SS'));
exception
when others then
dbms_output.put_line( Sqlcode || ' ' || Sqlerrm );
end ;
/ -
Guruz,
my scenario is,
I have inserted a record in item interface table with all mandatory columns + some other optional columns.
Now i'm running standard conc import progr for items.
but i'm getting following errors... especially the FIRST ERROR that i'm concentrating ...i'm not able to diagnose that,
TRANSACTION ID : 48
ORGANIZATION ID : 104
TABLE NAME : MTL_SYSTEM_ITEMS_INTERFACE
COLUMN NAME : ITEM_NUMBER
MESSAGE NAME : INV_IOI_ERR
ERROR MESSAGE : Value TESTITEM1 for the flexfield segment NHD_CUST/ITEM NUMBER does not exist in the value set SMC_CUST/ITEM_NUMBER. [?] :(
TRANSACTION ID : 49
ORGANIZATION ID : 104
TABLE NAME : MTL_ITEM_REVISIONS_INTERFACE
COLUMN NAME : ITEM_ID
MESSAGE NAME : INV_IOI_REV_NO_ITEM
ERROR MESSAGE : The revision entered is for an item that does not exist in MTL_SYSTEM_ITEMS nor MTL_SYSTEM_ITEMS_INTERFACE.
Unable to correctly update the history table - fnd_stats_hist.
-1 - ORA-00001: unique constraint (APPLSYS.FND_STATS_HIST_U1) violated
What can be done in this case ?
I'm running this on client's machine ... are there any possibilities of set up issues?
BECAUSE by following same process on my machine ..data is very well going to d base tables
Regards,
-sDJ
Edited by: user12863742 on May 24, 2011 6:44 PMLooks like your item master key flexfield has a value set attached to it.
The name of the value set seems to be SMC_CUST/ITEM_NUMBER.
You can check this by opening the system items kff in the Inventory responsibility.
The item number you are trying to create must exist as a value in this value set.
See if adding the item number to the value set helps.
Sandeep Gandhi -
11.5.10 ROI를 통해 SERIAL AND LOT CONTROLLED ITEMS을 처리하는 방법
제품: Applications
작성날짜 : 2006-05-30
11.5.10 ROI를 통해 SERIAL AND LOT CONTROLLED ITEMS을 처리하는 방법
========================================================
PURPOSE
11.5.10 Receiving Open Interface(ROI)를 통해 Serial and Lot Controlled Items을 처리하기 위해 어떤 interface table들이 사용되는지에 대해 기술함.
Explanation
the Receiving Open Interface (ROI)를 통해 Serial and Lot Controlled Items에 대한 Delivery, Correction, Return등의 process를 수행하기 위해서는 다음 table들에 data가 존재하여야 합니다.
- rcv_headers_interface
- rcv_transactions_interface
- mtl_transaction_lots_interface
- mtl_transaction_serial_numbers_interface
<참고>
이와 같은 기능은 11.5.10/11i.SCM_PF.J/11i.PRC_PF.J 에서 제공되는 신기능으로써 이전 version으로의 backport는 불가능합니다.
Example
1) If Item is Serial Controlled only:
INSERT INTO MTL_SERIAL_NUMBERS_INTERFACE (
TRANSACTION_INTERFACE_ID,
LAST_UPDATE_DATE,
LAST_UPDATED_BY,
CREATION_DATE,
CREATED_BY,
LAST_UPDATE_LOGIN,
FM_SERIAL_NUMBER,
TO_SERIAL_NUMBER,
PRODUCT_CODE,
PRODUCT_TRANSACTION_ID) --link to rcv_transactions_interface
VALUES
(MTL_MATERIAL_TRANSACTIONS_S.NEXTVAL,
sysdate,
1,
sysdate,
1,
1,
'sr000016',
'sr000016',
'RCV',
RCV_TRANSACTIONS_INTERFACE_S.CURRVAL); --same as
rcv_transactions_interface.interface_transaction_id
2) If Item is Lot Controlled only:
INSERT INTO MTL_TRANSACTION_LOTS_INTERFACE (
TRANSACTION_INTERFACE_ID,
LAST_UPDATE_DATE,
LAST_UPDATED_BY,
CREATION_DATE,
CREATED_BY,
LAST_UPDATE_LOGIN,
LOT_NUMBER,
TRANSACTION_QUANTITY,
PRIMARY_QUANTITY,
PRODUCT_CODE,
PRODUCT_TRANSACTION_ID) --link to rcv_transactions_interface
VALUES
(MTL_MATERIAL_TRANSACTIONS_S.NEXTVAL,
sysdate,
1,
sysdate,
1,
1,
'lt2002',
1,
1,
'RCV',
RCV_TRANSACTIONS_INTERFACE_S.CURRVAL); --same as
rcv_transactions_interface.interface_transaction_id
3) If Item is both Serial and Lot Controlled:
INSERT INTO MTL_SERIAL_NUMBERS_INTERFACE (
TRANSACTION_INTERFACE_ID,
LAST_UPDATE_DATE,
LAST_UPDATED_BY,
CREATION_DATE,
CREATED_BY,
LAST_UPDATE_LOGIN,
FM_SERIAL_NUMBER,
TO_SERIAL_NUMBER,
PRODUCT_CODE,
PRODUCT_TRANSACTION_ID) --link to rcv_transactions_interface
VALUES
(MTL_MATERIAL_TRANSACTIONS_S.NEXTVAL,
sysdate,
1,
sysdate,
1,
1,
'sr000016',
'sr000016',
'RCV',
RCV_TRANSACTIONS_INTERFACE_S.CURRVAL); --same as
rcv_transactions_interface.interface_transaction_id
INSERT INTO MTL_TRANSACTION_LOTS_INTERFACE (
TRANSACTION_INTERFACE_ID,
LAST_UPDATE_DATE,
LAST_UPDATED_BY,
CREATION_DATE,
CREATED_BY,
LAST_UPDATE_LOGIN,
LOT_NUMBER,
TRANSACTION_QUANTITY,
PRIMARY_QUANTITY,
SERIAL_TRANSACTION_TEMP_ID, --link to mtl_serial_numbers_interface
PRODUCT_CODE,
PRODUCT_TRANSACTION_ID) --link to rcv_transactions_interface
VALUES
(MTL_MATERIAL_TRANSACTIONS_S.NEXTVAL,
sysdate,
1,
sysdate,
1,
1,
'lt2002',
1,
1,
MTL_MATERIAL_TRANSACTIONS_S.CURRVAL, --link to mtl_serial_numbers_interface
'RCV',
RCV_TRANSACTIONS_INTERFACE_S.CURRVAL); --same as
rcv_transactions_interface.interface_transaction_id
Reference Documents
Note#301281.1hi
enable Readahead from systemd
https://wiki.archlinux.org/index.php/Systemd#Readahead
# systemctl enable systemd-readahead-collect systemd-readahead-replay -
What is meant by CREATE PIM ATTRIBUTE FOR ITEM
Hi,
I'm working on a code for item interface in R12, could you let me know on below:
1) What is meant by Creating PIM Attribute for Item
2) what is the use of ego_user_attr_row_obj
Thanks."Create" means that the Time Capsule will broadcast a wireless signal. Other devices like computers, iPad, iPhones will be able to connect to this wireless network.
"Extend" is used by a remote device to provide additional wireless coverage.
If you have a Time Capsule "creating a network", then you could use another Apple device like an AirPort Extreme or AirPort Express in a remote location to "extend" the network and provide more wireless coverage in that area. -
Copy items to large number of users
I am a wee bit new to ARD and have (what I'm sure is) an easy question. I'm trying to copy a file to a specific path inside each user's home folder. is there a way to do this in ARD without having to type in each user's LDAP account name in each of the paths?
This is ABSOLUTELY possible.
We used this at my school to copy files to a PARTITION which was not the boot disk.
The ARD computer is turned off and unaccessible at the moment, but the functionality is in the COPY ITEMS interface.
Select a group of computers in the Scanner, add them to All Computers. Select the Targets and then choose the COPY button on the top of the screen. The first PULLDOWN menu has a choice which will let you enter a PATH to a directory.
To get the path, I used ARD to control one of the targets and I then dragged the partition into Terminal to get its path as Text. I copied that on the client, then exported the clipboard to the ARD control machine and then I could use the path to target the copy.
Of course, the partition and path name need to be the same on all the client computers.
Good luck. This is DEFINITELY POSSIBLE.
Just a caveat though, it uses MULTICASTING to broadcast the files out over your entire network. We have IP phones here and trying to push out 50GB of data as multicast is crashing our phones. I'm searching this message board to find a way to PREVENT MULTICASTING. -
ITMS only updating items partially
Has anyone noticed any problems with ITMS updating their episode listings partially?
I added an episode to my podcast with information in the "iTunes Summary" and iTunes Description" fields (it's usually the same). But ITMS is listing the new episode with old information in those fields ... from another episode that has been removed.
I'm using Feeder if that helps.
Does anyone have any ideas?
Curtis
G4 Powerbook Mac OS X (10.3.9)<BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Kiberly Smith ([email protected]):
Has anyone used the Open Item Interface in order to process updates to items within the Inventory Item Master?
The OIT documentation seems to indicate that items can only be created through the Item OIT, but I've heard that a TRANSACTION_TYPE of UPDATE in the MTL_SYSTEM_ITEMS_INTERFACE table will work. Will this work?<HR></BLOCKQUOTE>
Please download the patch 1166544 and 1000764.
When you start the INCOIN (Import items) you must have the parameter Create_update with "1" for create or "2" for update (update is without costing).
Please read the following Docs :
Note:98359.1
Note:109628.1
Note:98701.1
Note:114393.1
null -
2 SEGMENTS ITEM NAME FORMAT을 1 SEGMENT ITEM NAME FORMAT로 변경 방법
제품 : MFG_INV
작성날짜 : 2005-05-06
2 SEGMENTS ITEM NAME FORMAT을 1 SEGMENT ITEM NAME FORMAT로 변경 방법
=====================================================================
PURPOSE
System Items Key Flexfield setup시 2 segments item name format을 이용하
였으나 이 후 business 변경에 따라 item name format이 변경되는 경우가
발생한다. 이런 경우 이 note를 참조하여 item name segment를 변경할 수
있다.
Problem Description
Inventory item name은 아래의 procedures에 따라 2 segment value에서 1
segment value로 변경될 수 있다.
1. Segment1에 prefix를 더하여 value를 변경하고, segment2를 null 시킨다.
using a sql script:
(example)
update mtl_system_items_b
set segment1 = concat(segment1,'.&suffix'),
segment2 = null
where segment2 = '&seg2value';
2. System items KFF segment definition에서 segment2를 delete하고 KFF를
recompile 한다.
Workaround
Solution Description
이 접근방법은 development로부터 확인받은 것이다.
1. Open Item Interface process는 item names update는 지원하지 않으므로
update script는 item name을 변경하기 위해 이용될 수 있다.
이 script를 이용하기 전에 아래의 내용을 확정한다.
-. Updating the segment1 with concat(segment1,',&suffix')
Client는 새로운 value가 segment1과 연관된 valueset을 만족시키는지
확인할 필요가 있다.
-. Segment2가 null이 되어도 문제가 없는지 확인해야 한다.
Item KFF definition에서 segment2가 현재 'Required'로 setting되어
있는지 점검한다.
2. mtl_system_items_b table에서 item 값을 update 한 후 systen item KFF
definition에서 segment2를 delete 후 KFF를 recompile 한다.
위 모든 변경 사항은 먼저 TEST instance에서 test 해야 한다.
TEST instance에서 성공적으로 test 된 후에야 TEST instance와 동일한 다른
instance에 적용할 수 있다.
Reference Documents
Note 282045.1The Cost_of_sales_account & Sales_account as defined in the MTL_PARAMETERS are different from those in MTL_SYSTEM_ITEMS_B for the corresponding item. The values for these accounts in the interface tables are same as that in the MTL_SYSTEM_ITEMS_B table and hence not same as those defined in MTL_PARAMETERS.
Actually we have a Custom trigger on the MTL_SYSTEM_ITEMS_B table which updates these accounts, once the item is created in the Master Organization.
To verify this issue, I updated the accounts on the MTL_SYSTEM_ITEMS_INTERFACE table to match with that of MTL_PARAMETERS. Ran the 'Item Import', now those records are processed.
Does this means that, the Interface is validating the cost_of_sales_account & sales_account to match with that of the 'Organization' ??.
But we never had this issue in 11i. Is this a part of R12?? -
Is there any interface table through which we can load the master items? What is the procedure?
Yes - it is called the Open Item Interface - pl see these MOS Docs
50563.1 - Oracle Inventory FAQ - Item Open Interface
115557.1 - Item Open Interface Setup and How-To
and product documentation at http://www.oracle.com/technology/documentation/applications.html
HTH
Srini -
Integration of Financials with external systems
Hi,
I am strugling with an implementation where the client is not sure if Oracle Financials suits his business processes
Overview of situation on Hand:
We do not have the product installed as yet at the client site
Products of Oracle Financials to be used :General Ledger, Account Receivable, Account Payable, Fixed Assets,India Localization Patch
Products of Oracle Applications NOT available for use :
Purchasing, Inventory, Order Management
(All these areas are being covered by developing a customized Bespoke system)
1. Is it possible to use Oracle India Localizations (with regards to the excise functionality, for e.g. claiming of ModVat, the various excise registers that are to be maintained for e.g. RG23 A, RG23C,etc ) in the above situation (without implementing Purchasing, Inventory, and Order Management?).
2. Further, while passing the Vendor’s Bills (in Oracle Payables), one of the criteria for PO Matching is to check if the ModVat has been claimed. Is this functionality available in Payables with the India localization patch?
3. Does Oracle India localization cater for VAT requirements?
4. Is an Open Interface available to transfer Purchase Order data from external systems to Oracle Purchasing tables (which are shared by Oracle Payables the names being PO_HEADERS, PO_LINES, PO_LINES_LOCATIONS, PO_DISTRIBUTIONS, PO_DISTRIBUTIONS_AP_V (VIEW OF PO_DISTRIBUTIONS), PO_RELEASES (Blanket Purchase Orders), PO_LOOKUP_CODES) at transactional frequency? However, if the oracle purchasing module is not being used, can the interface tables of Purchasing be used?
5. An open interface (Payables Open Interface) is available in Oracle Payables to import the Invoices from external systems. While importing these invoices, does the system expect to have the Purchase Order data in the PO tables mentioned in the point above?
6. Is an Open Interface available to transfer Quantity Received/Accepted data from external systems to PO_line_locations table to enable carrying out of 2/3/4 way matching of Purchase orders with invoices? Can the 4 way mathcing be carried out in AP by just importing Purchase Order data??
7. Can the Credit Card Transaction Interface be used for uploading employee expenses / advances settlement (not carried out via credit card) directly from feeder system?
8. Is it possible to use Open Item interface (including import concurrent program) even though Inventory module is not being installed ? If yes, then we would like to use this interface for updating Item master from bespoke system..
9. Can Auto Invoice API be used to import invoices from feeder system / legacy system (via RA interface Tables) into the Oracle receivable invoice tables? Is order number as column a prerequisite for successful completion of Auto Invoice API?
10. Where should the Masters be kept....OF of Bespoke
eg. Employee master, Inventory Item Master etc.
11. What is the best strategy for keeping the data in Bepoke and OF related to Masters in sync?
I have got various answers to these questions .....but some seem to contradict each other.
PLEASE HELP!!
Thanks,
KamanaDear Kamana,
Can you send me the replies given by our other Forum Friends, let me analyze the entire stuff and get back to you with a single consolidated bible for all your questions.
Gopal -
Hi,
I have created a simple smart form.
what it does is, it prints the material document number.
when im trying to see the preview of the smart form, it is showing &w_mkpf-mblnr& , but not the value of it.
When i tried to debug it, i found out that , in the table STXFTXT the value of TDLINE is "<(>&<)>w_mkpf-mblnr<(>&<)>" . But it actually should be "&w_mkpf-mblnr&" .
Can anyone tell me what the actual problem is and the solution of it.
Here is the smartform that i downloaded.(at the bottom, i have attached the program also)
<?xml version="1.0" encoding="utf-8" ?>
- <sf:SMARTFORM xmlns:sf="urn:sap-com:SmartForms:2000:internal-structure" xmlns="urn:sap-com:sdixml-ifr:2000" sf:language="EN">
- <HEADER>
<FORMNAME>ZSUM_SMART</FORMNAME>
<CAPTION>Smart form</CAPTION>
<MASTERLANG>E</MASTERLANG>
<LANGVECTOR>*</LANGVECTOR>
<DEVCLASS>$TMP</DEVCLASS>
<VERSION>00001</VERSION>
<FIRSTUSER>TALASILAS</FIRSTUSER>
<FIRSTDATE>2008-01-16</FIRSTDATE>
<FIRSTTIME>10:31:54</FIRSTTIME>
<LASTUSER>TALASILAS</LASTUSER>
<LASTDATE>2008-01-16</LASTDATE>
<LASTTIME>10:37:48</LASTTIME>
</HEADER>
- <INTERFACE>
- <item>
<IOTYPE>E</IOTYPE>
<NAME>DOCUMENT_OUTPUT_INFO</NAME>
<TYPING>TYPE</TYPING>
<TYPENAME>SSFCRESPD</TYPENAME>
<BYVALUE>X</BYVALUE>
<STANDARD>X</STANDARD>
</item>
- <item>
<IOTYPE>E</IOTYPE>
<NAME>JOB_OUTPUT_INFO</NAME>
<TYPING>TYPE</TYPING>
<TYPENAME>SSFCRESCL</TYPENAME>
<BYVALUE>X</BYVALUE>
<STANDARD>X</STANDARD>
</item>
- <item>
<IOTYPE>E</IOTYPE>
<NAME>JOB_OUTPUT_OPTIONS</NAME>
<TYPING>TYPE</TYPING>
<TYPENAME>SSFCRESOP</TYPENAME>
<BYVALUE>X</BYVALUE>
<STANDARD>X</STANDARD>
</item>
- <item>
<IOTYPE>I</IOTYPE>
<NAME>ARCHIVE_INDEX</NAME>
<TYPING>TYPE</TYPING>
<TYPENAME>TOA_DARA</TYPENAME>
<OPTIONAL>X</OPTIONAL>
<BYVALUE>X</BYVALUE>
<STANDARD>X</STANDARD>
</item>
- <item>
<IOTYPE>I</IOTYPE>
<NAME>ARCHIVE_INDEX_TAB</NAME>
<TYPING>TYPE</TYPING>
<TYPENAME>TSFDARA</TYPENAME>
<OPTIONAL>X</OPTIONAL>
<BYVALUE>X</BYVALUE>
<STANDARD>X</STANDARD>
</item>
- <item>
<IOTYPE>I</IOTYPE>
<NAME>ARCHIVE_PARAMETERS</NAME>
<TYPING>TYPE</TYPING>
<TYPENAME>ARC_PARAMS</TYPENAME>
<OPTIONAL>X</OPTIONAL>
<BYVALUE>X</BYVALUE>
<STANDARD>X</STANDARD>
</item>
- <item>
<IOTYPE>I</IOTYPE>
<NAME>CONTROL_PARAMETERS</NAME>
<TYPING>TYPE</TYPING>
<TYPENAME>SSFCTRLOP</TYPENAME>
<OPTIONAL>X</OPTIONAL>
<BYVALUE>X</BYVALUE>
<STANDARD>X</STANDARD>
</item>
- <item>
<IOTYPE>I</IOTYPE>
<NAME>MAIL_APPL_OBJ</NAME>
<TYPING>TYPE</TYPING>
<TYPENAME>SWOTOBJID</TYPENAME>
<OPTIONAL>X</OPTIONAL>
<BYVALUE>X</BYVALUE>
<STANDARD>X</STANDARD>
</item>
- <item>
<IOTYPE>I</IOTYPE>
<NAME>MAIL_RECIPIENT</NAME>
<TYPING>TYPE</TYPING>
<TYPENAME>SWOTOBJID</TYPENAME>
<OPTIONAL>X</OPTIONAL>
<BYVALUE>X</BYVALUE>
<STANDARD>X</STANDARD>
</item>
- <item>
<IOTYPE>I</IOTYPE>
<NAME>MAIL_SENDER</NAME>
<TYPING>TYPE</TYPING>
<TYPENAME>SWOTOBJID</TYPENAME>
<OPTIONAL>X</OPTIONAL>
<BYVALUE>X</BYVALUE>
<STANDARD>X</STANDARD>
</item>
- <item>
<IOTYPE>I</IOTYPE>
<NAME>OUTPUT_OPTIONS</NAME>
<TYPING>TYPE</TYPING>
<TYPENAME>SSFCOMPOP</TYPENAME>
<OPTIONAL>X</OPTIONAL>
<BYVALUE>X</BYVALUE>
<STANDARD>X</STANDARD>
</item>
- <item>
<IOTYPE>I</IOTYPE>
<NAME>USER_SETTINGS</NAME>
<TYPING>TYPE</TYPING>
<TYPENAME>TDBOOL</TYPENAME>
<OPTIONAL>X</OPTIONAL>
<BYVALUE>X</BYVALUE>
<DEFAULTVAL>'X'</DEFAULTVAL>
<STANDARD>X</STANDARD>
</item>
- <item>
<IOTYPE>X</IOTYPE>
<NAME>FORMATTING_ERROR</NAME>
<STANDARD>X</STANDARD>
</item>
- <item>
<IOTYPE>X</IOTYPE>
<NAME>INTERNAL_ERROR</NAME>
<STANDARD>X</STANDARD>
</item>
- <item>
<IOTYPE>X</IOTYPE>
<NAME>SEND_ERROR</NAME>
<STANDARD>X</STANDARD>
</item>
- <item>
<IOTYPE>X</IOTYPE>
<NAME>USER_CANCELED</NAME>
<STANDARD>X</STANDARD>
</item>
- <item>
<IOTYPE>T</IOTYPE>
<NAME>ITAB1</NAME>
<TYPING>LIKE</TYPING>
<TYPENAME>MKPF</TYPENAME>
</item>
</INTERFACE>
- <GDATA>
- <item>
<NAME>W_MKPF</NAME>
<TYPING>TYPE</TYPING>
<TYPENAME>MKPF</TYPENAME>
</item>
</GDATA>
- <sf:VARHEADER>
- <sf:item>
<PAGEFORMAT>DINA4</PAGEFORMAT>
<CPI>10.00</CPI>
<LPI>6.00</LPI>
<STDSTYLE>SYSTEM</STDSTYLE>
- <sf:PAGETREE>
- <sf:NODE>
<NODETYPE>RP</NODETYPE>
- <sf:SUCC>
- <sf:item>
- <sf:NODE>
<NODETYPE>PA</NODETYPE>
- <sf:OBJ>
- <sf:PAGE>
- <NAME>
<INAME>%PAGE1</INAME>
</NAME>
<CAPTION>New Page</CAPTION>
- <NEXTPAGE>
<INAME>%PAGE1</INAME>
</NEXTPAGE>
<NUMB_MODE>I</NUMB_MODE>
<NUMB_TYPE>A</NUMB_TYPE>
<PAGEORTN>P</PAGEORTN>
- <T_CAPTION>
- <item>
<LANGU>E</LANGU>
<FORMNAME>ZSUM_SMART</FORMNAME>
<OBJTYPE>PA</OBJTYPE>
<INAME>%PAGE1</INAME>
<CAPTION>New Page</CAPTION>
</item>
</T_CAPTION>
</sf:PAGE>
</sf:OBJ>
- <sf:SUCC>
- <sf:item>
- <sf:NODE>
<NODETYPE>WI</NODETYPE>
- <sf:OBJ>
- <sf:WINDOW ID="484">
- <NAME>
<INAME>MAIN</INAME>
</NAME>
<CAPTION>Main Window</CAPTION>
<WTYPE>M</WTYPE>
- <T_CAPTION>
- <item>
<LANGU>E</LANGU>
<FORMNAME>ZSUM_SMART</FORMNAME>
<OBJTYPE>WI</OBJTYPE>
<INAME>MAIN</INAME>
<CAPTION>Main Window</CAPTION>
</item>
</T_CAPTION>
- <sf:PROC_CTRL>
- <sf:NODE ID="508">
<NODETYPE>RC</NODETYPE>
- <sf:SUCC>
- <sf:item>
- <sf:NODE>
<NODETYPE>SE</NODETYPE>
- <sf:OBJ>
- <sf:SECTION>
- <NAME>
<INAME>%TABLE1</INAME>
</NAME>
<CAPTION>New Table 1</CAPTION>
<SECTTYPE>C</SECTTYPE>
<DATATYPE>L</DATATYPE>
<TABNAME>ITAB1</TABNAME>
<TABHTYPE>I</TABHTYPE>
<TABHEADER>W_MKPF</TABHEADER>
<OTABTYPE>D</OTABTYPE>
<OTABHEADER>A</OTABHEADER>
<OTABFOOTER>A</OTABFOOTER>
<FHEIGHT>1.00</FHEIGHT>
<U_FHEIGHT>CM</U_FHEIGHT>
- <PATTERN>
<PATTNUM>0000</PATTNUM>
<FRAME>0.00</FRAME>
<U_FRAME>PT</U_FRAME>
</PATTERN>
<USEBORDER>X</USEBORDER>
<WIDTH>16.00</WIDTH>
<U_WIDTH>CM</U_WIDTH>
<APPMODE>L</APPMODE>
<U_LEFT>CM</U_LEFT>
<U_TOP>CM</U_TOP>
<U_SB>CM</U_SB>
<U_SA>CM</U_SA>
- <DYNLINES>
- <item>
<NAME>LTYPE1</NAME>
<DEFAULTVAL>X</DEFAULTVAL>
<SHADING>000</SHADING>
</item>
</DYNLINES>
- <CELLS>
- <item>
<NAME>LTYPE1</NAME>
<COLUMNNR>001</COLUMNNR>
<CWIDTH>16.00</CWIDTH>
<U_CWIDTH>CM</U_CWIDTH>
<SHADING>000</SHADING>
- <BORDERS>
- <item>
<IDX>001</IDX>
<INTENSITY>000</INTENSITY>
<LLEFT>0.00</LLEFT>
<LLEFT_U>MM</LLEFT_U>
<LTOP>0.00</LTOP>
<LTOP_U>MM</LTOP_U>
<LRIGHT>0.00</LRIGHT>
<LRIGHT_U>MM</LRIGHT_U>
<LBOTTOM>0.00</LBOTTOM>
<LBOTTOM_U>MM</LBOTTOM_U>
- <FILLCOLOR>
<RED>000</RED>
<GREEN>000</GREEN>
<BLUE>000</BLUE>
</FILLCOLOR>
- <CLEFT>
<RED>000</RED>
<GREEN>000</GREEN>
<BLUE>000</BLUE>
</CLEFT>
- <CTOP>
<RED>000</RED>
<GREEN>000</GREEN>
<BLUE>000</BLUE>
</CTOP>
- <CRIGHT>
<RED>000</RED>
<GREEN>000</GREEN>
<BLUE>000</BLUE>
</CRIGHT>
- <CBOTTOM>
<RED>000</RED>
<GREEN>000</GREEN>
<BLUE>000</BLUE>
</CBOTTOM>
</item>
</BORDERS>
</item>
</CELLS>
- <T_CAPTION>
- <item>
<LANGU>E</LANGU>
<FORMNAME>ZSUM_SMART</FORMNAME>
<OBJTYPE>SE</OBJTYPE>
<INAME>%TABLE1</INAME>
<CAPTION>New Table 1</CAPTION>
</item>
</T_CAPTION>
</sf:SECTION>
</sf:OBJ>
- <sf:SUCC>
- <sf:item>
- <sf:NODE>
<NODETYPE>EV</NODETYPE>
- <sf:OBJ>
- <sf:EVENT>
- <NAME>
<INAME>%EVENT1</INAME>
</NAME>
<CAPTION>Header</CAPTION>
<EVTYPE>H</EVTYPE>
- <T_CAPTION>
- <item>
<LANGU>E</LANGU>
<FORMNAME>ZSUM_SMART</FORMNAME>
<OBJTYPE>EV</OBJTYPE>
<INAME>%EVENT1</INAME>
<CAPTION>Header</CAPTION>
</item>
</T_CAPTION>
</sf:EVENT>
</sf:OBJ>
- <sf:SUCC>
- <sf:item>
- <sf:NODE>
<NODETYPE>SE</NODETYPE>
- <sf:OBJ>
- <sf:SECTION>
- <NAME>
<INAME>%ROW1</INAME>
</NAME>
<CAPTION>New Line 1</CAPTION>
<SECTTYPE>R</SECTTYPE>
<U_FHEIGHT>CM</U_FHEIGHT>
- <PATTERN>
<PATTNUM>0000</PATTNUM>
<FRAME>0.00</FRAME>
<U_FRAME>PT</U_FRAME>
</PATTERN>
<U_WIDTH>CM</U_WIDTH>
<U_LEFT>CM</U_LEFT>
<U_TOP>CM</U_TOP>
<U_SB>CM</U_SB>
<U_SA>CM</U_SA>
- <T_CAPTION>
- <item>
<LANGU>E</LANGU>
<FORMNAME>ZSUM_SMART</FORMNAME>
<OBJTYPE>SE</OBJTYPE>
<INAME>%ROW1</INAME>
<CAPTION>New Line 1</CAPTION>
</item>
</T_CAPTION>
</sf:SECTION>
</sf:OBJ>
- <sf:OUTATTR>
- <sf:OUTATTR>
- <NAME>
<INAME>%OUTATTRIB2</INAME>
</NAME>
<T_NEWLINE>X</T_NEWLINE>
<T_LINETYPE>LTYPE1</T_LINETYPE>
<U_WFRAME>PT</U_WFRAME>
<U_WBOXV>CM</U_WBOXV>
<U_WBOXH>CM</U_WBOXH>
<U_WLEFT>CM</U_WLEFT>
<U_WWIDTH>CM</U_WWIDTH>
<U_WTOP>CM</U_WTOP>
<U_WHEIGHT>CM</U_WHEIGHT>
- <BORDER>
- <LEFTATTR>
<THICKNESS>0.00</THICKNESS>
<THICKNESSU>PT</THICKNESSU>
<DISTANCE>0.00</DISTANCE>
<DISTANCEU>CM</DISTANCEU>
- <COLOR>
<RED>000</RED>
<GREEN>000</GREEN>
<BLUE>000</BLUE>
<TRANS>000</TRANS>
</COLOR>
</LEFTATTR>
- <TOPATTR>
<THICKNESS>0.00</THICKNESS>
<THICKNESSU>PT</THICKNESSU>
<DISTANCE>0.00</DISTANCE>
<DISTANCEU>CM</DISTANCEU>
- <COLOR>
<RED>000</RED>
<GREEN>000</GREEN>
<BLUE>000</BLUE>
<TRANS>000</TRANS>
</COLOR>
</TOPATTR>
- <RIGHTATTR>
<THICKNESS>0.00</THICKNESS>
<THICKNESSU>PT</THICKNESSU>
<DISTANCE>0.00</DISTANCE>
<DISTANCEU>CM</DISTANCEU>
- <COLOR>
<RED>000</RED>
<GREEN>000</GREEN>
<BLUE>000</BLUE>
<TRANS>000</TRANS>
</COLOR>
</RIGHTATTR>
- <BOTTOMATTR>
<THICKNESS>0.00</THICKNESS>
<THICKNESSU>PT</THICKNESSU>
<DISTANCE>0.00</DISTANCE>
<DISTANCEU>CM</DISTANCEU>
- <COLOR>
<RED>000</RED>
<GREEN>000</GREEN>
<BLUE>000</BLUE>
<TRANS>000</TRANS>
</COLOR>
</BOTTOMATTR>
</BORDER>
- <T_CAPTION>
- <item>
<LANGU>E</LANGU>
<FORMNAME>ZSUM_SMART</FORMNAME>
<OBJTYPE>OA</OBJTYPE>
<INAME>%OUTATTRIB2</INAME>
</item>
</T_CAPTION>
</sf:OUTATTR>
</sf:OUTATTR>
- <sf:SUCC>
- <sf:item>
- <sf:NODE>
<NODETYPE>SE</NODETYPE>
- <sf:OBJ>
- <sf:SECTION>
- <NAME>
<INAME>%CELL1</INAME>
</NAME>
<CAPTION>New Column 1</CAPTION>
<SECTTYPE>E</SECTTYPE>
<U_FHEIGHT>CM</U_FHEIGHT>
- <PATTERN>
<PATTNUM>0000</PATTNUM>
<FRAME>0.00</FRAME>
<U_FRAME>PT</U_FRAME>
</PATTERN>
<U_WIDTH>CM</U_WIDTH>
<U_LEFT>CM</U_LEFT>
<U_TOP>CM</U_TOP>
<U_SB>CM</U_SB>
<U_SA>CM</U_SA>
- <T_CAPTION>
- <item>
<LANGU>E</LANGU>
<FORMNAME>ZSUM_SMART</FORMNAME>
<OBJTYPE>SE</OBJTYPE>
<INAME>%CELL1</INAME>
<CAPTION>New Column 1</CAPTION>
</item>
</T_CAPTION>
</sf:SECTION>
</sf:OBJ>
- <sf:OUTATTR>
- <sf:OUTATTR>
- <NAME>
<INAME>%OUTATTRIB3</INAME>
</NAME>
<T_NEWCELL>X</T_NEWCELL>
<U_WFRAME>PT</U_WFRAME>
<U_WBOXV>CM</U_WBOXV>
<U_WBOXH>CM</U_WBOXH>
<U_WLEFT>CM</U_WLEFT>
<U_WWIDTH>CM</U_WWIDTH>
<U_WTOP>CM</U_WTOP>
<U_WHEIGHT>CM</U_WHEIGHT>
- <BORDER>
- <LEFTATTR>
<THICKNESS>0.00</THICKNESS>
<THICKNESSU>PT</THICKNESSU>
<DISTANCE>0.00</DISTANCE>
<DISTANCEU>CM</DISTANCEU>
- <COLOR>
<RED>000</RED>
<GREEN>000</GREEN>
<BLUE>000</BLUE>
<TRANS>000</TRANS>
</COLOR>
</LEFTATTR>
- <TOPATTR>
<THICKNESS>0.00</THICKNESS>
<THICKNESSU>PT</THICKNESSU>
<DISTANCE>0.00</DISTANCE>
<DISTANCEU>CM</DISTANCEU>
- <COLOR>
<RED>000</RED>
<GREEN>000</GREEN>
<BLUE>000</BLUE>
<TRANS>000</TRANS>
</COLOR>
</TOPATTR>
- <RIGHTATTR>
<THICKNESS>0.00</THICKNESS>
<THICKNESSU>PT</THICKNESSU>
<DISTANCE>0.00</DISTANCE>
<DISTANCEU>CM</DISTANCEU>
- <COLOR>
<RED>000</RED>
<GREEN>000</GREEN>
<BLUE>000</BLUE>
<TRANS>000</TRANS>
</COLOR>
</RIGHTATTR>
- <BOTTOMATTR>
<THICKNESS>0.00</THICKNESS>
<THICKNESSU>PT</THICKNESSU>
<DISTANCE>0.00</DISTANCE>
<DISTANCEU>CM</DISTANCEU>
- <COLOR>
<RED>000</RED>
<GREEN>000</GREEN>
<BLUE>000</BLUE>
<TRANS>000</TRANS>
</COLOR>
</BOTTOMATTR>
</BORDER>
- <T_CAPTION>
- <item>
<LANGU>E</LANGU>
<FORMNAME>ZSUM_SMART</FORMNAME>
<OBJTYPE>OA</OBJTYPE>
<INAME>%OUTATTRIB3</INAME>
</item>
</T_CAPTION>
</sf:OUTATTR>
</sf:OUTATTR>
<sf:SUCC />
</sf:NODE>
</sf:item>
</sf:SUCC>
</sf:NODE>
</sf:item>
</sf:SUCC>
</sf:NODE>
</sf:item>
- <sf:item>
- <sf:NODE>
<NODETYPE>EV</NODETYPE>
- <sf:OBJ>
- <sf:EVENT>
- <NAME>
<INAME>%EVENT2</INAME>
</NAME>
<CAPTION>Main Area</CAPTION>
<EVTYPE>B</EVTYPE>
- <T_CAPTION>
- <item>
<LANGU>E</LANGU>
<FORMNAME>ZSUM_SMART</FORMNAME>
<OBJTYPE>EV</OBJTYPE>
<INAME>%EVENT2</INAME>
<CAPTION>Main Area</CAPTION>
</item>
</T_CAPTION>
</sf:EVENT>
</sf:OBJ>
- <sf:SUCC>
- <sf:item>
- <sf:NODE>
<NODETYPE>SE</NODETYPE>
- <sf:OBJ>
- <sf:SECTION>
- <NAME>
<INAME>%LOOP1</INAME>
</NAME>
<CAPTION>New Loop 1</CAPTION>
<SECTTYPE>L</SECTTYPE>
<TABHTYPE>I</TABHTYPE>
<U_FHEIGHT>CM</U_FHEIGHT>
- <PATTERN>
<PATTNUM>0000</PATTNUM>
<FRAME>0.00</FRAME>
<U_FRAME>PT</U_FRAME>
</PATTERN>
<U_WIDTH>CM</U_WIDTH>
<U_LEFT>CM</U_LEFT>
<U_TOP>CM</U_TOP>
<U_SB>CM</U_SB>
<U_SA>CM</U_SA>
- <T_CAPTION>
- <item>
<LANGU>E</LANGU>
<FORMNAME>ZSUM_SMART</FORMNAME>
<OBJTYPE>SE</OBJTYPE>
<INAME>%LOOP1</INAME>
<CAPTION>New Loop 1</CAPTION>
</item>
</T_CAPTION>
</sf:SECTION>
</sf:OBJ>
- <sf:SUCC>
- <sf:item>
- <sf:NODE>
<NODETYPE>SE</NODETYPE>
- <sf:OBJ>
- <sf:SECTION>
- <NAME>
<INAME>%ROW2</INAME>
</NAME>
<CAPTION>New Line 2</CAPTION>
<SECTTYPE>R</SECTTYPE>
<U_FHEIGHT>CM</U_FHEIGHT>
- <PATTERN>
<PATTNUM>0000</PATTNUM>
<FRAME>0.00</FRAME>
<U_FRAME>PT</U_FRAME>
</PATTERN>
<U_WIDTH>CM</U_WIDTH>
<U_LEFT>CM</U_LEFT>
<U_TOP>CM</U_TOP>
<U_SB>CM</U_SB>
<U_SA>CM</U_SA>
- <T_CAPTION>
- <item>
<LANGU>E</LANGU>
<FORMNAME>ZSUM_SMART</FORMNAME>
<OBJTYPE>SE</OBJTYPE>
<INAME>%ROW2</INAME>
<CAPTION>New Line 2</CAPTION>
</item>
</T_CAPTION>
</sf:SECTION>
</sf:OBJ>
- <sf:OUTATTR>
- <sf:OUTATTR>
- <NAME>
<INAME>%OUTATTRIB4</INAME>
</NAME>
<T_NEWLINE>X</T_NEWLINE>
<T_LINETYPE>LTYPE1</T_LINETYPE>
<U_WFRAME>PT</U_WFRAME>
<U_WBOXV>CM</U_WBOXV>
<U_WBOXH>CM</U_WBOXH>
<U_WLEFT>CM</U_WLEFT>
<U_WWIDTH>CM</U_WWIDTH>
<U_WTOP>CM</U_WTOP>
<U_WHEIGHT>CM</U_WHEIGHT>
- <BORDER>
- <LEFTATTR>
<THICKNESS>0.00</THICKNESS>
<THICKNESSU>PT</THICKNESSU>
<DISTANCE>0.00</DISTANCE>
<DISTANCEU>CM</DISTANCEU>
- <COLOR>
<RED>000</RED>
<GREEN>000</GREEN>
<BLUE>000</BLUE>
<TRANS>000</TRANS>
</COLOR>
</LEFTATTR>
- <TOPATTR>
<THICKNESS>0.00</THICKNESS>
<THICKNESSU>PT</THICKNESSU>
<DISTANCE>0.00</DISTANCE>
<DISTANCEU>CM</DISTANCEU>
- <COLOR>
<RED>000</RED>
<GREEN>000</GREEN>
<BLUE>000</BLUE>
<TRANS>000</TRANS>
</COLOR>
</TOPATTR>
- <RIGHTATTR>
<THICKNESS>0.00</THICKNESS>
<THICKNESSU>PT</THICKNESSU>
<DISTANCE>0.00</DISTANCE>
<DISTANCEU>CM</DISTANCEU>
- <COLOR>
<RED>000</RED>
<GREEN>000</GREEN>
<BLUE>000</BLUE>
<TRANS>000</TRANS>
</COLOR>
</RIGHTATTR>
- <BOTTOMATTR>
<THICKNESS>0.00</THICKNESS>
<THICKNESSU>PT</THICKNESSU>
<DISTANCE>0.00</DISTANCE>
<DISTANCEU>CM</DISTANCEU>
- <COLOR>
<RED>000</RED>
<GREEN>000</GREEN>
<BLUE>000</BLUE>
<TRANS>000</TRANS>
</COLOR>
</BOTTOMATTR>
</BORDER>
- <T_CAPTION>
- <item>
<LANGU>E</LANGU>
<FORMNAME>ZSUM_SMART</FORMNAME>
<OBJTYPE>OA</OBJTYPE>
<INAME>%OUTATTRIB4</INAME>
</item>
</T_CAPTION>
</sf:OUTATTR>
</sf:OUTATTR>
- <sf:SUCC>
- <sf:item>
- <sf:NODE>
<NODETYPE>SE</NODETYPE>
- <sf:OBJ>
- <sf:SECTION>
- <NAME>
<INAME>%CELL2</INAME>
</NAME>
<CAPTION>New Column 2</CAPTION>
<SECTTYPE>E</SECTTYPE>
<U_FHEIGHT>CM</U_FHEIGHT>
- <PATTERN>
<PATTNUM>0000</PATTNUM>
<FRAME>0.00</FRAME>
<U_FRAME>PT</U_FRAME>
</PATTERN>
<U_WIDTH>CM</U_WIDTH>
<U_LEFT>CM</U_LEFT>
<U_TOP>CM</U_TOP>
<U_SB>CM</U_SB>
<U_SA>CM</U_SA>
- <T_CAPTION>
- <item>
<LANGU>E</LANGU>
<FORMNAME>ZSUM_SMART</FORMNAME>
<OBJTYPE>SE</OBJTYPE>
<INAME>%CELL2</INAME>
<CAPTION>New Column 2</CAPTION>
</item>
</T_CAPTION>
</sf:SECTION>
</sf:OBJ>
- <sf:OUTATTR>
- <sf:OUTATTR>
- <NAME>
<INAME>%OUTATTRIB5</INAME>
</NAME>
<T_NEWCELL>X</T_NEWCELL>
<U_WFRAME>PT</U_WFRAME>
<U_WBOXV>CM</U_WBOXV>
<U_WBOXH>CM</U_WBOXH>
<U_WLEFT>CM</U_WLEFT>
<U_WWIDTH>CM</U_WWIDTH>
<U_WTOP>CM</U_WTOP>
<U_WHEIGHT>CM</U_WHEIGHT>
- <BORDER>
- <LEFTATTR>
<THICKNESS>0.00</THICKNESS>
<THICKNESSU>PT</THICKNESSU>
<DISTANCE>0.00</DISTANCE>
<DISTANCEU>CM</DISTANCEU>
- <COLOR>
<RED>000</RED>
<GREEN>000</GREEN>
<BLUE>000</BLUE>
<TRANS>000</TRANS>
</COLOR>
</LEFTATTR>
- <TOPATTR>
<THICKNESS>0.00</THICKNESS>
<THICKNESSU>PT</THICKNESSU>
<DISTANCE>0.00</DISTANCE>
<DISTANCEU>CM</DISTANCEU>
- <COLOR>
<RED>000</RED>
<GREEN>000</GREEN>
<BLUE>000</BLUE>
<TRANS>000</TRANS>
</COLOR>
</TOPATTR>
- <RIGHTATTR>
<THICKNESS>0.00</THICKNESS>
<THICKNESSU>PT</THICKNESSU>
<DISTANCE>0.00</DISTANCE>
<DISTANCEU>CM</DISTANCEU>
- <COLOR>
<RED>000</RED>
<GREEN>000</GREEN>
<BLUE>000</BLUE>
<TRANS>000</TRANS>
</COLOR>
</RIGHTATTR>
- <BOTTOMATTR>
<THICKNESS>0.00</THICKNESS>
<THICKNESSU>PT</THICKNESSU>
<DISTANCE>0.00</DISTANCE>
<DISTANCEU>CM</DISTANCEU>
- <COLOR>
<RED>000</RED>
<GREEN>000</GREEN>
<BLUE>000</BLUE>
<TRANS>000</TRANS>
</COLOR>
</BOTTOMATTR>
</BORDER>
- <T_CAPTION>
- <item>
<LANGU>E</LANGU>
<FORMNAME>ZSUM_SMART</FORMNAME>
<OBJTYPE>OA</OBJTYPE>
<INAME>%OUTATTRIB5</INAME>
</item>
</T_CAPTION>
</sf:OUTATTR>
</sf:OUTATTR>
- <sf:SUCC>
- <sf:item>
- <sf:NODE>
<NODETYPE>TI</NODETYPE>
- <sf:OBJ>
- <sf:TEXT>
- <NAME>
<INAME>%TEXT1</INAME>
</NAME>
<CAPTION>New Text 1</CAPTION>
<APPMODE>P</APPMODE>
- <TEXT>
- <item>
<TDFORMAT>*</TDFORMAT>
<TDLINE><(>&<)>w_mkpf-mblnr<(>&<)></TDLINE>
</item>
</TEXT>
<STYLE_NAME>SYSTEM</STYLE_NAME>
- <TEXT_AREA>
<ENABLED>F</ENABLED>
<NCOLS>0</NCOLS>
<NROWS>0</NROWS>
</TEXT_AREA>
- <T_CAPTION>
- <item>
<LANGU>E</LANGU>
<FORMNAME>ZSUM_SMART</FORMNAME>
<OBJTYPE>TI</OBJTYPE>
<INAME>%TEXT1</INAME>
<CAPTION>New Text 1</CAPTION>
</item>
</T_CAPTION>
- <T_TEXT>
- <item>
<SPRAS>E</SPRAS>
<TXTYPE>F</TXTYPE>
<FORMNAME>ZSUM_SMART</FORMNAME>
<INAME>%TEXT1</INAME>
<LINENR>000001</LINENR>
<TDFORMAT>*</TDFORMAT>
<TDLINE><(>&<)>w_mkpf-mblnr<(>&<)></TDLINE>
</item>
</T_TEXT>
</sf:TEXT>
</sf:OBJ>
<sf:SUCC />
</sf:NODE>
</sf:item>
</sf:SUCC>
</sf:NODE>
</sf:item>
</sf:SUCC>
</sf:NODE>
</sf:item>
</sf:SUCC>
</sf:NODE>
</sf:item>
</sf:SUCC>
</sf:NODE>
</sf:item>
- <sf:item>
- <sf:NODE>
<NODETYPE>EV</NODETYPE>
- <sf:OBJ>
- <sf:EVENT>
- <NAME>
<INAME>%EVENT3</INAME>
</NAME>
<CAPTION>Footer</CAPTION>
<EVTYPE>F</EVTYPE>
- <T_CAPTION>
- <item>
<LANGU>E</LANGU>
<FORMNAME>ZSUM_SMART</FORMNAME>
<OBJTYPE>EV</OBJTYPE>
<INAME>%EVENT3</INAME>
<CAPTION>Footer</CAPTION>
</item>
</T_CAPTION>
</sf:EVENT>
</sf:OBJ>
<sf:SUCC />
</sf:NODE>
</sf:item>
</sf:SUCC>
</sf:NODE>
</sf:item>
</sf:SUCC>
</sf:NODE>
</sf:PROC_CTRL>
</sf:WINDOW>
</sf:OBJ>
- <sf:OUTATTR>
- <sf:OUTATTR>
- <NAME>
<INAME>%OUTATTRIB1</INAME>
</NAME>
<CAPTION>New Display Option</CAPTION>
<U_WFRAME>PT</U_WFRAME>
<U_WBOXV>CM</U_WBOXV>
<U_WBOXH>CM</U_WBOXH>
<WLEFT>2.50</WLEFT>
<U_WLEFT>CM</U_WLEFT>
<WWIDTH>16.00</WWIDTH>
<U_WWIDTH>CM</U_WWIDTH>
<WTOP>2.50</WTOP>
<U_WTOP>CM</U_WTOP>
<WHEIGHT>25.20</WHEIGHT>
<U_WHEIGHT>CM</U_WHEIGHT>
- <BORDER>
- <LEFTATTR>
<THICKNESS>0.00</THICKNESS>
<THICKNESSU>PT</THICKNESSU>
<DISTANCE>0.00</DISTANCE>
<DISTANCEU>CM</DISTANCEU>
- <COLOR>
<RED>000</RED>
<GREEN>000</GREEN>
<BLUE>000</BLUE>
<TRANS>000</TRANS>
</COLOR>
</LEFTATTR>
- <TOPATTR>
<THICKNESS>0.00</THICKNESS>
<THICKNESSU>PT</THICKNESSU>
<DISTANCE>0.00</DISTANCE>
<DISTANCEU>CM</DISTANCEU>
- <COLOR>
<RED>000</RED>
<GREEN>000</GREEN>
<BLUE>000</BLUE>
<TRANS>000</TRANS>
</COLOR>
</TOPATTR>
- <RIGHTATTR>
<THICKNESS>0.00</THICKNESS>
<THICKNESSU>PT</THICKNESSU>
<DISTANCE>0.00</DISTANCE>
<DISTANCEU>CM</DISTANCEU>
- <COLOR>
<RED>000</RED>
<GREEN>000</GREEN>
<BLUE>000</BLUE>
<TRANS>000</TRANS>
</COLOR>
</RIGHTATTR>
- <BOTTOMATTR>
<THICKNESS>0.00</THICKNESS>
<THICKNESSU>PT</THICKNESSU>
<DISTANCE>0.00</DISTANCE>
<DISTANCEU>CM</DISTANCEU>
- <COLOR>
<RED>000</RED>
<GREEN>000</GREEN>
<BLUE>000</BLUE>
<TRANS>000</TRANS>
</COLOR>
</BOTTOMATTR>
</BORDER>
- <T_CAPTION>
- <item>
<LANGU>E</LANGU>
<FORMNAME>ZSUM_SMART</FORMNAME>
<OBJTYPE>OA</OBJTYPE>
<INAME>%OUTATTRIB1</INAME>
<CAPTION>New Display Option</CAPTION>
</item>
</T_CAPTION>
</sf:OUTATTR>
</sf:OUTATTR>
<sf:SUCC />
</sf:NODE>
</sf:item>
</sf:SUCC>
</sf:NODE>
</sf:item>
</sf:SUCC>
</sf:NODE>
</sf:PAGETREE>
</sf:item>
</sf:VARHEADER>
</sf:SMARTFORM>
And here is the program
REPORT ZSMARTFORM.
Calling SMARTFORMS from your ABAP program.
Collecting all the table data in your program, and pass once to SMARTFORMS
SMARTFORMS
Declare your table type in :-
Global Settings -> Form Interface
Global Definintions -> Global Data
Main Window -> Table -> DATA
Written by : SAP Hints and Tips on Configuration and ABAP/4 Programming
http://sapr3.tripod.com
TABLES: MKPF.
DATA: FM_NAME TYPE RS38L_FNAM.
DATA: BEGIN OF Itab1 OCCURS 0.
INCLUDE STRUCTURE MKPF.
DATA: END OF Itab1.
data: w_mkpf type mkpf.
DATA : v_fmname TYPE rs38l_fnam.
SELECT * FROM MKPF into table itab1 up to 100 rows .
At the end of your program.
Passing data to SMARTFORMS
CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
EXPORTING
formname = 'ZSUM_SMART'
VARIANT = ' '
DIRECT_CALL = ' '
IMPORTING
fm_name = v_fmname
EXCEPTIONS
NO_FORM = 1
NO_FUNCTION_MODULE = 2
OTHERS = 3
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
CALL FUNCTION v_fmname
EXPORTING
ARCHIVE_INDEX =
ARCHIVE_INDEX_TAB =
ARCHIVE_PARAMETERS =
CONTROL_PARAMETERS =
MAIL_APPL_OBJ =
MAIL_RECIPIENT =
MAIL_SENDER =
OUTPUT_OPTIONS =
USER_SETTINGS = 'X'
IMPORTING
DOCUMENT_OUTPUT_INFO =
JOB_OUTPUT_INFO =
JOB_OUTPUT_OPTIONS =
TABLES
itab1 = Itab1
EXCEPTIONS
FORMATTING_ERROR = 1
INTERNAL_ERROR = 2
SEND_ERROR = 3
USER_CANCELED = 4
OTHERS = 5
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.Hi,
To display the value of variable it must be added in correct way. It means the variable should be added to the text object of the form with help of drag&drop or manually with help of icon "+" - Insert field. After insertion the variable should be gray colored in editor..
May be this is the point????
Best Regards
Adam -
Problem with EGO_ITEM_PUB API
Hi All,
We are using EGO_ITEM_PUB.PROCESS_ITEMS API to insert data into our staging table. There are about 4000 records in our staging table which will update near about 60,000 records in mtl_system_items table. This process takes about 14 hrs to make complete update. In production we have 20,000 (Staging table, which means nearly 3-5 lakhs in MTL_SYSTEM_ITEMS table) records to be updated and this will take days to complete the update process.
Any other work around which will take less time to complete this will be feasible. Pointers in this direction will be appreciated.
Thanks in advance
Thanks,
Ashu AnandHi Ashu,
Is it possible for you to use Import Item Interface program instead of API? In open interface you have parallel execution facilitiy which will allow to run many parallel processing on records having set_process_id field.
I understand changing that code is problem but you need to do cost benefit analysis and choose.
Sunil -
Dear All
1.I create a User-define field on OITM, Call U_D.
2.Create a format search Query on itemcode of Item interface.
FS: Select $[oitm.U_D]
When the Item interface is "add" status, The FS can select data, but
when the status is "Find" ststus, the FS can't. why?
Is my FS query wrong?
GlenGlen,
The "$" in you FMS refers to the current record. If the form is in Find mode, there in no current record the FMS can access. If you want the FMS to retrieve all the value ever inserted in that field, use the following query
SELECT DISTINCT T0.U_D FROM [dbo].[OITM] T0
Regards,
Vítor Vieira -
Scenario-- One Idoc-- Two files has to generate.
Hi All,
I got the scenario where i need to generate two files ( 1 with header data and 1 with item data) for single idoc FIDCC1.
Is it possible to acheive this?
Please suggest me how to appraoch this scenario?
Thanks.
Regards
Seema.Thanks Rajesh,Ramesh and Preteek.
Im following the below steps.
File type : 2 DATA TYPES (Header, Item)
Msg Type: 2 Message Type (Header Msg, Item Msg)
Msg Interface: 2 Messgae interfaces (Category Inbound, Mode assynchronous).
Message Mapping:
You can do a multi mapping (1:N).
Else
Perform 2 message mapping
a) with IDOC TO Header Msg
b) Between IDOC to Item Msg.
Perform 2 Interface Mapping
IDOC-> HEADER INTERFACE
'IDOC -> ITEM INTERFACE.
ID:
Import Both the Business Systems
1) Define 2 Communication channel for File Business Systems. (one for Header, other one for Item).
2) Define 1 Receiver Determination
3) Define 2 Interface Determination
4) Define 2 receiver Agreements as we have 2 communication channel.
Hope it will works..
<b>
Rewarded the points.</b>
If i get get any doubts while developing .. i will disturb u guys again.
Thank You.
-Seema.
Maybe you are looking for
-
Help! Bit of a first time here
Hi, My dear dear parents decided to buy me a brand new imac G5 for christmas and I like it very much. However, I would like it even more if I could get t'internet on it. Currently, my house has a PC with broadband provided by Wanadoo. It has an ADSL
-
Podcasts are no longer being automatically updated after hibernation mode
Heeello to you all! I noticed that after going to hibernation mode (the motherboards suspend to disk functionality) the schedule for my podcast updates is messed up. For example now is Feb 22nd 2007, 21.14 and my iTunes says that it wants to search f
-
Find the SAP Script name for the Output type RD00 and Appli V3
Hi Gurus, My requirement was to copy the Std SAP Script for the output type RD00 and application name V3 and to do some modification. Please any one suggest me how to find the Std SAP script based on the above Output type and Appl ? Regards paul
-
The app store icon showed # indicating I had software to download. I checked and had 10.8.4, security, printer, airport, camera, iPhoto and iMovie to download. After multiple attempts and all failing on two different networks over a number of days, I
-
How to sign a java class file!
My applet program performs file i/o,loadlibrary operations.so i create a jar file which contains the all java class files of my appln and signed this jar file.My applet prgm works fine. But now my plm is, i should not create a jar file.how to sign cl