Regarding manipulation of a field
Hi All,
I have couple of issues regarding manipulation of a field.
I have a field type c which stores some description.
Now my issues here is:
1. If that field contains a string NVS i have to read characters after NVS string in that field and find out if any numeric number like ex: 458899 (or) 778979799 etc.. exits in that field.
2. In the same field we have to check out if any string exits which starts with R and then numeric digit! Like Ex: R0019199 (or) R0019599 etc. Means R plus any numeric number exists in that field!
Can anybody solve this issue!
Thanks in advance.
Thanks,
Deep.
Hello,
Do like this.
DATA: VAR(10).
For first Issue
IF VAR CS 'NVS'.
IF VAR CA '255554515'.
Do some process...
ENDIF.
ENDIF.
For second Issue
IF VAR(1) = 'R'.
IF VAR CA '5544454'.
Do some process...
ENDIF.
ENDIF.
Vasanth
Similar Messages
-
Problem Regarding Creation of Compound field
Hi all,
I have a problem regarding creation of a compound source field.
My source field is say for eg. SF1 and SF2
Destination Field is a look up flat field say LF which has 2 display fields D1 and D2
I mapped SF1 to D1 and SF2 to D2
But when i right click at source and select 'Create compound field' for SF1 and SF2, the compound field is not created automatically.
Can anyone give me a hint as to why is this happening?
Regards,
RoshaniHi Roshani,
Just check for couple of other things, like
1) I hope its not a qualified table and none of those fields are qualified.
2) None of the fields are ther currently in the matching set in the next tab.
3) You didnt map the main filed (look up table filed, which is there as a sub-table name)
4) There are no more display fields for that table.
I hope it should be one of the above issues. please check for them.
Cheers,
Cherry. -
Regarding addition of new field in mb1a, mb1b.
Hi,
I want to add new field in mb1a or in mb1b in first screen below reason for movement field and while saving this field value and with line item hav to be fetched and get stored in ztable.
Is it possible.
Regards,
Natchi.Hi,
Ok..I will suggest...
You can use the badi MB_DOCUMENT_UPDATE..
In that there is method MB_DOCUMENT_BEFORE_UPDATE
In the method give a popup to enter your custom value..
Then use the MB_DOCUMENT_UPDATE method to update the Z table..
Thanks
Naren -
Regarding problem with assigning field to Field symbols
Hi All,
We are migrating(recreating) the program which was in 4.7 to ECC 6.0.
In 4.7 they are using the below code for assigning the field to fieldsymbol from work area as shown below.
ASSIGN wa_kostl_kstar-wkg001+offset TO <von>
wa_kostl_kstar is a work area and wkg001 is the fourth field and wkg011 is 13th field and it is taking this filed into field symbol <Von>.
In Ecc 6.0 th same code is not being accepted and throwing syntax error.
So they had changed the code in ECC 6.0 to
ASSIGN wa_kostl_kstar-wkg001+(offset) TO <von>
And there was no syntax error and while testing it goes to dump.
I had tested in 4.7 and its working fine taking the value of 13 th field to <von>,and like wise there are some other assign statements after,like this.
So any one please let me know what to do in this case.
Regards,
MADHAVA.Hi,
Hope below example can give you an idea on handling your case:
TYPES: BEGIN OF t_sal_ord,
vbeln TYPE vbeln_va,
posnr TYPE posnr_va,
auart TYPE auart,
vkorg TYPE vkorg,
matnr TYPE matnr,
END OF t_sal_ord.
DATA: wa_mara TYPE mara.
DATA: wa_sal_ord TYPE t_sal_ord.
FIELD-SYMBOLS: <fs_matkl>,
<fs_vkorg>.
ASSIGN COMPONENT 'MATKL' OF STRUCTURE wa_mara TO <fs_matkl>.
IF sy-subrc NE 0.
EXIT.
ENDIF.
ASSIGN COMPONENT 'VKORG' OF STRUCTURE wa_sal_ord TO <fs_vkorg>.
IF sy-subrc NE 0.
EXIT.
ENDIF.
Kind Regards
Eswar -
Regarding PO Module Data Fields
Hi,
I am working in Reports for Purchasing module. I have issue to find the following data fields in the Purchasing responsibility front end.Could you please help me regarding this...
1. Bill to Phone
2. Bill to Fax
3. Ship to Phone
4. Ship to Fax
5. Shipment
Regards
PrabuHi Prabu,
Bill To and Ship To are Locations.
Query up your PO, note the values in the fields Bill To and Ship To.
Navigate to Purchasing Super User > Setup > Organizations > Locations
In the Name field query the Bill/Ship to you noted.
Click on the Address field
In there is Telephone and Fax fields.
Shipment:
Query your PO
Click on the "Shipments" button.
Gareth
http://garethroberts.blogspot.com -
Regarding adding a Custom field to Standard Table
Hi ABAPers,
Can any one explain the below spec-description.
"The purpose of this design is to provide the foundation for a more automated solution to the invoice reconciliation process. This design calls for adding a custom field to the standard SAP table EINE as well as a data maintenance tool for the same. There will also be a new custom table for storing values associated with the new EINE field. These new tables will also provide users with the ability to determine which PIR are soon to expire."
We have to add one custom field to standard table EINE, how we can add this custom field to STND table.
According to me we can add it through append structure. is it correct or not.
and what is data maintenance tool.
Pls.............Explain in details.
Thanks in advance.
Regards,
Ramana Prasad. THi,
Goto SE11 ,give ur table name.Then press display button.Then in the application tool bar press on append structure ...Now create a zstructure and add ur custom field and then activate the table.
Regards,
nagaraj -
Regarding - add a new field in migo transaction
Hai guys,
i need to add one field in MIGO transaction, can u pls tell me the step by step procedure for adding the new field in migo transaction.
Regards,
N.selvamuthukumar.Hi Selvamuthu,
It is possible using the BADI MB_MIGO_BADI to add Additional tabs in header and/or item as required
MB_MIGO_BADI -> BAdI in MIGO for External Detail Subscreens
See the documentation below...........
With the Business Add-In (BAdI) MB_MIGO_BADI, you can extend the interface of the goods movements transaction ( MIGO) with additional tabstrip controls for the detailed information (detail tabstrips) and header information (header tabstrips). It is possible for an external application
to display an additional detail tabstrip with own subscreen (max. 10 lines) in MIGO
to display an additional header tabstrip with own subscreen (max. 3 lines) in MIGO
The program name, screen number and tab page text can be determined dynamically. Different screens can therefore be controlled according to the mode (for example, change mode, display mode, goods receipt, goods issue).
To read the complete documentation --go to se18 --click on BADI -- enter -- MB_MIGO_BADI----Display
inside click on "DOCUMENTATION" button and there is a complete documentation step by step
in addition to it ...--go to se18 --click on BADI -- enter -- MB_MIGO_BADI----Display ->
on the top menu -> "GOTO" -> sample code -> "Display"
in will get the "methods" tab..see the description
Initialization and Registration of Ext. Detail Screens
PBO of Detail Screen
PAI of Detail Screen
Add / Change a Line (GOITEM)
Delete a Line (GOITEM)
MIGO Reset (Delete All Internal Data)
Post Goods Movement
Check Item Data of Goods Movement
Mode of Transaction MIGO (Action / Reference Document)
Status Information and Header Data
Save Held Data
Load Held Data
Delete Held Data
PBO of Header Screen
PAI of Header Screen
Check Header Data of Goods Movement
Publish Item Data After Processing
sample code is given in these methods..so when we create a custom badi implementation of our own go to the sample code and copy the required code in the corresponding methods as required
double click on the method..for eg:IF_EX_MB_MIGO_BADI~PBO_HEADER in the sample code to see code....in this particular method we can see how method calls an external program and screen to create a new tab in MIGO...use code from mainly the following to get a new header/item tab
PBO of Header Screen
PAI of Header Screen
PBO of Detail Screen
PAI of Detail Screen
Pls take some time to analyse the code or flow but we can have the tabs in the header/item level
Hope it helps
Regards
Byju -
SAP Business Partner - Regarding "Doing Business as" field
Hello All,
There was a requirement from my client that they need to have a filed "Doing Business as " in BP category ORGANIZATION.
I was not able to find the field in SAP BP. How can I really confirm if this field is delivered by SAP before I say we need to do ABAP level coding?
My lead tells me it is available in CRM. I am working in SAP INSURANCE solutions.
Any help here would be highly appreciated.
Thanks and Regards,help me
-
Regarding Module Pool Text Field
Hi,
Can any body tell , is there any possiblity to change the font style and size of the Module pool text field.( Because I want a Heading in the screen)
Regards
PrashanthHi,
Goto the Layout Editor of your Screen.
Double click on the text field .. Double clk the text fild, and from the Botton right u can see an arrow icon -> click on that > will open a Popup > in that <b> set Area Title to TRUE </b>.
Rgds,
Jothi.
Do Award pts for helpful answers. -
Regarding selecting characteristic as Field to be changed in FOX ??
Dear Folks,
Would you kindly suggest regarding my doubt please .. ?
Am i correct .. ?
In every time i create FOX in Multi-Planning Area, i always choose all characteristic in both of cubes. I do it, although this characteristic is not used in my "KF searching" .
E.g.
I have 2 cubes A and B.
Cube A: Has characteristics & KF : a,b,c,d,e, kf1, kf2, kf3
Cube B: Has characteristics & KF : a, b, x,y,z, kf7,kf8, K9
Let say the primary keys for both of them are: a & b.
The requirements are:
1. Calculating:
KF8 = KF1 * KF2
KF7 = KF3 * KF9
Usually i make like this :
All characteristic, i make as Field to be changed incl. KF Name.
{KF,a,b,c,d,e,x,y,z}
Then for the fox:
Foreach a,b,c,d,e,x,y,z.
{KF8, a,b,#,#,#,x,y,z} = {KF1, a,b,c,d,e,#,#,#} * {KF2,a,b,#,#,#,x,y,z}.
{KF7, a,b,#,#,#,x,y,z} = {KF3,a,b,#,#,#,x,y,z} * {KF9, a,b,#,#,#,x,y,z}
End for.
My Questions are:
1. Am i correct to make code in fox like that ??
2. Am i correct to involve all characteristic as field to be changed, since i think if i make it, it means i make 1 dataset containing all data.
3. I ever try not to involve all characteristic as field to be changed. e.g. i have formula for:
KF7 = KF3 * KF9
Then i exclude char: x,y, z as field to be changed.
But the result:
- i got the value for KF7, but it's char for x,y, z is #.
If you don't mind, would you kindly help me to clear me up regarding this please ..
Best regards,
Niel.For the common characteristic:
This characteristic is stated in both cube and both cube also has the value for corresponding characteristic.
Am i correct ???
For the x,
So i got the conclusion:
- If x is only stated in one cube, you must make it as field to be changed. And i don't have to include it in foreach, but i just use OBJV. Usually i include it in foreach.
Am i correct ??
Btw, what's OBJV ?? Usually i use it for getting variable's value only.
- If x is stated in both cube, it's same like common characteristic above, so i don't need it to be taken into field to be changed.
Am i correct ?
Still need your guidance ???
Regards,
Niel. -
Regarding Making Of Mandatory Fields at Sales Order
Hi Gurus,
My reuirement at site is like this:
Separate Sales Order document type, Delivery Type and Billing type Should be maintained for Narcotic drugs. This thing i can maintain but they want,
Five fields in Sales Order will be identified and made Mandatory for entering the details of information pertaining to Narcotic drugs viz., License no, Expiry date etc., How we can make mandatory of this fields.
Please suggest me
Regards
KiranHi,
go to t.code SHD0, enter t.code VA01, and description go to screen by screen and select ur fields, make it as required indicator activation.
hope this will help u
regards,
sk -
Regarding Painting for New Field in Sales Order
Dear All,
My client wants Painting as a field in the sales order where can I find Painting as a field in SAP or from which table should I pick this from...I need to prepared the functional design since i am from the functional side.
If the same is not available in Standard SAP what is the process pls explain
Regards
AtulHi
What's painting? -
This is regarding a source structure fields
Hi to all,
Here is a reqirement, i have on source structure
i.e 0crm_mattr_attr. In this structure there are 10 fields.In that 10 fields,ATNAM and ATVAL are the fields in that source structure.
here the field ATNAM contians some fields nearly 120 fields are there.Now these fields are in row wise.Now i want to dispaly those fields in column wise.
please tell that how to code for this...
Thanks and regards,
swamiHi,
send me your code, how you are displaying right now?
Thanks,
Sreeram. -
Regarding open shipment amount field
Hi,
I would like to know the field name of Open shipment amount. Can any body please give me the solution for this.
Regards,
Suresh Kumar.Asish,
Thanks for your quick respond.Actually i am fetching open shipments from J_4F_VTTK based on STFRA <> 'V'.But i would like to know how i have to fetch the 'Open shipment' amount.
Please let me know the process. Reward points will be there.
Regards,
Suresh Kumar. -
Regarding QUANTITY AND CURR FIELD
Hi Expert,
i want to divide Currency field but when i divide currency field it givies garbage
values.
BSEG-WRBTR is curr field when i divide it by 10 it gives garbage value.
plz tell me silution.
regards,
sonuHi
What is the field to which you are moving the resultant of division?
Check the declaration of that field.
Regards
Raj
Maybe you are looking for
-
Images appearin in IE but not Mozilla
my friends and I put a site together called www.zsstar.com.au In IE the images show but in Mozilla they dont. We used the standard master detail recordset setup and am using a MS Access database to store the image names. Any ideas as to why they woul
-
Weird user/group in /usr/lib/*, pacman cannot "mmap"
Hello, i'm getting some errors i really dont understand. I was trying out flash 10 (beta), which worked ok. The next day i tried to log in, but kde 3 didn't started, as stated in ~/.xinitrc. Besides that, loggin into console as my standard user and d
-
Not able to see UWL Administration Page
I have seen the UWL configuration document which said to register the workitem types in the "UWL administration" page, but I cannot see that in the path system administration->system configuration->knowledge management we are ep 6.0 and I have the su
-
Just bought AppleTV and I'm getting 'No Signal' from Sony KDL TV
So I got an AppleTV (new) for Christmas and I'm attempting to hook it up to my Sony KDL tv using this cable (http://www.amazon.com/Aurum-Flat-Ethernet-Certified-Available/dp/B004LTQS1G/ref= sr_1_1?s=electronics&ie=UTF8&qid=1362340327&sr=1-1&keywords=
-
YouTube videos in Facebook app
It used to be that when I tapped a YouTube link in the Facebook app it would launch the YouTube app and played the video. Now it just stays in Facebook and opens a web page for YouTube where it will not play the video. Has anyone else had this proble