How to get Purch.Ord. number from trans. /Nmir5 once you have Inv.Doc.nr.
Does anyone knows how to get in a program PurchaseOrder number from transaction /Nmir5 once you have Inv.Doc.nr.(Invoice nr)
I was looking for tables having data element RE_BELNR but did not found a suitable table(maybe more tables are included)
Thank you in advance . I will be glad to award solution
Hi
Use the<b> RSEG</b> table which stores the Invoice doc No BELNR and FIscal year GJAHR, PO and Item EBELN and EBELP
pass them and Take the EBELN and EBELP fields from it
<b>Reward points for useful Answers</b>
Regards
Anji
Similar Messages
-
How to get payment document number from paid column in monthly invoice
Dear experts
I use SBO japan version and i need to know how to get payment document number from paid column in monthly invoice ?
in table MIN1, only contain invoice and credit note document number, there is no payment document number
thank you for your help
Best Regards
JeiMingDear Gordon
Yeah, you are right, i can use field MIentry in RCT2
thank you
Best regards
jeiming -
How to get Accounting document number from billing document number
Hi,
How to get Accounting document number from billing document number i.e. from VBAK- VBELN.
Cheta PantHi,
VBAK is the Sale Order header table, Billing document table is VBRK.
Sales tables (VBAK,VBAP,VBRP,VBRK) do not store accounting document numbers.
You do other way around. Just go to SE16 and enter the Billing document number in field Billing document VBELN in BSEG or BSID or BSAD table and execute, you will find the accounting document number.
If you just want collect this information once then you can use table BSEG, but if you think to develope a report then use table BSID and BSAD.
Regards,
Chintan Joshi -
How to get the extension Info from firefox? Do we have any firefox API to communicate with the browser? I couldnt see the HTML of the widget displayed in the toolbar how to access the widget using JS or any way
Hi,
Thanks for the suggestion. I've been playing around with some of the classes of the java.net package and java.io
Using the URL class i can get the content of the data from a STATIC page and output that response to file so that is does not display to the client broswer.
But this only works if the URL i give points to a static html page.
So the problem i'm getting is if i'm righting in arguments in the URL, this means that server needs to process the arguments i give and its sends back a dynamic result. Because its dynamic the URL class can not handle this and throws me an exception everytime :(
Have u ever tried to do some things like this?
Rahul -
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 -
How to get Shopping cart number from TECH_INFO Guid approval offline
Hi,
When a user approves a shopping cart via e-mail (offline approval), then in transaction SOIN we can the mail which is like this:
TECH_INFO_A=00F3D1395134D34D34D37DFBE75E81512DB5DB5FBE&submit_a=Approve by e-mail&TECH_INFO_R=444244093D34D34D34DF7EF9D7A0544B6D76D7&NOTM_OUT=&EOM=1
How can I retrieve shopping cart number from these guids ?
Thank you very much.
Regards,
PeggyHello,
E-mail data extraction is done by method EMAIL_DATA_EXTRACT from class /SAPSRM/CL_OFFLINEAPP_INBOUND.
With the exporting parameter EV_WIID, call function BBP_PDH_WFL_OBJECT_WI_GET: you will get the Shopping Cart number.
To have an idea of the whole mail data extraction process, check report /SAPSRM/OFFLINEAPPROVALGET
Regards.
Laurent. -
How to get Cost Center number from a Customer
Hi Sap Experts,
I have a customer number from xd03. But I would like to know which is the cost center used by this customer, how can I find that?
Because I'm getting an warning message when using FB08, it points to the Tax Jurisdiction issue. I believe at some point, it's checking the Jurisdiction field of the cost center.
Regards,
CHLHi,
Thank you for the reply.
The thing is, when I run FB08 for a specific document, i'm getting this warning Msg: Account assignment object has jurisdiction code XX, line iten XX AAAAAA.
I checked already the configurations for jurisdiction code in customer master data and the path "define tax jurisdiction code" with spro.
I noticed something, during the debug at some point its reading the cost center's jurisdiction number, and will compare it with customer's master data jurisdiction.
But if there's no cost center it will process fine.
It's in the program SAPLKAIP, form CostCenter_Check. Not sure if it's SAP standard code.
Cheers.
CHL -
How to get a decimal number from three single byte numbers
i'am in a difficult situation. I have motor which provides me the number of steps moved as three numbers of length one byte.I 'am attaching the program with this message. Here the commands from index 2-4 outputs will provide the number of steps moved. But these are numbers with a single byte length(<256). So how can I get the corresponding decimal number from these three single byte length numbers. please reply
Attachments:
stop2.vi 11 KBWithout knowing what motor you are using, I'm guessing that you probably need to use the Join Numbers to combine the bytes into a U32. The other option is to use the Type Cast function.
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines -
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 -
How to get the BP number from OBJECT ID or ID rel.Object taken from HRP1001
Hi Gurus
I am trying to find the BP number from the OBJECT ID or ID rel.Object which i got from the table HRP1001 in CRM but i am not able to find the link straightaway to get that details
Kindly help me to find out the table where i can simply put the OBJECT ID or ID rel.Object to get the BP number for ROLE EMPLOYEE
Thanks a lot
Regards
SoniHi Soni,
I found this in a different thread:
first you get the all connected partners to a position by selecting SOBID from hrp1001 (with OTYPE / OBJID of position, RELAT = 008, SCLAS = CP).
With this SOBID go again to HRP1001 and fill the SOBID into OBJID (with OTYPE = CP, SCLAS = BP) and the SOBID of the result is the connected partner number.
You can also use FM 'CRM_CENTRALPERSON_GET' instead of the last SELECT-Statement. Here IV_PERSON_ID = SOBID (of first select). You get the partner guid and can get data of the partner from but000.
In this thread:
Help needed...Infotype HRP1001--Getting details OF Position Users...
Hope it helps.
regards,
Wim -
How to get MM Invoice number from FI Accounting document number
Hi,
I am writing a query (OPEN ITEMS FOR ACCOUNT PAYABLE)through SQVI. We need to display MM Invoice number from FI Accounting document number . Please let me know the table name from where I can join FI document number and can retreive MM Invoice number.
Thanks
Ramahi,
use this.
SELECT belnr
awkey
INTO TABLE it_bkpf
FROM bkpf
FOR ALL ENTRIES IN it_mkpf
WHERE awkey = it_mkpf-awkey. -
How to get sd major number from my driver
Hi,
I have a specific question. I have a driver (mydriver) that acts like a filter driver.
When it receives IO from the file system through strategy() routine, it wants
to replace its b_edev with that of sd device instance. mydriver creates minor
nodes exactly as sd driver. All I need is to know what is the major number
of sd driver. How do I do this programmatically through mydriver?
Your help is greatly appreciated.
Thanks,
sudhakarHi,
I am trying to develop a "filter driver" at the file system level for Solaris to get the statistics of some of I/O calls send to a SCSI device. It exists between the VFS and the file-system-dependent layer. Does anyone has experience in developing such a "pseudo file system module". Please share your experience and suggestions.
Initially I was thinking to develop this by getting the "st" major number. That is the reason it is been posted as a reply to this query.
Thanks in advance
-Jiji -
How to get a Random number from a list
Dear Experts,
I have a list in which I have 24 employee number, and from this I have to select 4 employees number Randomly,
So please suggest how can I achieve this.
Warm Regards
Upendra AgrawalHello
do 4 times.
CALL FUNCTION 'QF05_RANDOM_INTEGER'
EXPORTING RAN_INT_MAX = 24
RAN_INT_MIN = 1
IMPORTING RAN_INT = ind.
read table itab index ind.
" do anything here
enddo. -
Urgent help!! how to get schedule aggrement number from in bound delivery??
hello friends,
I have an urgent requirement for report. in which i have to diaply schedule aggrement number , in-bound delivery number , GR number and accounting document.
my input is inbound delivery date .
i found inbound delivery from likp-lips with type 'el' but not able to trace the schedule line number ,gr and ir , kidnly help me
thanks in advace
jaseright the query using table LIPS, EKKO, EKPO and EKBE
If you need than only use LIKP othre wise you will get the date from LIPS
make join from LIPS to EKKO than EKPO then EKBE
LIPS-VGBEL field can join to PO document of EKKO -
How to get Account Identification Number from a different component
Hi,
My requirement is
I have created a zview in component ICCMP_BT_IRHIST.
I am navigating from one view in ICCMP_BT_IRHIST to this zview.
I want to get the account identification number in this zview.
The account identification (attribute is present in this component CRMCMP_BPIDENT.
For getting the account identfication number
i m writing this code in the layout of the zview
TRY .
lr_cuco ?= controller->get_custom_controller( 'CRMCMP_BPIDENT/CuCoBuPa' ).
CATCH cx_sy_move_cast_error.
RETURN.
ENDTRY.
check lr_cuco is bound.
lr_entity ?= lr_cuco->typed_context->SEARCHCUSTOMER->collection_wrapper->get_current( ).
check lr_entity is bound.
lv_account_name = lr_entity->get_property_as_string( iv_attr_name = 'BP_NUMBER' ).
But im not able to get the account identification number the problems are
lr_entity is initial ...where as lr_cuco is bound only....to this view....
waiting for suggestions....
Regards,
Sijo....Hi ,
In the IC Agent Role there is predefined Global Context Node, You can use the Following
DATA: lr_gdc TYPE REF TO if_crm_ui_data_context.
lr_gdc = cl_crm_ui_data_context_srv=>get_instance( me ).
lr_entity = lr_gdc->get_entity( name = if_iccmp_global_data_cont_con=>gdc_currentcustomer ).
Based upon ur Rrequirement you can use
GDC_CURRENTBT
GDC_CURRENTCASE
GDC_CURRENTCONTACT
GDC_CURRENTCUSTOMER
GDC_CURRENTINBOXITEM
GDC_CURRENTIREC
GDC_CURRENTCONTEXT
GDC_CURRENTIBASE
GDC_CURRENTIOBJECT
GDC_CURRENTSERVICETICKET
Parameters in the if_iccmp_global_data_cont_con
Regards
Vikranth
Maybe you are looking for
-
How can I have two pages in the same Oracle Drive Path?
I have been using OracleDrive for some time to publish a specific kind of document once every week. Now I have on my front page a content area that show the newest 3 of these documents. However, I'd like to place a link at the bottom that says "Show
-
Can I have my new iCloud email address be the default instead of my Apple ID?
My apple ID is based on an old @mac.com account that no longer works. My new iCloud account has given me a new @me.com account but I can't use it as the default and all email going out from iPhone apps, i.e.: news articles, etc., is being sent from t
-
Set 2520 printer to turnoff when not in use
How do you set the printer to sleep when not in use? This question was solved. View Solution.
-
Dear friends, I am having a difficult time to transfer(or say export) data of the tables in oracle to anther system (eg. saved as a flat table, can be opened using notepad, etc.). I would very appraciate if someone can tell me how to do it. Thanks fo
-
Terminate the Running Application
Hai To All, Iam running the application its all gets connected. But i had one issue, while application is running inbetween iam ending the process of SAP B1 Application that is i go to task manager and i stop SAP. Now the vb.net applicat