Error in PO fields
Hi experts ,
I am new to abap.
I am trying to create a purchase order .
when i am reading the data from presentation server and putting into into the internal table of BAPIMEPOITEM
i am getting data as stars(*******) except for the po_item . when i am using the gui_upload the data i am getting from presentation server is correct . But when i am keeping the data into the internal table of BAPIMEPOITEM
using a loop the data i am getting as stars (******) except for po_item filed. so there is no instance of the po object.
Please help me out .....
thanks
check this piece of code.....
*********populating item leve data ***********
LOOP AT IT_UPLOAD_ITEM INTO WA_IT.
AT NEW PO_ITEM.
*C1 = C1 + 1.
IT_ITEM-PO_ITEM = WA_IT-PO_ITEM.
IT_ITEM-MATERIAL = WA_IT-MAT_NO.
IT_ITEM-SHORT_TEXT = WA_IT-SHORT_TEXT.
IT_ITEM-PLANT = WA_IT-PLANT.
IT_ITEM-QUANTITY = WA_IT-QUANTITY.
IT_ITEM-NET_PRICE = WA_IT-NET_PRICE.
APPEND IT_ITEM.
********MARK X************
IT_ITEMX-PO_ITEM = WA_IT-PO_ITEM.
IT_ITEMX-PO_ITEMX = 'X'.
IT_ITEMX-MATERIAL = 'X'.
IT_ITEMX-SHORT_TEXT = 'X'.
IT_ITEMX-PLANT = 'X'.
IT_ITEMX-QUANTITY = 'X'.
IT_ITEMX-NET_PRICE = 'X'.
APPEND IT_ITEMX.
ENDAT.
clear it_item.
ENDLOOP.
*LOOP AT IT_ITEM. " into wa_item.
*at new po_item.
CALL FUNCTION 'BAPI_PO_CREATE1'
EXPORTING
poheader = IT_PO_HEADER
POHEADERX = IT_PO_HEADERX
POADDRVENDOR =
TESTRUN = TRUN
MEMORY_UNCOMPLETE =
MEMORY_COMPLETE =
POEXPIMPHEADER =
POEXPIMPHEADERX =
VERSIONS =
NO_MESSAGING =
NO_MESSAGE_REQ =
NO_AUTHORITY =
NO_PRICE_FROM_PO =
IMPORTING
EXPPURCHASEORDER =
EXPHEADER =
EXPPOEXPIMPHEADER =
TABLES
RETURN = IT_RET
POITEM = IT_ITEM
POITEMX = IT_ITEMX.
POADDRDELIVERY =
POSCHEDULE =
POSCHEDULEX =
POACCOUNT =
POACCOUNTPROFITSEGMENT =
POACCOUNTX =
POCONDHEADER =
POCONDHEADERX =
POCOND =
POCONDX =
POLIMITS =
POCONTRACTLIMITS =
POSERVICES =
POSRVACCESSVALUES =
POSERVICESTEXT =
EXTENSIONIN =
EXTENSIONOUT =
POEXPIMPITEM =
POEXPIMPITEMX =
POTEXTHEADER =
POTEXTITEM =
ALLVERSIONS =
POPARTNER =
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
EXPORTING
WAIT = 'X'.
IMPORTING
RETURN =
*endat.
*CLEAR : IT_ITEM , IT_ITEMX.
*ENDLOOP.
WRITE : 'end'.
Similar Messages
-
FI:While posting MIRO getting Error of Balancing field Segment not filled
Hello SAP Gurus,
While posting MIRO getting Error of Balancing field Segment in line item 001 not filled
Message No.GLT2201.
Please suggest me solution for it i read lots of related threats but could not solve this error.SPRO-Financial Accounting (New)-General Ledger Accounting (New)-Business Transactions-Document Splitting-Edit Constants for Nonassigned Processes-Select your constant-Double click and Select Assignment of profit center- Enter your dummy profit center here otherwise
SPRO-Financial Accounting (New)-General Ledger Accounting (New)-Business Transactions-Document Splitting-Edit Constants for Nonassigned Processes-Select your constant-Double click and Select Assignment of values-Enter here segment. -
Error with quantity field:Datasource Creation Using Function Module method
Problem with DATASOURCE Creation using Function Module method :
I have created a datasource ZSTANDARD_COST_PRICE using Function Module method . The datasource creation is successfull when I remove the quantity field from the Z table . If I dont remove the quantity field from my Z table it gives an error as "Units Field WAERS for field STPRS of datasource ZSTANDARD_COST_PRICE is hidden". I am not able to remove this error . Please someone guide.
Let me know if my explanation is not clear enough.
Thanks in advance,
Neha.
Z table definition is as below :
MATNR MATNR CHAR 18 0 Material Number
BWKEY BWKEY CHAR 4 0 Valuation area
LFGJA LFGJA NUMC 4 0 Fiscal Year of Current Period
STPRS STPRS CURR 11 2 Standard Price " Here the currency field is WAERS and table T001
PEINH PEINH DEC 5 0 Price Unit
VJSTP VJSTP CURR 11 2 Standard price in previous year
VJPEI VJPEI DEC 5 0 Price unit of previous year.
Edited by: Neha Rathi on Jan 30, 2009 3:03 PMHi,
You should add it as one of the main fields as you have added other fields and not as the currency fields...that is..it should be part of the data source and you should be able to see it in RSO2...
Also if added as i said then it will come as new field in the data source...you can either let it be there...or hide it..
also if you want to populate it then you will have to write the code for this fields as well.
Thanks
Ajeet -
How to populate the Error stack during error records in field level routine
hi,
I am capturing the error records in Field level routine in transformation. now i want these records to reflect in error stack.
i am using 'Append monitor-rec to MONITOR' at the moment but i cant see any records in error stack.
but when i am using the same statement in start routine i am getting records in error stack.
can anyone please help as to how can i populate error stack through field level routine?Hi,
Try to do it in the end routine instead of the field routine.
It should work.
Regards,
Joe -
FF_5 - Import Bank Statement, Err: Formatting error in the field COBL-KOSTL
Hi
When importing the bank statement I'm getting the error
Error: (00 298) Formatting error in the field COBL-KOSTL ; see next message
Why is it doing this? In OKB9 I have the GL Account and the cost center assigned. It is the ne GL that is giving this problem, in the classic GL I do not have this problem.
Thanks in advanceHi
No, it is not that. For some reason in the new GL it does not seem to determine the cost centers and profit centers as usual.
For exampl to allocate the Profit Center for Balance Sheet Account I used to use 3KEH in the classic gl but in the New gl we must use FAGL3KEH.
Now with cost center i'm having the same problem, does not determine the cost center when importing the bank statement.
Can someone help me.
Thanks in advance
Edited by: Louis De Gouveia on Mar 3, 2009 7:07 AM -
Error in ALV : Field Does not exists in Output table .
Hi All,
In my ALV report, program get dumped and showing error when i tried to put a col named Distribution channel ion the alv.
I have put the Distribution cannel field in the IT_FInal table , but still getting folwong errors :
Error : Field Symbol is not been assigned.
As Instructed i have passed I_INTERFACE_CHECK = 'X'.
By this i am getting detail error that :
Field Distribution channel does not exists in Output table & Heading for List is missing .
But i have maintained the distribition channel in IT_Final table
Please suggest wheather we have to define dis channel in any other place.
Thanks in advance.
Can any one help me regrarding this.
Thanks in advance.Hello,
You have to populate the same in the fieldcatalog as well, i think you have not maintained this field there.
BR,
Suhas
PS: Also make it a point to follow-up on your previous post: [Error in ALV : Field Symbol not been assigned.|Error in ALV : Field Symbol not been assigned.] -
Hello,
I developed a custom SharePoint 2013 Application (SharePoint hosted) and everything works fine. If I tried to update the application and I ran into the following error:
The element 'Field' in namespace 'urn:deployment-manifest-schema' cannot contain text. List
of possible elements expected: any element in namespace '##any'.
If I redeploy the application (without update, just a new instance) everything works fine. Only the update scenario throws the exception above.
I tried different things to solve that issue:
I recreated the feature
I checked all the custom field definitions, content types and lists inside the app.
I tried different O365 tenants and a SharePoint 2013 On Premise Development Server (Same problem on all systems)
Can anybody give me a tip to solve that problem?
Thanks in advanceHi,
According to your description, when you try to update your SharePoint Hosted App, an error occurs.
To narrow down the issue, I would suggest you create a simple app without other components in it, deploy it and then update it to see if this error will still occur.
Once you get a workable app without the update issue, then you can add other customizations one after one in this app and perform the update. By doing this, it would
be easier to find out the root cause.
Anyway, you can take a look at the link below about updating app for more information:
http://msdn.microsoft.com/en-us/library/office/dn265910(v=office.15).aspx
Feel free to reply if there any progress.
Thanks
Patrick Liang
Forum Support
Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support,
contact [email protected]
Patrick Liang
TechNet Community Support -
Mail / Merge in WORD with DOI. Error in WORD 'field separator'
I have a program that creates WORD DOcuments for merging with data.
I use WORD documents created with BDS.
I used program SAPRDEMO_MAILMERGE_INTERFACE as an example for creating my own program.
When I call METHOD VIEW ,after creating data source and MERGE, I get following error in WORD
'field separator?. WORD asks which is the separator for field.
whatever separator I indicate, WORD issues an error saying no record found.
If I execute program SAPRDEMO_MAILMERGE_INTERFACE, it works.
I don't understand what happens.I found solution.
In my data source , I have only 1 record.
When calling method merge_range I must indicate 0 in record number and not 1 ( with 1 it worked on our system but not on the customer system : cause in SAP or EXCEL I don't know. )
Fusion données source
CALL METHOD HANDLE->MERGE_RANGE
EXPORTING
FIRST = 0
LAST = 0
IMPORTING
ERROR = error
RETCODE = retcode.
clear l_sy.
CALL METHOD ERROR->GET_MESSAGE
IMPORTING
MESSAGE_ID = l_SY-MSGID
MESSAGE_NUMBER = l_SY-MSGNO
PARAM1 = l_SY-MSGV1
PARAM2 = l_SY-MSGV2
PARAM3 = l_SY-MSGV3
PARAM4 = l_SY-MSGV4. -
Formatting error in the field COBL-GSBER - FF_5 Upload
Hi Experts,
When I upload the bank statement in FF_5, I am getting the following error.
"Error: (00 298) Formatting error in the field COBL-GSBER ; see next message"
If I make the field "Businees Area" Optional in Field Status Group of the "Bank Main Accout", then I am not getting the above error and the posting also happens to the "Bank Main Account".
But if I make "Business Area" Required Entry Field then I get the above error.
Is there any other method to rectify this problem, i.e can this be resolved even after keeping Business Area as a required field.
Pl advice.
Rgds,
Prasad.Hi,
I hope making Business area optional field is not a wise decision...user may go without inputting the business area in the field which later on will create problem for clearing...
If required go for activating user exit FEB00001... which will give you the business area...
try the same with your ABAPer....
Cheers
PK -
Ff_5 Formatting error in the field COBL-KOSTL
When automatically posting bankstatements we have several searchstrings in place.
Most of them post against a bookingrule, but in this case I have a posting on a costcenter as well.
I created two equal searchstrings, one for the bookingrule and one for the costcenter.
When executing FF_5 SAP only books in area 1 and not in area 2. The error message states:
00: 298 Formatting error in the field COBL-KOSTL.
The costcenter is an active one, it is also in OKB9 linked to the cost account number.
Profitcenter is default.
What does this message mean, and how can I find out what I did wrong? I am absolutely sure I have made no typo when entering the costcenter in the mapping area of the searchstring.Hi Siermann,
How are you mapping these two in search string , could you tell me ..?..
Seems to be that cost center is mandatory field but the field is suppressed in GL.
Thanks, -
SAP Guys,
While doing GR this error getting me
Error : The input field containes prohibited characters (already deleted)
This error will come when i am selecting rather than other selected.mean if suppose i am Goods reciept i want to select Goods issue this error will come
and no further processing
Hope i am clear
BrentThis issue is not clear, do you mean that when you select a value from a table you get an error.
Jarrod -
Error:Release outside field of responsibility
Dear All,
Error:Release outside field of responsibility in Function module:BAPI_PO_RELEASE
I given the Inputs:
Purchase Order:xXXXXXXXX
PO_REL_CODE: 01
Exceptions: X
it showa the Error:Error:Release outside field of responsibility
can any one help me
Thanks in Advance.
DhanushHi,
It is really an strange error. I have researched and such an error happens when using the BAPI to release requisitions. I would suggest that you open a ticket for SAP so that someone can connect to your system.
Best Regards,
Arminda -
I am trying to create a compound field Region which has two fields associated with it - country and region. I am using the DEBMDM06 idoc structure. I am trying to map LAND1 to the Country part of the Region field and REGIO to the region part of the Region field. When I right click in the Source Fields pane and select Create Compound field, I am able to select Region. But when I select it I get an error - 'Error creating compound field'
- 'Unable to retrieve source records'. What is causing this error?Hi Thomas,
I assume you are importing region look up flat for DEBMDM06.Considering that I cant understand why you want to have a compound field for region as it is supposed to be a look up flat.
To import look up flats:
1. Map the source fields to destination fields.
2. Map the values.
If at all you have redesigned your structure and made region as a qualified table, it is essential to map the individual non qualifiers first.
Once you have done that only then you will be allowed to form a compound field of your non qualifiers,make a clone of it and map the same followed by mapping the qualifiers.
Hope it helps.
Thanks,
Minaz -
I am trying to connect Field point FP-1001 by Ni PCI-485/2 multifuction adaptor . when i start the program by Ni scope i found " ERROR WRITING TO FIELD POINT".
i have checekd the pci card and its setting is quite Ok. the picture attached for referance. please help .
Attachments:
image001.jpg 9 KB
image002.JPG 33 KB
image003.JPG 34 KBDear Shane,
Thanks for yor response. I have tried again yesterday and rectify the probelm. The confilect was between PC port 485 confirgration setting and VISA configration setting. First i treid to change setting but failed to change then i again install all the program again and tried to change the setting.this time i got successs. i per you question the driver and PCI card was installed properly.
Thanks again.
Regards,
wajid
Shane-C wrote:
Ok, if it worked on that system before, you should be able to get it working again. Does your PCI card show up properly in NI MAX? Can you upload a screen shot of the device there? Do you have an option in MAX to send a command to the FP-1001 and see if the communication was established properly? How does your PCI card show up in the Windows Device Manager, any exclamation points indicating that the device driver is not installed or recognized? -
OLE or COM Processing error : Too many fields defined
i have created a excel workbook format in data integrator and defined the fields in it, when i tried to run a simple job extracting data from spreadsheet , i am getting following error OLE or COM Processing error : <Too many fields defined>.
all i have in the spreadsheet is 18 rows and 35 columns of data, can any help how to solve this problem. i have used query transform for extracting and loading the data in to a table
Edited by: Rakesh Chittineni on Apr 1, 2010 3:45 AMI have Solved the problem my friend suggestion.
The excel file i was trying to access is from WEBI report which was saved as .xls format and then then made some modifications to the spreadsheet.
What i did was i deleted the unused columns, i.e my spread sheet has data upto AQ column so i deleted remaining cells.
and while defining the excel file format i selected the option workbook and selected the proper sheet and in the other options i have chosen column range and also check the box ( extended range) now i could over come the error OLE or COM processing error
Edited by: Rakesh Chittineni on Apr 1, 2010 9:44 PM -
Hi All,
We have a FM which throws an error message. When that is executed in report, it works fine and the error message is displayed.
We have implemented this FM in FIELD EXIT for PRCTR. But it is not throwing any message. We checked the data, it is fine.
Can any one know how to solve this??
Thanks,
SreedharAlso you need to check whether this is assigned to any program/screen. As you know it will only trigger in the attached program.
See the documentation of RSMODPRF program.
Regds
Manohar
Maybe you are looking for
-
It can be done or not: looping vertically
A page design layouts a list of image files vertically. And a user can scroll up down the list. I know using the iterator tag to layout a list of elements horizontally, but not vertically. Can this be done or not? If no, the page has to be designed.
-
Multiple Scale Images in one workflow?
I want to take a large image, scale it down and rename it, then scale the new smaller image and rename it. (The Create Thumbnail function makes them too small, though.) Right now, my workflow looks like this: Get Selected Finder Items Copy Finder Ite
-
New laptop, new itunes, help with sync.
I have bought a new laptop. Downloaded itunes and installed it. I have hooked up iphone 4 to laptop. Authorized the compter for itunes. Seeing its a new laptop and new itunes download, there are no songs in the itunes library. How do I get all t
-
JavaFX trying to run java components off the applet host? (on mac only)
Does anyone know why my javafx applet is trying to access the likes of com/sun/java/util etc off the host that is hosting the applet. The webserver just denies these requests and the applet crashes with something like java.util prohibited. Why is the
-
Is OS X Mavericks supported on Macbook (13-inch, Mid 2010)?
Can I upgrade my OS to OS X Mavericks on my Macbook (13-inch, Mid 2010)? Thanks.