2009 Jan 08 9:34 AM
hi experts,
i am trying to upload data from internal table to SAP using BDC, but while uploading quantity fields it is giving error as "Input fields is longer than screen field", Is there any method to upload quantity fields to SAP.
thanks in adancae,
hi experts,
i am trying to upload data from internal table to SAP using BDC, but while uploading quantity fields it is giving error as "Input fields is longer than screen field", Is there any method to upload quantity fields to SAP.
thanks in adancae,
2009 Jan 08 9:35 AM
just declare all your fields as type c with length specified..
ex:
data : quan(10) type c.
2009 Jan 08 9:39 AM
Move the value of the quantity field into a char string and then pass it to the BDC.
regards,
Jinson
2009 Jan 08 9:43 AM
hi,
Check the quantity field length and declare the Char field with same length and use the write statement to move the qunatity value to char.
Write l_quantity to l_char.
condense l_char.
now move the l_char to BDC.
2009 Jan 08 9:45 AM
you can decide the length of character filed by taking the output length of the domain assocaited with that quantity field.
2009 Jan 08 9:57 AM
Hi,
one way of solving your problem is,
1. Go to the transaction required
2. Find the qunatity field on screen then press F1 on the particular field
3. In technical information you can see the field name, double click on it.
4. Find the length of the field then declare your field in program of the same length
or declare it 'like <tablename-fieldname>' obtained from transactionRegards,
Manoj Kumar P
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |