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 KB
Without 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
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 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 -
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 solutionHi
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 -
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 Delivery Doc Number From Picking List Number?
Helo All...
How can I get the delivery document numbers from the picking list numbers?
ThanksTry using transaction SE16 and table VBFA- subs. doc category Q should give a list of pick list numbers the preceding document is the delivery. Note you may have to go to settings> fields for selection to choose subs doc categ. so that it appears as a selection.
-
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
-
Ever since I upgraded to 1.4.3 and now I am running mail 2.0.5. When I select a file to label as junk my mail just starts spinning the ball. Most of the time I have to force quit. I turned off all of the filters and it doesn't change anything. I remo
-
Multiple Execution of VIs in TestStand
Hi everybody, I'm trying to run multiple VIs with TestStand. Right now I'm using the ActiveX command : Engine.NewExecution to start multiple Sequences which contain 1 VI. To communicate between these Sequences, I have to use StationGlobals. Is there
-
Multiple Topics/Queue for Single MDB?
Hi - Is it possible to configure single MDB to handle multiple Topic/Queue in JMS? I used two <jndi-name/> tags for two topics, but only the first one got picked up by the AS7 server. If one MDB can be configured to take multiple topics, how should I
-
Implications of Domain Migration / Rename to SCCM 2012 R2
Our agency is preparing to migrate our entire AD to a new AD domain with a new name. I'm looking for any docs or user experiences with SCCM 2012 R2. Will I need to reinstalled a new SCCM 2012 R2 site in the new domain or is there a way to 'move' the
-
Upload / download of files
Dear Friends, I know that the question will probably be redundant to you all but here it goes: how do I go about uploading a file for download from my site. ( in this case a PDF ). I suspect that it has to go in a ftp public folder but don't have a c