BAPI_SALESORDER_CHANGE. Error V1 045 -- Indicate number of document.
Hi Experts.
When a pre-order (ZAG) it's confirmed in SAP, we make an oficial order (TA), then, when save the oficial order I need delete the field LCNUM in pre-order.
I'm using this BAPI, in a USER EXIT inside program SAPVM45A, when the number of document it's the pre-order.. but it failed, and return to me the message error that I don't indicate the number of document.
I find where it's the fail, when called to this function
call function 'SD_SALES_DOCUMENT_READ'
there is a moment in the code with that
VBAK-VBELN = DOCUMENT_NUMBER.
PERFORM BELEG_LESEN(SAPMV45A).
PERFORM KONV_SELECT(SAPFV45P).
Well, when called the perform BELEG_LESEN, ---> VBAK-VBELN LOST , yes I tell you the true..., LOST the value of the pre-Order...
I think that when I call this function it's while save a order, program lost the value
Example of the code:
l_saledocument = v_vbelv. "Number of pre-po
l_order_header_in-doc_num_fi = l_lcnum. "l_lcnum it's empty because I want update INITIAL in pre-po
l_order_header_inx-doc_num_fi = 'X'.
l_order_header_inx-updateflag = 'U'.
Llamada a la bapi
CALL FUNCTION 'BAPI_SALESORDER_CHANGE'
EXPORTING
salesdocument = l_saledocument
order_header_in = l_order_header_in
order_header_inx = l_order_header_inx
TABLES
return = li_return.
READ TABLE li_return WITH KEY type = 'E'.
Hi Pedro,
have a look to SAP Note 1232196.
You have to call FM SD_SALES_DOCUMENT_INIT before calling BAPI
Hope it helps
Lorenzo
Similar Messages
-
I am trying to attach a document that was created on the same computer to an email. i continue to get an error message that indicates the document is in use, that i must close it, and retry. i can't find where it is in use. i have closed "word" which is the application it was created using. i have restarted the computer multiple times, no luck. what do i do, to reconcile this issue?
I responded to you here > https://discussions.apple.com/message/22264383#22264383
Please do not start duplicate topics. Thank you -
I am able to imessage from my ipad all phone numbers in contacts but one. With it I get an error message that says "number is not registered with imessage". However, I am able to imessage that number from my iphone. Any suggestion?
Hey joshuafromisr,
If you resintall iTunes, it should fix the issue. The following document will go over how to remove iTunes fully and then reinstall. Depending on what version of Windows you're running you'll either follow the directions here:
Removing and Reinstalling iTunes, QuickTime, and other software components for Windows XP
http://support.apple.com/kb/HT1925
or here:
Removing and reinstalling iTunes, QuickTime, and other software components for Windows Vista or Windows 7
http://support.apple.com/kb/HT1923
Best,
David -
VL09 hit error 'F5 727 ("Maximum number of items in FI reached")'
Hi,
I have one user who is trying to cancel GI for DO using transaction VL09 and hit the error 'F5 727 ("Maximum number of items in FI reached")'. I know it is caused by FI document maximum item no is hit. Is there a solution to cancel this GI document? I have checked on SAP note: 0001353827 AC interface: Document split in FI for goods movements, but it does not solve my issue since the system release version is not compatible.
Please help.
Thanks in advance.
Regards,
Ling LingI need to use VL09 to cancel the document, because I need to change the currency on the preceding document (PO).
The case is a user created a Supply Chain PO, a DO created by reference to PO, then post good issue and post good receipt. Then user found out the currency in PO was wrong, so did cancellation on good receipt and good issue. Good receipt is cancelled successfully, but cancel good issue via VL09 hit error.
Instead of applying summarisation in FI, any suggestion for this issue?
Thanks. -
F110 Error Specify a lot number for the production run Message no.FS546
Hello Experts,
I am doing F110 Automatic payment Program.
All stpes i had done , but Click to start the payment run.
System give me error,
Specify a lot number for the production run
Message no.FS546
For that I had maintained T code FHCI
Maintain Check lot , But system can not pick check lot.
And Maintained Variant in that tab where we can give you House Bank , I'd , Check lot number (But it can not save)
Please tell me what should i do ?
Waiting for reply.
Regards,
JemesSir
No sir check lot is not there.
Can you tell me in Varaint Field which field i have to fill.
Program run date:25.09.2009
Identification feature:P5
Paying company code:1000
Sending company code:1000
Payment method: C
Pmt meth. supplement:
Business Area:
House Bank: STD01
Account ID: STD01
Check lot number: 0
(Check Lot No. is not save inthis field)
Restart from Check Number:
Currency: INR
Payment document no.:
Print Control
Print Check:Tick
Print pay advice note:
no form summerysection :Tick
Do not Void any check:Tick
Please suggest what chnages i do ?
wating for reply.
regards,
Jemes
Edited by: Jemes on Sep 25, 2009 10:41 AM
Edited by: Jemes on Sep 25, 2009 10:47 AM -
WIJ20005 error occurred while editing the WebI document
Hello Everyone,
An error occurred while editing the WebIntelligence document.
The error don't occur when you run again.
Do you know the cause of this problem?
Please give me advice how to investigate.
Error message is as follows:
The current request has returned corrupted data. Contact your administrator (ERR WIJ 20005)
Version: 12.4.4.1557
Application server:
http://xxx.xxx.xxx.xxx:80/AnalyticalReporting/cdzisapi.wis
Stack trace:
java.lang.NullPointerException
at com.jidesoft.plaf.basic.BasicJideTabbedPaneUI$TabSpaceAllocator.a(Unknouwn Source)
at com.jidesoft.plaf.basic.BasicJideTabbedPaneUI$TabSpaceAllocator.reArrange(Unknouwn Source)
at com.jidesoft.plaf.basic.BasicJideTabbedPaneUI.ensureCurrentRects(Unknouwn Source)
at com.jidesoft.plaf.basic.BasicJideTabbedPaneUI$TabbedPaneScrollLayout.calculateTabRects(Unknouwn Source)
at com.jidesoft.plaf.basic.BasicJideTabbedPaneUI$TabbedPaneLayout.calculateLayoutInfo(Unknouwn Source)
at com.jidesoft.plaf.basic.BasicJideTabbedPaneUI.ensureCurrentLayout(Unknouwn Source)
at com.jidesoft.plaf.basic.BasicJideTabbedPaneUI.a(Unknouwn Source)
at com.jidesoft.plaf.basic.BasicJideTabbedPaneUI.access$1900(Unknouwn Source)
at com.jidesoft.plaf.basic.BasicJideTabbedPaneUI$f_.componentAdded(Unknouwn Source)
at java.awt.Container.processContainerEvent(Unknouwn Source)
at java.awt.Container.processEvent(Unknouwn Source)
at java.awt.Component.dispatchEventImpl(Unknouwn Source)
at java.awt.Container.dispatchEventImpl(Unknouwn Source)
at java.awt.Component.dispatchEvent(Unknouwn Source)
at java.awt.Container.addImple(Unknouwn Source)
at javax.swing.JTabbedPane.insertTab(Unknouwn Source)
at com.jidesoft.swing.JideTabbedPane.insertTab(Unknouwn Source)
at javax.swing.JTabbedPane.addTab(Unknouwn Source)
at com.businessobjects.wp.tc.query.TCQueryTab.createUniversTab(Unknouwn Source)
at com.businessobjects.wp.tc.query.TCQueryTab.init(Unknouwn Source)
at com.businessobjects.wp.tc.query.TCQueryTabManager.addQueryTab(Unknouwn Source)
at com.businessobjects.wp.tc.query.TCQueryTabManager.updateWithDP(Unknouwn Source)
at com.businessobjects.wp.tc.query.TCQueryPanel.createQueryTabs(Unknouwn Source)
at com.businessobjects.wp.tc.query.TCQueryPanel.load(Unknouwn Source)
at com.businessobjects.wp.tc.TCMain.initClient2(Unknouwn Source)
at com.businessobjects.wp.tc.TCMain.initClient(Unknouwn Source)
at com.businessobjects.wp.tc.thread.InitAppletRunner.run(Unknouwn Source)
at java.lang.Therad.run(Unknouwn Source)
Environment:
[Server]
- Windows 2008 R2 Enterprise
- BOXI3.1 FP4.4 (IIS)
[Client]
- Windows7 SP1
- IE8
- JRE6 Update21
Regards,
MayumiHi, Yuvraj
Thank you for advice.
>What is the default editing tool set in Prefererences --> WebIntelligence?
>Do you get issue with Interactive mode?
>
>If Advanced mode, have you tried uninstalling and re-installing Java
>and check?
It's Advanced mode.
This error occur sometimes.
And if you re-run after an error occurs, the error does not occur.
So, I guess this error has affected the Java cache file, not the Java software.
How do I check what Java cache is corrupted.
>How many reports are giving this issue?
This error occurs in various reports, but I din't know the number of reports.
>Is this issue coming on all machines or single machine?
This error has occurred in several machine.
>Do you face a similar issue when using Webi Rich Client?
This error occur sometimes, and I usually not use Webi Rich Client.
Try to check, but be difficult.
Regards,
Mayumi -
Error:movement type for follow-on document missing
Hello,
Can anyone help me that i got the error message while creating the shopping cart from INTERNAL GOODS/SERVIES after adding the product id in the second step.
Error :"movement type for follow-on document missing"i define BSA in ppoma_bbp as
BSA: oneclnterp\nb
and i define this number range Supplier Relationship Management ® SRM Server ® Cross-Application Basic Settings ® Number Ranges ® SRM Server Number Ranges ® Define Number Ranges for Shopping Carts and Follow-on Documents
NO
From Number
To Number
Current Number
Ext
Description
(not in the table)
01
0010000000
0019999999
Shopping cart
LO
0020000000
0029999999
Faulty local PO
PO
4100000000
4199999999
Backend PO
RQ
0090000000
0099999999
Backend Purchase requisition
RS
9600000000
9999999999
Backend Reservation
SE
0200000000
0209999999
Backend Service PO -
Configure internal number for document in "depreciation run"
Hi Experts!
When I execute "Depreciation Run", it notice error:
Create document number range 03 using internal number assignment
Message no. AA776
Diagnosis
Processing terminated because the document number range 03 for year 2008 was set up with external number assignment.
System Response
For periodic posting of depreciation, you have to create a document number range with internal number assignment, since the document numbers are assigned from Financial Accounting.
Procedure
Change the number assignment for the number range 03 from external to internal in Customizing for Asset Accounting. See SAP Note 890976 for more information.
Please tell me the way to configure internal number for document in "depreciation run"
Thanks & Reguards
Ngocpt.Hi,
Go to transaction code FBN1
In the change option go to document range 03. IF its an external number assignment there is a tick in the box " ext".
If you want to change it to internal you just have to remove the tick.
Before doing so please check the document type used fo depreciation and the corresponding number ranges assigned.
Hope this helps.
GU -
Maximum number of documents in a container
Hi,
I read the guide "Getting Started with Berkeley DB XML for Java" and understand that by using the XmlDocumentConfig.setGenerateName(true), BDBXML generates a unique name for each document that is stored: myDocName_a where a is the unique value.
I have two questions regarding this:
1) What is the maximum number that can be stored in the container before there is an error? E.g myDocName_xxxxxxxx. what is the maximum xxxxxxxx value?
2) Lets say, we delete two documents, myDocName_1 & myDocName_2. Will BDBXML generate this two document names again if we store another 2 new documents?
Thanks in advance!
Cheers,
KhewHi,
1) The citation from DB XML FAQ:
Number of Documents in a Container:
Internal document IDs are 64-bit integers, and must be unique within a container, which limits the number of documents in a container. 2) No, it won't. At least I got such results in DB XML 2.4.16. So if you had document dbxml_1, dbxml_2, dbxml_3 and then deleted let's say dbxml_1 and dbxml_3, then the next generated name would be dbxml_4 nonetheless. Anybody, correct me if I'm wrong.
Best,
Vyacheslav -
F.61 error "Specify either address number or address handle"
Hi,
I'm trying to trigger A/R correspondence with F.61 and am getting the error "_Specify either address number or address handle_" on some of our customers. Some work, some don't - and I can't see what the difference is. I'll get the error on an existing line item, but can create a new test document, and the correspondence is triggered with no problems.
Can someone explain this error message?
Thanks for your help!
-LoriCheck this thread and see whether it helps you.
[Error message - Specify either address number or address handle |Error message - Specify either address number or address handle;
thanks
G. Lakshmipathi -
Receivables: Diferrence between "transaction number" and "document number"
Hi!
What is the difference between "transaction number" and "document number" as shown in the transactions window?
Where are they used?
thanks!Transaction number is the Invoice number. It can be a manually entered number in case of manual invoices. Even in case of imported invoices, it can be a manually assigned number if the trx_number field is populated in the ra_interface_lines_all table. If you Invoice batch source setup indicates automatic transaction numbering, the transaction (invoice) number will be automatically generated sequentially. The starting number is mentioned in the Trx batch source.
The document number is a number which is generated by Document sequencing. To have the document number generated, you have to do few Doc sequencing setups like setting the 'Sequencial Numbering' profile options, creating document sequences and assigning the sequence to the Categories. The trx types are created as categories.
The Transaction number can be the same as the document number if you enable the option 'Copy Document number to Transaction number' in the Invoice batch source.
Hope that helps.
Thanks,
Anil -
Error message 'not a valid PDF document'
Hi folks,
my Z10 has trouble opening some PDF documents sent as email attachment. When I try to open them the error message appears:
Important message
The document cannot be opened because it is not a valid PDF document
There is no BES10 Service involved in my environment. Mails are synced with with active sync.
OS Version: 10.2.0.429
Any suggestion appreciated.
Best regards,
RAUMPATROUILLEStuffit is the only app I know of which can decompress its own format. Your Windows clients must use the free Expander to open them. Otherwise, use OS X's built in zip compression and they'll be able to open the files without the need of third party software. Right click on any item, or group of items and choose, "Compress xxx Items" (how it will read if more than one item is chosen).
-
Gettin error Cannot convert to number in RTF Template
Hi,
I am working on xml template development i am getting the followinf error
Font Dir: C:\Program Files\Oracle\XML Publisher Desktop\Template Builder for Word\fonts
Run XDO Start
RTFProcessor setLocale: en-us
FOProcessor setData: D:\Tickets\Remittance Advice XMLP\canada_report1.xml
FOProcessor setLocale: en-us
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at oracle.apps.xdo.common.xml.XSLT10gR1.invokeProcessXSL(XSLT10gR1.java:586)
at oracle.apps.xdo.common.xml.XSLT10gR1.transform(XSLT10gR1.java:383)
at oracle.apps.xdo.common.xml.XSLT10gR1.transform(XSLT10gR1.java:201)
at oracle.apps.xdo.common.xml.XSLTWrapper.transform(XSLTWrapper.java:161)
at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:1015)
at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:968)
at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:209)
at oracle.apps.xdo.template.FOProcessor.createFO(FOProcessor.java:1561)
at oracle.apps.xdo.template.FOProcessor.generate(FOProcessor.java:951)
at RTF2PDF.runRTFto(RTF2PDF.java:626)
at RTF2PDF.runXDO(RTF2PDF.java:460)
at RTF2PDF.main(RTF2PDF.java:251)
Caused by: oracle.xdo.parser.v2.XPathException: Cannot convert to number.
at oracle.xdo.parser.v2.XSLStylesheet.flushErrors(XSLStylesheet.java:1526)
at oracle.xdo.parser.v2.XSLStylesheet.execute(XSLStylesheet.java:517)
at oracle.xdo.parser.v2.XSLStylesheet.execute(XSLStylesheet.java:485)
at oracle.xdo.parser.v2.XSLProcessor.processXSL(XSLProcessor.java:264)
at oracle.xdo.parser.v2.XSLProcessor.processXSL(XSLProcessor.java:150)
at oracle.xdo.parser.v2.XSLProcessor.processXSL(XSLProcessor.java:187)
... 16 more
I have checked the code and problem was due to following code i dont know where i went wrong
<xsl:variable xdofo:ctx="incontext" name="inner_group" select=".//G_SEL_INV_DATA"/><?for-each:$inner_group?><?if:(position()-1) mod $no_of_lines_per_page=0?><xsl:variable name="first_rec" xdofo:ctx="incontext" select="position()"/>
Please help me to solve this issue...
Thanks
RajeshWhat was the problem in the template? I am facing the same error, when I put a conditional in the data field, it throws the XML-22036: (Error) Cannot convert to number.
error, where if the element was printed directly it works fine.
error
<Line 984, Column 130>: XML-22036: (Error) Cannot convert to number.
@Line 984 ==> <xsl:variable name="v148" select="format-number(string(xdoxslt:one($v147)), string('###0.00'), string('_DECIMALFORMAT'))"/>
End of Process.
<format>
Number, ###0.00
<DATA >BROKEN
If (to_number(../DocumentPayableCount) + to_number(Extend/NumberOfPO) + sum(to_number(../DocumentPayable/Extend/Commentlength))) <= 7 then Extend/InvoiceAmount end if
<DATA >ALSO BROKEN
If (../DocumentPayableCount + Extend/NumberOfPO + sum(../DocumentPayable/Extend/Commentlength)) <= 7 then Extend/InvoiceAmount end if
<DATA> WORKS
then Extend/InvoiceAmount -
Invoice number and document number not printed in payment advice
Hello Gurus,
I am executing reprint check through transaction fch7, In that Invoice number and document number not printed in payment advice. I have created zscript for that and also assinged regup-belnr and regup-xblnr and used standard program RFFOUS_C.
other fields from regup table are displayed but above two mentioned fields are not displayed.
I even tried debugging standard RFFOUS_C prog, in that regup-belnr and regup-xblnr are coming but it is not printed on form.
With regards,
VikramHi,
Debug you Zscript and check the invoice no and document no. Have assigned that script in FBZP..? check the which form is calling FCH7 in debugger mode..?
Rgds
Aeda. -
Invoice Number and Document Number
Are Invoice Number and Document Number in FI AR same?
Dont they differ, I could find only one infoobject 0INV_DOC_NO relating to both.
Is there any seperate infoobject which gives the document number in 0FIAR_C03.
Please comment.
Thanks.hi,
are you looking for clearing doc number ?
http://help.sap.com/saphelp_nw04s/helpdata/en/ee/cd143c5db89b00e10000000a114084/frameset.htm
0CLR_DOC_NO - source field BSID-AUGBL
hope this helps.
Maybe you are looking for
-
Problem with display of DW html template
Hello, I need some help on a problem I cannot see... I re-did a client's site with one of the templates that DW came with. On my PCs and on all PCs I have access to, in all Browsers and OS that es I have access to, Firefox, Seamonkey, IE, Windows Vis
-
Problem signature: Problem Event Name: APPCRASH Application Name: firefox.exe Application Version: 32.0.3.5379 Application Timestamp: 54224e2c Fault Module Name: ntdll.dll Fault Module Version: 6.1.7601.18247 Fault Module Timestamp: 521ea91c Exceptio
-
Safari won't launch on OS X 10.8.5
Macbook Pro OS X 10.8.5 2.5 GHz Intel Core i5 4GB 1600 MHz DDR3 Safari won't properly open after the system update. It bounces on the dock for a few seconds and nothing happens. When you click a few times, it crashes. However, it works fine on safe m
-
Why can't I export a PDF containing XFA forms to a word doc?
I have an application that I'm trying to export to a word doc, so I can save the modifications that I make. I get an error message that states that "PDF's containing XFA forms cannot be saved to this format" Can someone tell me what this means?
-
Webutil and arabic text in local files
We have deployed the webutil successfully at our site. The arabic works properly in the forms. However when we try to use the webutil functionality to generate text/word/excel files the arabic text comes as garbled. Any help in this regards will be a