Retreiving latest IDOC number from Invoice number
Hi,
I am interested in retreiving latest IDOC number from a Invoice.
Usually we have multiple IDOC numbers for same Invoice number.
This is a report requirement.
thank you.
praveen
Hi,
Use NAST with the invoice to get the latest record for that output type..
use the table CMFP to get the IDOC number..The combination is
NAST-CMFPNR = CMFP-CMFPNR..
Then in the column CMFP-MSGV1 you can find the idoc number..
Thanks,
Naren
Similar Messages
-
Need po and external invoice number from Invoice.
Hi,
Can any one help me out with a tables or FM which gets PO number and external invoice number from invoice number
in SRM.?
Regards,
Neelima.Hi Neelima,
I do not have system right now , but will give direction to find out the required info.
1) go to bbp_pd and given the invoice number(SRM invoice number) in object id amd object type as BUS2234.
2) click on item line and you will see the item detail . in some table you wold notic BE_OBJECT_ID as PO number corresponding to BE_OBJTYPE as BUS2012.
so now you have the PO number.
use function module BBP_PD_PO_DOC_FLOW with the PO number and you should get the external invoice number in line item with business object corresponding to ECC invoice (BUS2081 is guess)
cheers
Iftekhar Alam -
Any function module or bapi to get sales order number and invoice number?
hi all,
with delivery order number provided, do we have any function module or bapi to get sales order number
and invoice number?
thanks.Hi,
Check
BAPI_SALESORDER_CREATEFROMDAT1
BAPI_REMUREQSLISTA_CREATEMULT Agency Business: BAPI Create Invoice Lists from Vendor Billing Documents
BAPI_REMUREQSLISTB_CREATEMULT Agency Business: BAPI Create Invoice Lists from Payment Documents
BAPI_REMUREQSLISTC_CREATEMULT Agency Business: BAPI Create Invoice Lists from Posting Lists
BAPI_REMUREQSLIST_CHANGEMULT Agency Business: Change Invoice List Documents BAPI
BAPI_REMUREQSLIST_GETLIST Agency Business: BAPI Determine Detailed Data for Invoice List Documents
BAPI_REMUREQSLIST_RELEASE Agency Business: BAPI Release Invoice List Documents to FI
Edited by: Neenu Jose on Nov 26, 2008 8:53 AM -
Creating idocs based on invoice number ocurrences
Hi ,
I want to create idocs based on invoice numbers .
Lets say i have a file coming in from sender system
Invoice1 material customer value
Invoice1 materail1 ..........
imvoice2 material2.....
invoice2 material1.....
invoice1 material3..
Invoice3. material4....
So for Invoice1 only one Idoc should be created similarly for invoice 2 which is ocurring twice in the file
only 1 idoc should be created
Let me know how to achieve this .. by UDF , or by split by value
please help
thnx
ChirdipHi,
Change the IDOC occurance to 0-unbounded.Export the xsd change the occurance and import it to external definition.
Map Like below:
invoice number--removecontext--sort--splitbyvalue(valuechange)--IDOC
other fields you need to map like below.
invoice number--removecontext--sortbykey--SplibyValue(Each)---IDOC fields
source field----removecontext------
Regards,
Prakasu.M -
GL Account info from invoice number
Hi All,
I am having the invoice number with me and i want the relevant GL account info for the same. Can anyone suggest any suitable Function call or bapi to achieve this?
Will be suitably rewarded.
many thanks,
HemantAssuming you mean an FI invoice, pass the invoice number, fiscal year, company code into FM FI_DOCUMENT_READ and you will get the line items - from which should see the relevant G/L codes.
-
Copying PO Number from SO Number to Billing Document
Hello,
My requirement is that I need to copy the PO Number from Sales Order to the Billing document whenever there is a Return Order created. What would be the Copy routine number that I need to modify? Or do I need to create a new Routine and then update the Billing Item with the PO Number from Return Sales Order? Please let me know.
Thank you,
Venkata Phani Prasad KHi
What subroutine VOFM are you using in your copy rules? Copy this VOFM to your own VOFM in your range name, and add a line to copy the PO number from SO to invoice (see Note 327220 - VOFM function and its objects).
Regards
Eduardo
PD: sorry, I wanted to update it and I've replied to myself.
Edited by: E_Hinojosa on Jan 31, 2012 3:39 PM -
Relation with spool request number and invoice number
Hi ALL,
I have developed two function modules the first one generates the Invoice Number for a particular customer.
Now on passing this Invoice Number to the second function module, I should get the Spool Request Number.
I have developed the first function module.
That Spool Request Number would display the invoice of the customer in the PDF format.
So please help me how to get that Spool request number.
Thanks and regards
ramaHi,
in your case when ever invoice created you need to store the data like spool number,invoice number,user name etc..into a <b>ZTable</b>, and then when ever you enter the invoice select the data from the ZTABLE and convert the spool to PDF and show it.
Regards
vijay -
PO number and Invoice number paying the payments using FBZ1 tcode?
Hi all,
i developed a report for pending payments as per client requirement.
i'm getting the records in my output.
but some records are not getting the PO number,Invoice number and due date as per requirement.
the client some times doing the payments using the FBZ1 tcode.
That items not displayed in my report.
so, plz give me suggestions for getting the above fields data in my report.
Thanks,
SriniYes..But they need Po number, Invoice number and due date fields in the report
and they need days of pending payments also.
That is the reason, They need z report
Thanks,
Srini -
How to get master sales order number from delivery number
Hi All,
I need logic for getting master sales order number from available Delivery number.
Note: There can be many SO's in diffrent levels.
Finally i need to pick up master sales order no.
Thanks in advance.
Thanks,
Deep.Hi,
I have a outbound delivery[VL03N] 'X' in my system .
Then for getting sales order no i am writing below code:
SELECT single vbelv vbeln
from vbfa
INTO (vbelv, vbeln)
where vbeln EQ p_vbeln AND
vbtyp_n EQ 'J'.
Then vbelv i need to pick up master sales order no.
SELECT vbelv vbeln
from vbfa
INTO TABLE i_so
where vbeln EQ l_vbelv AND
vbtyp_n EQ 'C'.
If i write code as above it is giving four sales orders which one of them is master sales order no!
Thanks,
Deep. -
How to get the Personal Number from Address Number
Hi,
I have one requirement which is as follows.
I have one Customer. I am fetching Address Number(ADRNR) of this customer number from table KNA1.
I want to find the Personal number linked to this Address number and Customer.
Is there is any table or FM from where i will get the Personal number of the Customer using Customer number and Address number?
Kindly HelpHi Sachin,
Check this FM BUP_PARTNER_PERSNUMBER_GET
" Check KNB1 and the Field name is PERNR, Most of the times this is not maintianed.
" This refers to the Employees who are assigned as Customers
" In XD03 go to the Company Code Data there you can find this Value
" For more info contact your Functional Consultant
" This is to the Best of my knowledge
Also Check KNB1 but000 Tables
Cheerz
Ram -
Skipping number from assigned number range in PR
During the creation of Purchase Requisition system is not issuing a sequential number. For instance the number range assigned to document type is '120000000' system issues number 120000001 to first PR. If we create second PR the number is not 120000002 but its either 120000005 or some other number from the same number range but not next number in the sequence.
hi,
For Requisitions generated by the MRP, if the fixed indicator on the
Requisition is not selected or the release indicator does not have a
final release, then when MRP is run again the original Requisitions can
be overwritten with a new one if the requirements change.
It depends on the settings and the different fixing and planning mode
indicators used in MD01 or MD03 or MD15, ....
So what may have happened in your system is the following :
- The MRP created Requisitions that were consequently not fixed (i.e.
EBAN-FIXKZ = blank), which is normal.
- A user changed the Requisitioner (AFNAM) and / or the Purchasing
Group (EKGRP) in ME52N.
This did not fix the Requisitions, which is also normal.
A Requisition becomes fixed in ME52(N) only if at least one of the
following fields are changed EBAN-MENGE Quantity
EBAN-LFDAT Delivery date
EBAN-FRGDT Release date
Please also check BADIs and user exits that changes the requisition.
Best Regards,
Arminda Jack -
HT4061 IMEI number from "Part Number"??
Can I retrieve an IMEI number from the "Part Number" given to me on the receipt from an iPhone 5 Flat Rate Repair? I have lost the phone since the repair and need a way to get the IMEI number for the insurance.
Not from the part number, no. That same number would apply to millions of other iPhones as well. If you have the serial number, though, it's possible that Apple or your cell carrier could give you the IMEI number. It will also be visible in iTunes, if you ever backed up your iPhone to your computer. Launch iTunes, go to the Preferences, select Devices, and hover your cursor over the backup file for the iPod. That should show you the serial and IMEI number.
Regards. -
How to find black macbook model number from serial number?
My friend has a black macbook, 2007 or late 2006 I think he said. Genius bar told him the logic board died, so I am looking for replacement part. Is there a way to find the model number from that? Or what parts it would take?
Thanks.
Message was edited by: HostTry this page:
https://selfsolve.apple.com/GetWarranty.do
That will give you the time when it was manufactured. From there, you can use an application like MacTracker to get the model information.
http://mactracker.dreamhosters.com/
~Lyssa -
Idoc number from personal number in ECC
Hi All,
i am new to idocs ,please tell me how to get the idoc number using the personal number.https://help.sap.com/saphelp_nw04/helpdata/en/d5/edf15ddcdc11d1890c0000e8216438/content.htm
01. Go to T code We09 or WE10
02.Give date range for Created on
03.Give direction : Inbound or outbound
04.Give basic Type/logical message/ Port etc ( If you know - for faster search )
05. Now next tab is Criteria for search in data record :--
a. You need Segment name : find out segment name from we02 thru some existing / known Idoc .
b. Field name : Fro WE02 can get this value
C. Once you know Segment and field name of personal number - enter all three values and execute.
You will get respective Idoc#
Hope this helps. Let us know if you need further input on this.
Best Regards/Rajesh -
How to get purchase order number from delivery number?
hi all,
how to get purchase order number and item if i have only delivery.
and in same way how to get po number and item if i know only batch number.
kindly give me some solution i need this urgently.
thanks in advance.Check the logic below:
* Selecting the Sales Documents from VBFA for corresponding Invoice
SELECT vbelv
posnv
FROM vbfa
INTO TABLE gt_itab3
WHERE vbeln EQ gt_itab5-vbeln
AND posnn EQ gt_itab5-posnr
AND vbtyp_n EQ 'J'.
IF sy-subrc EQ zero.
SORT gt_itab3 BY vbelv posnv.
ENDIF.
ENDIF.
IF NOT gt_itab3 IS INITIAL.
* Selecting the Purchase Orders from VBFA for corresponding Sales Documents
SELECT vbeln
posnn
FROM vbfa
INTO TABLE gt_itab4
FOR ALL ENTRIES IN gt_itab3
WHERE vbelv EQ gt_itab3-vbelv
AND posnv EQ gt_itab3-posnv
AND vbtyp_n EQ 'V'.
IF sy-subrc EQ 0.
SORT gt_itab4 BY vbeln posnn.
ENDIF.
ENDIF.
Batch number will be there in delivery item.
Regards
Kannaiah
Maybe you are looking for
-
Hi, I have made a report in Arabic text. But when I registered it with the Application (EBS R12.1.1) it show the Arabic text in boxes, arrows etc. Which font I can use for Arabic text or How could I resolve this issue? Regards, Waqas Hassan
-
Can anyone tell me whether you can stream audio stored on the hard drive of an Apple TV to "non-computer" clients (such as an Audiotron) via a home network? I do this currently with my (old) HP DE100C unit and it works great but the Apple TV is much
-
Where can I find the "Profiles" in Thunderbird?
I am moving from one operating system to another and would like to transfer all my Thunderbirtd settings.
-
Error while using BAPI_REQUISITION_CHANGE
Hello All, I am using the bapi BAPI_REQUISITION_CHANGE, to change the quantity for the PR number. Currently I am passing the following details:- PR number in importing parameters PR line item, Storage Location, Material Group, Quantity, and UOM both
-
Hi Both myself and my partner have i phones and I previously used my work computer to update mine. However I am now on maternity leave and we have just got the iphone 4, hence need to update both with one computer. We have managed to authorise both p