Issue in Sale order creation from program
Hi Friends
As per our project requirement we are creating sale order from ABAP Program.
We are adding all the line item values from some table and pushing it into final internal table.
After the loop statement we are adding one more material( Material X) in the final internal table through hard coding.
Its working fine in Dev/QA/SND,but when it comes to production its adding the material(material X) in multiple lines(only in some cases).But as per our logic it should come only once..
we are not able to replicate the same scenario in Dev/QA/SND.
So anybody have an idea about this kind of issue.Kindly let me know.
Thanks in Advance.
Thanks
Gowrishankar
Actually I added like that only.
LOOP AT idoc_data WHERE segnam = c_e1edp19.
indx = sy-tabix.
ENDLOOP.
LOOP AT idoc_data WHERE segnam = c_e1edp01.
index = sy-tabix.
ENDLOOP.
READ TABLE idoc_data INDEX index.
IF sy-subrc = 0.
segnum = idoc_data-segnum.
wa_e1edp01 = idoc_data-sdata.
n_posex = wa_e1edp01-posex.
n_posex = n_posex + 10.
CLEAR: wa_e1edp01.
wa_e1edp01-posex = n_posex.
wa_e1edp01-menge = '1'.
wa_e1edp01-menee = 'EA'.
idoc_data-sdata = wa_e1edp01.
indx = indx + 1.
INSERT idoc_data INDEX indx.
ENDIF.
CLEAR: n_posex, n_config_id, n_inst_id.
READ TABLE idoc_data WITH KEY segnam = c_e1curef
psgnum = segnum.
IF sy-subrc = 0.
e1curef = idoc_data-sdata.
n_posex = e1curef-posex.
n_posex = n_posex + 10.
e1curef-posex = n_posex.
n_config_id = e1curef-config_id.
n_config_id = n_config_id + 1.
e1curef-config_id = n_config_id.
n_inst_id = e1curef-inst_id.
n_inst_id = n_inst_id + 1.
e1curef-inst_id = n_inst_id.
idoc_data-sdata = e1curef.
indx = indx + 1.
INSERT idoc_data INDEX indx.
ENDIF.
idoc_data-segnam = c_e1edp19.
wa_e1edp19-qualf = '002'.
wa_e1edp19-idtnr = c_sm.
idoc_data-sdata = wa_e1edp19.
indx = indx + 1.
INSERT idoc_data INDEX indx.
ENDIF.
ENDIF.
Its working in DEV/QA/SND part..
Similar Messages
-
Syntax for commiet for sales order creation from VB
syntax for commit for sales order creation from VB.
i have created sales order from vb using "sap bapi control" object, i am getting message too that sales order created of this number
BUT it will not reflect in particular table or tcode?
what should i do to commiet that sales order creation from vb while using sap bapi control.
i have tried sap function call too,
now how to commiet or is there any other way?
regards,
dushyant.Hi,
Check this link, explains step by step.
http://abaplovers.blogspot.com/2008/02/bap-sales-order-create.html
Thanks,
Krishna -
Automatic Sales Order Creation from PO in B1
Hi,
I have this scenario. Purchase order is created in SAP B1 (Business One) which triggers automatic Sales Order creation in SAP ECC 6.0.
The requirement:
For the combination of PO number and Sold to party there should be only one sales order created.
The problem:
Sometimes for the same PO duplicate Sales orders(sometimes 3,4) are getting created in ECC.
Possible causes:
Probably no validations in the interface.
Question:
1. First of all, is it an SD issue or PI (process integration) issue.
2. If it is an SD issue, as a functional consultant what / where can we do to prevent this.
Thanks.
Edited by: SAP SD_Newbie on Oct 20, 2011 6:59 PM
Edited by: SAP SD_Newbie on Oct 20, 2011 6:59 PM
How do I move this to "ERP - Sales and Distribution (SD) General", because this question is not just related to "ERP SD Sales" but SD in general. Isn't there an option for the users to a question from one forum to another.1. First of all, is it an SD issue or PI (process integration) issue.
- May be PI, or SD or both. I am not sure about the integration mechanism/program so I am not able to pinpoint.
2. If it is an SD issue, as a functional consultant what / where can we do to prevent this.
In t.code VOV8, go to the sales document type. Select value A in the field, check Purchase order Number. Then go to t.code OVAH, there make the message number V4 115 as error message. This will not allow the creation of the sales order, if the Purchase order number duplicates. I assume in your process, the purchase order number is populated in the PO number field of the sales order overview screen.
Regards, -
Custom fields mapping issue of sales order replication from R/3 to CRM
Hello Experts,
I have to replicate sales orders from R/3 to CRM system (Initial and Delta)
The issue is I have custome fields in R/3 which are maintained in custom table(Z table) in R/3.
We added those custom fields in CRM customer_i table to synchronise with R/3 data.
To MAP R/3 custom fields to CRM custom fields, i have the following customization.
1. Added the custom function module in the event CRMO_200 and moved all the custom fields into interal table IT_OTHER_INFO.
2. The intrnal table IT_OTHER_INFO with data is passed into CRM standard function modules.
3. But in CRM the BADI 'CRM_DATAEXCHG_BADI' implementation does not have the input parameter of internal table TI_OTHER_INFO.
All my custom data is in internal table TI_OTHER_INFO.
Please suggest where can i map this data to CRM enhanced fields.
Regards,
Umashankar.Hello Vanessa,
Thank you so much for your reply.
I went through the Note (1053817). It is good. I understand that the custom fields should enhance in the BAPE_VBAP in R/3.
My Scenario:
Goal: Orders replication from R/3 to CRM along with Custom fields.
In R/3, all the custom fields are maintained in Z table (Not VBAK or VBAP).
All these custom fields are belongs to Item level.
In CRM, The custom fields are maintained in CRMD_CUSTOMER_I table though AET.
I need to MAP these custom fields to CRM while order replication from R/3 to CRM.
Regards,
Umashankar. -
Issue regarding Sales Order creation using bapi BAPI_salesorder_createfromd
Hi Experts,
Can anyone help me what is the data I'm missing in creating sales order?
I tried to create sales order using BAPI_salesorder_createfromdat2 and I recieve error regarding my creation.
here's the lists of RETURN for the BAPI.
"SALES_HEADER_IN has been processed successfully"
"SALES_ITEM_IN has been processed successfully"
"SALES_CONDITIONS_IN has been processed successfully"
"The sales document is not yet complete: Edit data"
Iam not able to get the message ""The sales document is not yet complete: Edit data"
Please help in this regard.
Regards,
SaktiThis is because you are still missing some segments or data.
Maybe this thread will be helpful:
BAPI_SALESORDER_CREATEFROMDAT2 to replace VA01, KBETR and NETWR
You should also check the documentation from transaction BAPI. -
BAPI for Sales Order Creation from Third-party Application
Hi,
I need to create a Sales order in a SAP system from a third-party applications. Please provide the list of BAPIs/Interfaces that are involved in creation of Sales Order.Hi,
Check this link, explains step by step.
http://abaplovers.blogspot.com/2008/02/bap-sales-order-create.html
Thanks,
Krishna -
BOM related issue-in sales order creation there is info message-
hi all expert,
1)when user create sales order for BOM item.system show
message"Consider delivery unit 6 ZUN in item 000020"
where i can check the setting.
2)
user create one BOM with t code cs01.
mail item is-mm004
subitem is- MM02 and mm03
same sub- item is maintaind two time in one BOM
for example:
main item-mm04
sub-item------MM02 -
5 qty
MM02----
1 qty
MM03----
10 qty
MM03----
2 qty
in this case system is picking first Qty in our example
is 5 for mmo2 material and and for second material MM02
its taking 5 (not 1)
this is user issue what i should sugget to user
please tell me
as per my understanding they should not maintain same
material for two time with different Qty.they can maintain
material MM02- for qty 6(5+1)
please suggest me
regds
aliciaDear Alica,
Why they are maintaining same material as two sub items then can maintain those as one sub item
So you ask them to maintain like this
MM02--6 qty
MM03--12 qty under MM04. Then try
I hope it will help you
Regards,
Murali. -
Issue in sales order creation configuration.
Hi Friends
I want to create a sale order from IDOC using configurable material.I filled all the required values for that configurable material,But while executing this idoc its creating a sale order for some kind of material, but its not creating for some kind of material.
But if I delete the segment 'E1CUCFG' from idoc table before calling the standard function module IDOC_INPUT_ORDERS its generating the sale order number.
But if I delete that segment, its not activate the config part and not fill all the line items in sale order.
I checked in all the way, but I didnt get any idea.if anybody have an idea about this let me know.
Thanks
GowrishankarHi Vindo,
Thank you for your replay.
There is no Net value column in pricing procedure. Am able to change the Net value in the condtion tab of Item level but the problem is , the change is not reflected in condition tab of sales order header net value.This is creating a problem when we try to post the invoice document .
Cheers,
sravan.
Edited by: Rob Burbank on May 7, 2010 4:30 PM -
Sales Order Creation from IDOC type ORDERS05
Hi experts,
I have tried to create sales order using IDOC, using FM input IDOC_INPUT_ORDERS. But when I include segment E1EDP05 - IDOC: Document Item Conditions. I got the following errors "Conditions in IDoc E1EDP05 transferred: Check data", with status 51, and application is post.
Fields I filled in the segment:
KSCHL
KRATE
UPRBS
MEAUN
Thanks.SAP Xpert friends,
I really need help in figuring out this error I get when I send an IDoc from external system to SAP.
Here is what I do....
create empty idoc of type ORDERS01
idoc.MESTYP = "ORDERS";
idoc.SNDPRN = "1171";
idoc.SNDPRT = "KU";
idoc.MANDT = "400";
idoc.SNDPFC = "AG";
idoc.MESCOD = " ";
idoc.MESFCT = " ";
idoc.TEST = " ";
create segment of type E1EDK01
add field MENGE with a value
add segment e1edp01 to idoc
create segment of type E1EDP19
add field QUALF with a value to segment
add field IDTNR with a value to segment
add segment E1EDP19 to idoc
send idoc
When I check WE02 in SAP, I can see the idoc, but
get this error
Here are all the STATUS RECORDS
<b>50 IDoc added
64 IDoc ready to be transferred to application
62 IDoc passed to application
51 Error: Application document not posted
<i>VKORG, VTWEG, SPART cannot be determined</i>
for customer 0000001171 , vendor</b>
I checked on Internet and found that VOE2 can be used to setup ... this is what I have in VOE2
Customer Vendor SOrg DChl Dv
1171 0000001171 1000 00
Thanks for help... -
Sales Order Creation from BAPI Error
Hi Friends,
I am using BAPI_SALESORDER_CREATEFROMDAT1 to create the Sales Order. But I am getting an error when I am executing the FM. I am filling the following Information and passing on the information to the BAPI FM. Details:
IMPORT PARAMETERS:
ORDER_HEADER_IN:
DOC_TYPE: OR
SALES_ORG: BP01
DISTR_CHAN: 01
DIVISION: 01
REQ_DATE_H: 29.08.2008
PURCH_DATE: 29.08.2008
INCOTERMS1: FH
INCOTERMS2: PALO ALTO
PMNTTRMS: 0001
SHIP_COND: 01
CURRENCY: USD
TABLES:
ORDER_ITEMS_IN:
ITM_NUMBER: 10
MATERIAL: XXXX-6
PLANT: BP01
REQ_QTY: 20
SALES_UNIT: EA
ITEM_CATEG: AGN
SHORT_TEXT: TEST MATERIAL
ORDER_PARTNERS:
PARTN_ROLE: SH
PY
BP
SP
PART_NUMB: 1000
1000
1000
1000
By using the above information, when I am executing the FM I am getting error
EXPORT PARAMETERS
RETURN:
TYPE: E
ID AM
NUMBER 216
MESSAGE Incomplete address; enter country
But when I am creating it from the VA01 Transaction, I am able to create Sales Order Successfully.
Friends, please help me in this regard.
Yours
Pradeep Goli
Edited by: Pradeep Goli on Sep 8, 2008 2:56 PMHi,
I hope the below link will help you.
Help needed with BAPI_SALESORDER_CREATEFROMDAT1 parameters
Thanks,
Khushboo. -
Automatic Sales order creation from IDOC generated in another SAP instance?
Hi,
I have been trying to create Sales ordes in a seperate SAP instance, through the Purchase order generated in another Instance.
The Purchase order generated, passes the informtion through an IDOC to another SAP instance, I am getting the following error
" VKORG, VTWEG, SPART cannot be determined for customer 0000001000 ,Vendor000200038 "
It is Message No VG204 , Status Record 51
Please help to solve the problem.
Regards,
ChamandeepSAP Xpert friends,
I really need help in figuring out this error I get when I send an IDoc from external system to SAP.
Here is what I do....
create empty idoc of type ORDERS01
idoc.MESTYP = "ORDERS";
idoc.SNDPRN = "1171";
idoc.SNDPRT = "KU";
idoc.MANDT = "400";
idoc.SNDPFC = "AG";
idoc.MESCOD = " ";
idoc.MESFCT = " ";
idoc.TEST = " ";
create segment of type E1EDK01
add field MENGE with a value
add segment e1edp01 to idoc
create segment of type E1EDP19
add field QUALF with a value to segment
add field IDTNR with a value to segment
add segment E1EDP19 to idoc
send idoc
When I check WE02 in SAP, I can see the idoc, but
get this error
Here are all the STATUS RECORDS
<b>50 IDoc added
64 IDoc ready to be transferred to application
62 IDoc passed to application
51 Error: Application document not posted
<i>VKORG, VTWEG, SPART cannot be determined</i>
for customer 0000001171 , vendor</b>
I checked on Internet and found that VOE2 can be used to setup ... this is what I have in VOE2
Customer Vendor SOrg DChl Dv
1171 0000001171 1000 00
Thanks for help... -
Sales order Creation from Purchase Order
Hi all ,
I want to create SO from PO.Is it any bapi to create SO from PO.
or other wise i will use to get PO details from this BAPI_PO_GETDETAIL and then create So from this BAPI_SALESORDER_CREATEFROMDAT2..
Iis there any bapi like BAPI_SALESDOCUMENT_COPY..Hi
I doubt if there is one single BAPI which will serve the purpose in your case. I think you should go with the first step you mentioned. Get the PO details and then pass it to the sales BAPI.
Vishwa. -
How to fetch post goods issue date and sales order creation date
Hi All,
How to find out the difference between SD Sales Order Item Creation Date and final Post goods issue Date. I would like to know how to fetch those dates and what is the relationship between the tables from which i will get the dates.
Please let me know the solution .
Thanks in advance.Hi,
Sales order creation date is when u raise a sales order in favor of the customer using VA01.......using ATP logic system purposes the material availability date....
after saving ur sales order...when u raise the Delivery using VL01n w.r.t to OR...than u have to perform picking ....In the picking Tab...specify the amount to be picked than press Post Good Issue....means the goods left the company premises ..
You can the fetch the values using tables- Use T code SE12 or SE16
Vbak-----order header
Vbap-----order item
Vbek-----order schedule line
Likp-----Delivery header
Lips----Delivery item -
How to trigger an Idoc from Sales order creation and change
We are trying to trigger Idoc from sales order creation and change we have done following setting mentioned below:
Follow the below steps:
1. Go to NACE transaction
2. Select V1 application and select OUTPUT TYPES
3. Select the required output type and double click on Processing routines.
4. Enter Medium as DISTRIBUTION ALE, Program as RSNASTED and Routine as ALE_PROCESSING.
5. Save it.
message type ORDERSP in the distribution model (BD64).
Follow the below steps to configure the condition records:
1. Go to NACE
2. Select V1 application and select CONDITION RECORDS
3. Select the requred output type and click on Condition records
4. Selection screen will be displayed.
5. Go for execution. In that screen enter the selection criteria. For eg Condition record is based on Sales document type. Then
Sales doc type = OR
Funt = SP
Partner = blank. It means there is no restriction on partner numbers.
Medium = A
date/time = 4
Lan = EN.
Note: partner is left blank means, the sales order of type OR can be send to all partners.
6. Save it.
We also done ALE configuration.
We are facing problem that from VA02 "No output has been selected for printing Message no. V1102"
Kindly suggest the solution.
Regards,
Sharad DixitHi ,
Please check the total error description and diagnosis as below :
InVa02 enter SO go to extras->output->Header->edit.You can find a table with all the triggered output types. Choose the output type BA00 with medium Distribution ALE and go for 'Processing log'. It will show you the error description.
Please paste the diagnosis .
Thanks and Regards,
P.Bharadwaj -
Sales Order uplaod from JAVA to SAP R/3
Hi all,
My cousin is working on uploading Sales Order Document
from java server to R/3.
for that he is having a code from JCO jar.
the below is the file from which one can upload his SO details from JAVA to R/3.
But in this program he is just able to upload one Item detail for one Sales document.
but requirement is to upload 'n' item details for one Sales document.
Here is the Java code.
@author pega
TODO To change the template for this generated type comment go to
Window - Preferences - Java - Code Style - Code Templates
Created on Jun 24, 2004
To change the template for this generated file go to
Window>Preferences>Java>Code Generation>Code and Comments
package com.sap.satyam.salesorder;
import java.sql.Timestamp;
import java.util.Calendar;
import com.sap.mw.jco.IFunctionTemplate;
import com.sap.mw.jco.IRepository;
import com.sap.mw.jco.JCO;
public class SalesOrder {
static final String SID = "R3";
static final String errorID = "E";
IRepository repository;
//String orderNumber = orderCreation("M-01","3000","0002",3,"ST");
int counter;
public SalesOrder()
try {
// Add a connection pool to the specified system
JCO.addClientPool(SID, // Alias for this pool
10, // Max. number of connections
"800", // SAP client
"develop", // userid
"bslabap", // password
"EN", // language
"172.18.33.20", // host name
"00");
// Create a new repository
repository = JCO.createRepository("MYRepository", SID);
catch (JCO.Exception ex) {
System.out.println("Caught an exception: \n" + ex);
// Retrieves and sales order Create
public void createSalesOrder(String PO_NO, String MAT,String RQTY,String CUSTMAT, String SOLD_NAME, String SOLD_STREET,String SOLD_COUNTRY, String SOLD_POST_CODE,String SHIP_NAME, String SHIP_STREET,String SHIP_COUNTRY, String SHIP_POST_CODE)
try {
// Get a function template from the repository
IFunctionTemplate ftemplate = repository.getFunctionTemplate("BAPI_SALESORDER_CREATEFROMDAT1");
JCO.MetaData so_metadata = new JCO.MetaData("BAPI_SALESORDER_CREATEFROMDAT1");
// Create a function from the template
JCO.Function function = new JCO.Function(ftemplate);
// Get a client from the pool
JCO.Client client = JCO.getClient(SID);
// Fill in input parameters
// Header
JCO.ParameterList input = function.getImportParameterList();
JCO.ParameterList tables = function.getTableParameterList();
JCO.Structure input_header = input.getStructure("ORDER_HEADER_IN");
// Item details
JCO.Table table_item = tables.getTable("ORDER_ITEMS_IN");
//JCO.Structure input_item = table_item.getStructure("ORDER_ITEMS_IN");
// Partner details
JCO.Table table_partner = tables.getTable("ORDER_PARTNERS");
// Populate the header details
input_header.setValue("ZAD5","DOC_TYPE"); // Document Type
input_header.setValue("3000","SALES_ORG"); // Sales Organization
input_header.setValue("10","DISTR_CHAN"); // Distribution Channel
input_header.setValue("00","DIVISION"); // Distribution Channel
input_header.setValue("20041212","REQ_DATE_H");// can be changed in yyyymmdd (Requested date)
input_header.setValue(PO_NO,"PURCH_NO_C");// can be changed ( Customer PO Number )
//Populate the item detalis
table_item.appendRow();
table_item.setRow(1);
table_item.setValue("000010","ITM_NUMBER");
table_item.setValue("AA01","PO_ITM_NO");// can be changed
table_item.setValue("IAD-SC3000","MATERIAL");
table_item.setValue(CUSTMAT,"CUST_MAT");// can be changed
table_item.setValue("20041212","REQ_DATE");// can be changed in yyyymmdd
table_item.setValue(RQTY,"REQ_QTY");// can be changed Qty * 1000
table_item.appendRow();
table_item.setRow(2);
table_item.setValue("000020","ITM_NUMBER");
table_item.setValue("AA01","PO_ITM_NO");// can be changed
table_item.setValue("IAD-SC3000","MATERIAL");
table_item.setValue(CUSTMAT,"CUST_MAT");// can be changed
table_item.setValue("20041212","REQ_DATE");// can be changed in yyyymmdd
table_item.setValue(RQTY,"REQ_QTY");// can be changed Qty * 1000
//Populate the Partner details
// Sold to Party
table_partner.appendRow();
table_partner.setRow(1);
table_partner.setValue("AG","PARTN_ROLE");
//table_partner.setValue("0000002007","PARTN_NUMB");
table_partner.setValue("0000100067","PARTN_NUMB");
table_partner.setValue(SOLD_NAME,"NAME"); // can be changed
table_partner.setValue(SOLD_STREET,"STREET"); // can be changed
table_partner.setValue(SOLD_COUNTRY,"COUNTRY");
table_partner.setValue(SOLD_POST_CODE,"POSTL_CODE"); // can be changed
// Ship to party
table_partner.appendRow();
table_partner.setRow(2);
table_partner.setValue("WE","PARTN_ROLE");
table_partner.setValue("0000100067","PARTN_NUMB");
table_partner.setValue(SHIP_NAME,"NAME");// can be changed
table_partner.setValue(SHIP_STREET,"STREET"); // can be changed
table_partner.setValue(SHIP_COUNTRY,"COUNTRY");
table_partner.setValue(SHIP_POST_CODE,"POSTL_CODE");// can be changed
// Call the remote system
client.execute(function);
// Print return message
JCO.Structure ret = function.getExportParameterList().getStructure("RETURN");
System.out.println("BAPI_SALES_ORDER_GETLIST RETURN: " + ret.getString("MESSAGE"));
// Get table containing the orders
//JCO.Table sales_orders = function.getTableParameterList().getTable("SALES_ORDERS");
JCO.Field sales_order = function.getExportParameterList().getField("SALESDOCUMENT");
// Print results
String so = sales_order.getString();
String message = ret.getString("MESSAGE");
String message_type = ret.getString("TYPE");
if (message_type.equalsIgnoreCase("E")) {
System.out.println("Error in Sales Order Creation:" + message);
else{
System.out.println("Sales Order " + so + " Created Succesfully");
// Release the client into the pool
JCO.releaseClient(client);
catch (Exception ex) {
System.out.println("Caught an exception: \n" + ex);
// Retrieves and sales order Create
public void listSalesOrders()
try {
// Get a function template from the repository
IFunctionTemplate ftemplate = repository.getFunctionTemplate("BAPI_SALESORDER_GETLIST");
// Create a function from the template
JCO.Function function = new JCO.Function(ftemplate);
// Get a client from the pool
JCO.Client client = JCO.getClient(SID);
// Fill in input parameters
JCO.ParameterList input = function.getImportParameterList();
//input.setValue("0000002007", "CUSTOMER_NUMBER" );
input.setValue( "3000", "SALES_ORGANIZATION");
//input.setValue( "0", "TRANSACTION_GROUP" );
//input.setValue("PO_NUMBER_JAVA01","PURCHASE_ORDER_NUMBER");
// Call the remote system
client.execute(function);
// Print return message
JCO.Structure ret = function.getExportParameterList().getStructure("RETURN");
System.out.println("BAPI_SALES_ORDER_GETLIST RETURN: " + ret.getString("MESSAGE"));
// Get table containing the orders
JCO.Table sales_orders = function.getTableParameterList().getTable("SALES_ORDERS");
// Print results
if (sales_orders.getNumRows() > 0) {
// Loop over all rows
do {
counter++;
System.out.println("--" + counter + "--
// Loop over all columns in the current row
for (JCO.FieldIterator e = sales_orders.fields(); e.hasMoreElements(); ) {
JCO.Field field = e.nextField();
System.out.println(field.getName() + ":\t" + field.getString());
}//for
} while(sales_orders.nextRow());
else {
System.out.println("No results found");
}//if
// Release the client into the pool
JCO.releaseClient(client);
catch (Exception ex) {
System.out.println("Caught an exception: \n" + ex);
public static void main(String[] argv) {
SalesOrder so = new SalesOrder();
so.createSalesOrder("PO_NUMBER_JAVA02", "","0000000020000","121-223-2332-1231", "SOFTWARE SYSTEME GMBH-WE", "STREET-SH","US", "53125","SOFTWARE SYSTEME GMBH-WE", "STREET-SH","US", "53125");
//so.listSalesOrders();
>>>>Please if any of SDN users can help in resolving this issue. It will be very helpful to my cousin.Before:
//Populate the item detalis
table_item.appendRow();
table_item.setRow(1);
table_item.setValue("000010","ITM_NUMBER");
table_item.setValue("AA01","PO_ITM_NO");// can be changed
table_item.setValue("IAD-SC3000","MATERIAL");
table_item.setValue(CUSTMAT,"CUST_MAT");// can be changed
table_item.setValue("20041212","REQ_DATE");// can be changed in yyyymmdd
table_item.setValue(RQTY,"REQ_QTY");// can be changed Qty * 1000
table_item.appendRow();
table_item.setRow(2);
table_item.setValue("000020","ITM_NUMBER");
table_item.setValue("AA01","PO_ITM_NO");// can be changed
table_item.setValue("IAD-SC3000","MATERIAL");
table_item.setValue(CUSTMAT,"CUST_MAT");// can be changed
table_item.setValue("20041212","REQ_DATE");// can be changed in yyyymmdd
table_item.setValue(RQTY,"REQ_QTY");// can be changed Qty * 1000
Try to add:
//Populate the item detalis
table_item.appendRow();
table_item.setRow(2);
table_item.setValue("000020","ITM_NUMBER");
table_item.setValue("AA01","PO_ITM_NO");// can be changed
table_item.setValue("IAD-SC3000","MATERIAL");
table_item.setValue(CUSTMAT,"CUST_MAT");// can be changed
table_item.setValue("20041212","REQ_DATE");// can be changed in yyyymmdd
table_item.setValue(RQTY,"REQ_QTY");// can be changed Qty * 1000
table_item.appendRow();
table_item.setRow(2);
table_item.setValue("000020","ITM_NUMBER");
table_item.setValue("AA01","PO_ITM_NO");// can be changed
table_item.setValue("IAD-SC3000","MATERIAL");
table_item.setValue(CUSTMAT,"CUST_MAT");// can be changed
table_item.setValue("20041212","REQ_DATE");// can be changed in yyyymmdd
table_item.setValue(RQTY,"REQ_QTY");// can be changed Qty * 1000
Regards.
Maybe you are looking for
-
Can't print from my mac mini on a home network
My husband died suddenly and has left me with a load of networking problems. Everything was fine (I think) until I changed my ISP. My husband had set up our printers on a wired network, and I know wires go in and out of machines and routers, but ther
-
Goos issue through MIGO based on work order problems
Hi All, Can any one guide me how to overcome the error"Purchasinh Info record not found in purchasing organisation 2434" while doing Goods(consignment materials) Issue through MIGO transaction based on work order. How to create the Purchase Info reco
-
Acrobat 9 Pro ran an installer when I opened it today
I've previously installed and used Acrobat 9 Pro. Today I noticed I couldn't open pdf's in my browser, so I went to open Acrobat 9 Pro and open the file from there. When I tried to open the application, an installer launched for Acrobat 9.3. Very od
-
Having header line in the structure inside another structure
How can I have a header line in a structure within a structure? (I have posted a question before...but seems to be unclear..so I closed that thread and open a new one) Thanks! When compiling the below codes, I got error message stating that 'The inte
-
How can I get the keyboard to work when I try to type in passwords or crossword puzzle words?
<blockquote>Locking duplicate thread.<br> Please continue here: [[/questions/951392]]</blockquote> I suddenly can't get what I type in to show up on the screen. It won't print my user name or password to enter a site or print the answers in the cross