Number of registers in the document number
Hi people!
Could you tell me if there some standard transaction that give us the number of register that there are in the document number.
Based on some documents, we need to know the quantity of the registers in the document, document by document.
Thanks,
Rosana
Hi Vanessa,
One Example:
If we have a document number that there are 5 lines: 3 lines with posting key = 40 and 2 lines with posting key=50.
We need some transaction that show us to this document number, the 5 registers.
For example: Document number xxxx has 5 registers.
Thanks,
Rosana.
Similar Messages
-
EBS - Auto posting not working if text behind the document number
Hi,
When the document number is at the end of the payment reference, there is no problem.
However, when there is text behind the document number, the posting rule doesn't work anymore.
The autoposting also fails when there is a seperator (like a comma) directly added to the document number.
- In the posting rule for invoice numbers (BE51), it is able to find multiple invoice numbers and clear these together.
We were expecting this posting rule will behave the same, so when a customer mentions more than 1 document number,
it is able to find them all and clear if they fulfill the criteria (total amount of the documents matches the amount received).
But because of 1st mentioned problem, system doesn't clear anything because of additional text present.
I am look help to solve this issue
Thanks.
With regards,
V.K
Best regards,Hi,
Any input for above issue?
With regards,
V.K -
How to do Check in the files for the document number?
Hi ,
By using BAPI_DOCUMENT_CHECKIN2 Function module I am uploading the Files for the Document number.
My problem is - After uploading the files to the document number the files are not in check in status.
I want the files to be checked in after uploading the from the FM.
Can anyone tell me what I am missing ? How to do check in the files.
I am passing the following values to FM.
ls_files-SOURCEDATACARRIER = ls_file-DATA_CARRIER.
ls_files-WSAPPLICATION = ls_file-application.
ls_files-DESCRIPTION = ls_file-file_desc.
ls_files-STORAGECATEGORY = ls_file-category.
ls_files-DOCFILE = ls_file-doc_path.
ls_files-CHECKEDIN = 'X'.
CALL FUNCTION 'BAPI_DOCUMENT_CHECKIN2'
EXPORTING
DOCUMENTTYPE = ls_file_data-dokar
DOCUMENTNUMBER = ls_file_data-doknr
DOCUMENTPART = ls_file_data-doktl
DOCUMENTVERSION = ls_file_data-dokvr
IMPORTING
RETURN = ls_return
TABLES
DOCUMENTFILES = lt_files
COMPONENTS =
DOCUMENTSTRUCTURE =
I appriciate you response on this.
Thanks in advance.Any answers for this?
Thanks. -
Attaching a flat file to the Document Number
Hi,
I want to attach a flat file to the Document Number generated .
Please follow the steps :
1) Goto transaction FB03.
2) Enter into it by giving a document number.
3) At the Document overview screen you will find the 'Services for Object' button(Left side upper part of the screen)
4) When you click it you will find Create-> Create attachment will be there where you can browse and upload a flat file that tags tagged to the Document number.
Is there any FM to do this activity.
Thanks in AdvanceHi Raja,
I have used the function module
'BDS_BUSINESSDOCUMENT_CREATEF' with the following parameters .
Export:
LOGICAL_SYSTEM = 'LS_TSX100'
CLASSNAME = 'BUS6035'
CLASSTYPE = 'BO'
CLIENT = '100'
OBJECT_KEY = 'SE1201000000012006'
Tables:
Files-directory = 'C:\'
files-filename = 'POSTING.TXT'.
After that I have committed it .
The file doesn't get attached . I went into the FB02 and entered the accounting number(100000001) and checked but it has not got attached .
Please help me . -
How to include the document number in SM20 or SLG1 ?
Hi every one ,
i want to dispaly the actions made by the user so i sed transaction SM20 and SLG1 but they doesn't display the Document number created by the user ..
How can i include the document number in e result of SM20 and SLG1 ?
Thanks in advanceI have to configure SM19 first then SM20
THanks -
How to get the document number for a ware house order.
Hello gurus,
how to get the document number for a ware house order. [if GI is posted refering that WH order] .. is there any report?
Thanks in advanceThere are several options. When you post a Goods Movement, you can use LB12 -display Transfer Requirement for material document or LB11 Display TR for material.
Depending on how your system is set up you may have gotten a Transfer Order automcatically. In this case you can look at LT24 - Transfer Order for material. -
IDOC error status 'Enter the Document Number'
Hi PI or SD masters,
I have a status 51 in my IDOC. The reason was 'Enter the Document Number'. Has anyone encountered this before?Sold To Party Account number was changed
-
Enter the document number error in BAPI_SALESORDER_CHANGE
Hi,
please help me on the below error:
Call of BAPI_SALESORDER_CHANGE gives us an error V1 045 "Enter the document number". We are sure the call is proper (document number is send). The errors occurs in function module SD_SALES_DOCUMENT_READ in lines 60 and 61:
60 VBAK-VBELN = DOCUMENT_NUMBER.
61 PERFORM BELEG_LESEN(SAPMV45A).
In line 60 field VBAK-VBELN is set but in form BELEG_LESEN(SAPMV45) is initial. The value of field is checked in MV45AF0B_BELEG_LESEN line 53.
53 if vbak-vbeln is initial.
54 message e045.
55 endif.
kindly help me on this error,
Thanks in advance friends,
NaiduLOOP AT IT_ZVCONTRACT_SUSP_SAVE INTO WA_ZVCONTRACT_SUSP_SAVE.
*Assign values to required fields for for updation
SALESDOCUMENT = WA_ZVCONTRACT_SUSP_SAVE-VBELN.
ORDER_HEADER_IN-SALES_ORG = WA_ZVCONTRACT_SUSP_SAVE-VKORG.
ORDER_HEADER_IN-PURCH_DATE = '00000000'.
ORDER_HEADER_INX-SALES_ORG = 'X'.
ORDER_HEADER_INX-PURCH_DATE = 'X'.
ORDER_HEADER_INX-UPDATEFLAG = 'U'.
WA_ORDER_ITEM_IN-ITM_NUMBER = WA_ZVCONTRACT_SUSP_SAVE-POSNR.
IF WA_ZVCONTRACT_SUSP_SAVE-CFLAG EQ 'P'. "flag for permanent suspension
WA_ORDER_ITEM_IN-REASON_REJ = WA_ZVCONTRACT_SUSP_SAVE-ABGRU.
ELSEIF WA_ZVCONTRACT_SUSP_SAVE-CFLAG EQ 'T'. "flag for temporary suspension
WA_ORDER_ITEM_IN-REASON_REJ = ''.
ENDIF.
APPEND WA_ORDER_ITEM_IN TO ORDER_ITEM_IN.
WA_ORDER_ITEM_INX-ITM_NUMBER = WA_ZVCONTRACT_SUSP_SAVE-POSNR.
WA_ORDER_ITEM_INX-UPDATEFLAG = 'U'.
WA_ORDER_ITEM_INX-REASON_REJ = 'X'.
APPEND WA_ORDER_ITEM_INX TO ORDER_ITEM_INX.
*update contract for reason code
CALL FUNCTION 'BAPI_SALESORDER_CHANGE'
EXPORTING
SALESDOCUMENT = SALESDOCUMENT
ORDER_HEADER_IN = ORDER_HEADER_IN
ORDER_HEADER_INX = ORDER_HEADER_INX
TABLES
RETURN = RETURN
ORDER_ITEM_IN = ORDER_ITEM_IN
ORDER_ITEM_INX = ORDER_ITEM_INX.
ENDLOOP.
We are using it the above given way and it is working fine.
Regards,
Abhijit G. Borkar -
"Enter the document number" in BAPI_SALESORDER_CHANGE.
Hi,
I've got the following error:
Call of BAPI_SALESORDER_CHANGE gives us an error V1 045 "Enter the document number". We are sure the call is proper (document number is send). The errors occurs in function module SD_SALES_DOCUMENT_READ in lines 60 and 61:
60 VBAK-VBELN = DOCUMENT_NUMBER.
61 PERFORM BELEG_LESEN(SAPMV45A).
In line 60 field VBAK-VBELN is set but in form BELEG_LESEN(SAPMV45) is initial. The value of field is checked in MV45AF0B_BELEG_LESEN line 53.
53 if vbak-vbeln is initial.
54 message e045.
55 endif.
The error occurs only when we have mass changing of sales order and posting deliveries in reference to sales order. Single operation doesn't make any problem.
Our system:
SAP_APPL 470 with SAPKH47026
SAP_BASIS 620 with SAPKB62059
Anyone met it before? I'm quite confused.
Best regards:
Lukasz TylutkiHi Lukasz,
If I understand correctly the problem occurs with multiple calls of the BAPI within the same program call. As a general rule of thumb, this could be due to parts of the program not properly initialized. Don't try to correct the BAPI - it's hopeless.
I suggest you make use of the suggestion in note 760068 to start a new task.
This can be achieved as follows:
Call function 'XXXXXX' starting new task 'BLABLA'
performing yyyyy on end of task
...rest of function interface (only export and tables)...
wait until semaphore = 'X'.
form yyyyy
receive results from function 'XXXXXX'
importing...
tables...
exceptions....
semaphore = 'X'.
endform.
This way all data are initalized in a different LUW, thus not influencing the next function executions. An alternative would be to submit programs for each function call, passing the interface through export-import parameters, but it doesn't look as nice.
Best regards,
Stratis -
How to encrypt the document number in URL
Hi All,
I am working on a project where I need to send a URL to the user in his email, the URL contains the document number in it. when the user clicks on that URL a webdynpro application will open with data prepopulated based on the document number, now what I want his how can encrypt the document number in the URL when sending it to the user. so basically the user who gets the URL should not be able to see the document number in the URL.
Please advise.
Thanks,
Rajat GargThanks again for the reply and now I am able to encrypt and decrypt my document number... one more question please : will it be possible to chnage the whole URL to some basic message type URL for eg:
let's say our URL is "http://testdoc/post?mssg" and I want to change this to as "OPEN DOCUMENT" and when user clicks on ""OPEN DOCUMENT" it will still direct to the original destination that is our original URL.
I have been told that we don;t want to maintain custom table until and unless it's our last choice.
Thanks,
Rajat -
Problems with getting the number of hits in the document.
I need to get the number of hits in the document.
I use the query template for this porpose as:
SELECT d.id, score(1)
FROM document d
WHERE contains(d.content,'<query>
<textquery>SEARCHWORD</textquery>
<score datatype="INTEGER" algorithm="COUNT"/></query>',1)>0
AND d.id=1
problems:
1. If I have some synonyms associated with SEARCHWORD in OracleThesaurus and in case if document contains these synonyms they are not counted.
2. could you explain the following results returned by query above:
search query: word1 - numberOfHits=10
search query: word2 - numberOfHits=8
search query: word1 OR word2 - numberOfHits=10
i suppose that numberOhHits=18 for a query: word1 OR word2Hi.<br><br>
1.Synonyms (and generally thesaurus query extensions) cannot automatically uses in queries. You MUST expand you query using SYN function yourself. Query you write just applicable for only KEYWORD search.<br><br>
2. Ask yourself. I'm not seen your data. ;)<br>
Rgrds, Yuri.<br><br>
PS. Just read Oracle Text Reference - you can find many answers here. ;) -
FM module not returning the document number
Hi all,
I am using FM PRELIMINARY_POSTING_FB01 to park a document, it's working perfectly fine and I am able to park the document as well but at the end of the FM it's not returning me the document number, so can you please tell me how can I get the document number which I parked using this FM at the end of the program.
Thanks,
Rajat GargHi, Can you please expalin a little more, This is what I am passing:
call function 'PRELIMINARY_POSTING_FB01'
exporting
i_tcode = 'FV60'
I_XCMPL = 'X'
I_TCODE_INT = 'FV60'
IMPORTING xepbbp = l_xepbbp
tables
t_bkpf = lt_bkpf
t_bseg = lt_bseg
t_bsec = lt_bsec
t_bset = lt_bset
t_bsez = lt_bsez
exceptions
error_message = 1.
p_return-id = sy-msgid.
p_return-type = sy-msgty.
p_return-number = sy-msgno. -
Where is the Document Number of a Journal after the Journal has been deleted in GL?
hi, guys,
can anyone tell me where is the Document Number going after the journal has been deleted in GL? can it be reused by another journal? or it is killed and dead in database?
thanks.
EjwThey possibly still exist on the hard drive if you haven't overwritten that space already.
Your only hope is to try a file recovery program like Data Rescue 3 or some sort like that.
(note: the product linked to is an example of the suggested kind of software that may help you; it is not in any way my recommendation or endorsement of the product. I haven't used this product and can't comment on its effectiveness). -
HI Team, Recently One week back I bought a new iphone 5 from India. They have given me a used mobile which has a different IMEI number when compared to the IMEI number present on the box. Please let me know how to proceed further
When you went back to the place where you purchased this phone, & asked them, what did they say?
No one here can help you with this, nor can/will Apple. You need to take this up with whoever you purchased this phone from. -
I have just transferred my entire application file from an Imac to an identical Imac, both running OS 10.9.5. Everything works fine, excepting that when I attempt to open Photoshop 6, I am prompted for the serial number. I enter the serial number provided by Adobe, which I have confirmed with my "previous purchase" records kept by Adobe. It is demanding a "qualifying product", all of which is contained in the complete files I transferred. Why can't Adobe recognise my valid serial number for Photoshop 6?
I have just transferred my entire application file from an Imac to an identical Imac,
Say what?
Please use the proper installer.
Are you really talking about Photoshop 6 or about Photoshop CS6?
Maybe you are looking for
-
After upgrading to Yosemite and Aperture 3.6 all the library icons are shown plain. Does anyone has a hint?
-
My HP Color LaserJet CP1215 has colored text quality problems
My printer was working fine, but in the last month, I have been unable to correct a printing issue, which involves colored text that double prints or is blurry, it looks like it has a shadow mostly any color has a red shadow. I have replaced all the
-
How to switch off the function "Wiki translation" ?
The problem is when site provides you with "Wiki translation" service. If I point cursor on the line the site shows in an floating window the translation of a string or it's original. It's very annoying service! I may turn it off by not allowing scri
-
I have used Photoshop 7.0 for around 6 years and upgraded to CS5. I did the trial download for 30 days and when working with layers if I clicked on the layer to move it around, it would disappear *poof*. I'd have to hit Ctrl-T and I could usually loc
-
Hi. I want to send an acknowledgement email whenever a user submits an service ticket / complaint saying that we have recieved your email and our agents will get back shortly. 1. Where do you configure this setting. 2. When the agent searches his inb