How to change data in a particular segment?
while creating po with 10 materials,idoc has E1EDP01 segment 10 times,Now I need to delete one among those 10 segments ensure that it is a generic material.for this i am doingmodification in exit_sapleinm_002.
how to read data from e1edp01 and modify the data?
i have coded this but the segment e1edp20(child segment to e1edp01) is coming with data in idoc output. i should not get this
if int_edidd-segnam = lc_segname.
ls_e1edp01-uepos = ' '.
if ls_edi-segnam = lc_e1edp19.
ls_e1edp19_tmp-qualf = '001'.
ls_e1edp19_tmp-idtnr = ls_e1edp19-idtnr.
append ls_e1edp19_tmp to lt_e1edp19_tmp.
lv_matnr = ls_e1edp19_tmp-idtnr.
SELECT matnr attyp
FROM mara
INTO TABLE lt_mara
WHERE matnr = lv_matnr
AND attyp = '01'.
IF sy-subrc EQ 0.
read TABLE lt_mara into ls_mara index 1.
IF ls_edi-segnam = lc_e1edp20.
ls_e1edp20-wmeng = ' '.
ls_e1edp20-ameng = ' '.
ls_e1edp20-edatu = ' '.
move ls_e1edp20 to ls_edi-sdata.
append ls_edi to int_edidd.
ENDIF.
ENDIF.
ENDIF.
ENDIF.
Similar Messages
-
How to change data element of IDOC segment
HI Experts,
I have copied a segment E1ISU_MEASUREMENT_MEA to ZE1ISU_MEASUREMENT_MEA.
Now i want to change data element of one of the field of the segment.
Please guide me how i can do it?
is there any disadvantages of doing this?
can we do it easily?
please give me step by step instructions if possible .
thanks in advance
AnitHi,
When you want to modify the segment details of a particular IDoc, you could do the same by editing the segment details via t-code, WE19. Once you edit, click on, Outbound or Standard Inbound if your IDoc is Outbound or Inbound respectively. A new IDoc will get generated. The generated IDoc will be in "yellow" status, ready to be picked up by a batch job if there exists one. Else you need to manually process the IDoc via the respective program.
~ Bineah -
How to change data type of attribute in caf
hi.
this is my problem.
i been added a attribute in an entity service called emloyee. named "Birthday", use the data type "com.sap.caf.core.date".
when i tried modify the entity service, i hit exception about "DST Daylight Saving Time".
because of DST, the date will add an hour such like "1957/04/01 00:00:00.0" to "1957/04/01 01:00:00.0", and com.sap.caf.core.date will throw an exception.
is anyone had same problem like me?
how to fixed it(if passable)?
and, how to change data type?
thanks.Hi Sruthi,
all you need to do on this is open the report go to the parameters, select the parameter that you wish to change and click "Edit". This will allow you to change thefield to a date rather than a date time.
Regards,
Noel -
How to change data source name and context root during deployment
Hi,
Env:
WLS 10.1.3
JDev 11.1.1.6
Hudson
I need to deploy two instances of my ADF application on the same development enviroment. We are using Hudson to deploy. My question is how to change data source name and application context root before second deployment.
KubaI don't believe there is an inbuilt facility to do this.
Previously how I've done this is when checking files out using Hudson jovs, before the build I then use an Ant extension called XmlTask (http://www.oopsconsultancy.com/software/xmltask/) to modify the required XML files.
Can I ask why you're doing this in the first place please? Multi-tenancy? 2 versions of the same app?
CM. -
How to change data format from MM/DD/YYYY to DD/MM/YYYY
HI,
How can we change data format from MM/DD/YYYY to DD/MM/YYYY in Prompt and Report Level in obiee 11g.
Please help me ont this.
ThanksHi,
In Prompt:
Try using EVALUATE function.
Eg: Evaluate('TO_CHAR(%1,%2)' as character(30),"D5.Times"."Day Date",'DD-MON-YYYY')
Report level:
Try this in the column formula-
Evaluate('TO_CHAR(%1,%2)' as character(30),"D5.Times"."Day Date",'MM/DD/YYYY')
(or)
EVALUATE('TO_CHAR(%1,%2)' AS CHARACTER ( 30 ), "Dim- Date".Start Date, 'MON-YY')
http://108obiee.blogspot.in/2009/03/how-to-change-date-format-mask-in-date.html
http://obiee-bip.blogspot.in/2011/08/customizing-obiee-calendar-display.html
Some other methods.
Metdhod 1:
'Save System-Wide Column Formats' Option
Check this.
http://siebel-essentials.blogspot.com/2010/10/11-obiee-11g-tips-9-system-wide.html?m=1
Thanks
satya -
How to change date format in OBIEE
Hello
I have a need to change the date column to a varchar column in OBIEE..
The date column stores data in the format of 'YYYY/MM/DD', I need to change this to a varchar column with this format 'YYYYMM'..
Since I am pointing directly at the transactional database, I can't make any changes at the database level, so I will have to do it in OBIEE layer, any ideas how it could be done?
Many thanks in advance!hi user,
Refer : http://varanasisaichand.blogspot.com/2010/01/how-to-change-data-format-to-our-custom.html
http://varanasisaichand.blogspot.com/2010/05/evaluate-function.html
Thanks,
Saichand.v -
How to change date format in select-option (mm.yyyy).
Hi,
Plz, How to change date format in select-option (mm.yyyy).
in my selection screen date type selection-option is there ,when i am enter date it's taken dd.mm.yyyy format,but i want mm.yyyy format.
how to set that .
Regards,
Kk.sorry
parameters : pmonyr type spmon or
select-options : sspmon for PGPL-spmon .
or what table ccontains spmon.
regards
shiba dutta -
How to change Date format in Prompts.
Hi,
How to change Date format to DD/MM/YYYY in Dashboard Prompts.Kindly let me know.Hi,
try to below ways
1) By using cast fxn you can solve it.
SELECT CAST("YOUR COLUMN" AS DATE) FROM "SUBJECT AREA NAME"
2) This is a known bug get patch Bug 9280334: CALENDAR DD/MM/YYYY PROMPT IN DASHBOARD RETURNING FORMAT YYYY-MM-DD HH:MI:SS from support.oracle.com
3) refer
http://108obiee.blogspot.com/2009/04/changing-date-format-mask-in-javascript.html
Thanks
Deva -
Can anyone help me with this, Please?
I have a form with start date and end date and the date format I am getting is YYYY-MM-DD. But I would like to change it to MM-DD-YYYY format. How do I achieve this??
When I went to JFPREAMBLE_1, i see it reads:
^define group:PO_DOC_COMM__SVC_STRT_DT!FldNotAvail \groupG_Commodity_Line\fieldPO_DOC_COMM__SVC_STRT_DT.
^define group:PO_DOC_COMM__SVC_STRT_DT!FldUsed \groupG_Commodity_Line\fieldPO_DOC_COMM__SVC_STRT_DT.
^define group:PO_DOC_COMM__SVC_END_DT!FldNotAvail \groupG_Commodity_Line\fieldPO_DOC_COMM__SVC_END_DT.
^define group:PO_DOC_COMM__SVC_END_DT!FldUsed \groupG_Commodity_Line\fieldPO_DOC_COMM__SVC_END_DT.
Can I change anything here to change the format??? Or how do I change date format??
I would really appreciate your help on this. Thanks in advance.Hi,
Try this in the column formula-
Evaluate('TO_CHAR(%1,%2)' as character(30),"D5.Times"."Day Date",'MM/DD/YYYY')
(or)
EVALUATE('TO_CHAR(%1,%2)' AS CHARACTER ( 30 ), "Dim- Date".Start Date, 'MON-YY')
http://108obiee.blogspot.in/2009/03/how-to-change-date-format-mask-in-date.html
http://obiee-bip.blogspot.in/2011/08/customizing-obiee-calendar-display.html
Some other methods.
Metdhod 1:
'Save System-Wide Column Formats' Option
Check this.
http://siebel-essentials.blogspot.com/2010/10/11-obiee-11g-tips-9-system-wide.html?m=1
Thanks
satya
Edited by: Satya Ranki Reddy on Jul 2, 2012 3:57 PM
Edited by: Satya Ranki Reddy on Jul 2, 2012 3:59 PM
Edited by: Satya Ranki Reddy on Jul 2, 2012 4:13 PM -
How to change date format in BR?
Hi all!
Does anybody know how to change date format in BR?
I created global variable with type DateAsNumber and usage type run-time promt and used it in BR
Then I launched a BR on the form and chose necessary date. Date stored in MM/DD/YYYY format, but I need DD/MM/YYYY.
I tried to change format through Planning but then I recieved uncorect result(for instance, I selected 4(April)/14/2009 but it was stored as 4/02/2010)Hi,
the date is always stored the same in Essbase. I think it's YYYYMMDD.
You can change the format you enter the date in webforms and business rules by changing your planning application settings (Preferences->Display Options).
Cheers. -
How to Change Date Format in Registry
how to change date format in registry so when u qeury the date column, it display in our specific format like 20-05-2005 instead of 20-may-05. i dont want to use to_char in query
thanksUnder HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE\HOME{X}
NLS_DATE_FORMAT = 'dd-mm-yyyy'
You could also change the database date format :
SQL> alter system set NLS_DATE_FORMAT = 'dd-mm-yyyy' scope=spfile;
and restart the DB. -
How to change date for Compensation Package Offer (IT0706)
I try to change date for an existing record in IT0706 to a later date, however system prompted "The compensation package was already activated. It can not be changed" As I checked, the record status is "Activated". Can anybody help to advice on how to change the date ?
Thanks~Hi Kishor...Thanks for reply...
But i need to change my precentation variable date formt...
i need to write one text like: 'Year to dd/month/yy' in one column formula..
So how can i achieve it.. -
How to change data type of input parameter
Hi
In my procedure i declared the data type of "Value Date" Input parameter as Date where as in CR it is showing data type as "Date Time". Can any one please specify how to change to Date.
While prompting for input parameter in description it is showing message as
Please enter Date time in format"yyy-mm-dd hh:mm:ss" . To change the content selected "format field" option. But is there any way to change input parameter data type.
Please suggest how to change.
Thanks SruthiHi Sruthi,
all you need to do on this is open the report go to the parameters, select the parameter that you wish to change and click "Edit". This will allow you to change thefield to a date rather than a date time.
Regards,
Noel -
How to change date and time format
Hi experts,
Can i know how to change the date and time format?
I want the date format to be dd-mmm-yyyy and time format to be hh:mm:ss
These date and time is in my sapscript form.
I make use of PERFORM function in sapscript.
This is the code in my print program.
FORM get_actlog_QA TABLES in_tab STRUCTURE itcsy
out_tab STRUCTURE itcsy.
DATA: object TYPE string, "
qaname LIKE JCDS-USNAM, "NAME for engineering process, QA Manager
qadate LIKE JCDS-UDATE, "DATE changed in engineering process, QA Manager
qatime LIKE JCDS-UTIME. "TIME changed in engineering process, QA Manager
DATA: lt_jcds type standard table of jcds,
wa_jcds like line of lt_jcds,
new_date(10) type c.
READ TABLE in_tab INDEX 1.
MOVE in_tab-value TO object.
select * into CORRESPONDING FIELDS OF TABLE lt_jcds
from jcds WHERE objnr = object
AND ( stat = 'E0005' )
AND inact = ''.
Loop at lt_jcds into wa_jcds.
qaname = wa_jcds-USNAM.
qadate = wa_jcds-UDATE.
qatime = wa_jcds-UTIME.
READ TABLE out_tab INDEX 1.
MOVE qaname TO out_tab-value.
MODIFY out_tab INDEX sy-tabix.
READ TABLE out_tab INDEX 2.
MOVE qadate TO out_tab-value.
MODIFY out_tab INDEX sy-tabix.
READ TABLE out_tab INDEX 3.
MOVE qatime TO out_tab-value.
MODIFY out_tab INDEX sy-tabix.
endloop.
clear wa_jcds.
ENDFORM.
This is my PERFORM in sapscript.
/: DEFINE &V_QANAME& = ''.
/: DEFINE &V_QADATE& = ''.
/: DEFINE &V_QATIME& = ''.
/: PERFORM GET_ACTLOG_QA IN PROGRAM ZFIR002
/: USING &VIQMEL-OBJNR&
/: CHANGING &V_QANAME&
/: CHANGING &V_QADATE&
/: CHANGING &V_QATIME&
/: ENDPERFORM.
Sapscript
Prepared by : &V_QANAME& ,, &V_QADATE& ,, &V_QATIME&
The output now is
Prepared by: Name 20080312 115536
I want to change the date format to 12-MAR-2008
and the time format to 11:55:36
Can anyone please suggest on how to solve this?
Thank you.Hi,
Before assigning the QADATE value you can write the logic to display 20080312 as 12-MAR-2008 taking the offset values .
Like
qadate = wa_jcds-UDATE.
qatime = wa_jcds-UTIME.
lw_year = qadate(4).
lw_month = qadate+4(2).
lw_date = qadate+6(2).
case lw_month.
when 1.
when 2.
concatenate lw_date '-FEB-' lw_year into qadate.
when 3.
concatenate lw_date '-MAR-' lw_year into qadate.
endcase.
READ TABLE out_tab INDEX 2.
MOVE qadate TO out_tab-value.
MODIFY out_tab INDEX sy-tabix.
And you can also change the timeformat also .
then assign that value to qatime .Then
READ TABLE out_tab INDEX 3.
MOVE qatime TO out_tab-value.
MODIFY out_tab INDEX sy-tabix.
I think this helps you.
Regards,
Rajitha. -
Hi everyone,
I m trying to change from one D.O. to another using the "Global Change Data Object" at BAM Active Studio, but when I find the D.O. wich I want to use the radio button its greyed out. I really need to change the D.O. and I dont see how to do it.
Thanks in advance,
Mario MesquitaIt will only let you change dataobjects if all the fields are identical to the reports current dataobject.
Maybe you are looking for
-
New MacBook Pro. Came with OS 10.7.4 Used Migration Assistant in initial set up Safari crashes immediately on launch System I migrated from, had Safari 6 Don't see any way to reload or to update Safari 6 on the new MBP Software Update says all soft
-
power botton not working after restoring my iphone 5 i change the power and volum flix cable 2 times and still not woking i am sure it's not hardwear problem so i restore it agine and still as is it nothing change i fix the old organel voluem and pow
-
I just bought the nikon d600 and i can't download raw files?
I just bought the nikon D600 i can't download raw files into LR4?
-
Hello, I am looking for a little explanation guide for users who wants to use the UWL. Does anyone know where I can find it? I don't mean the configuration guide, only a little documentation about tasks, ad hoc etc. Thanks, Kirsten
-
PDF Expert won't edit files after iOS 7 installed
My iPad mini is locking up when I attempt to move files in PDF Expert after downloading via iTunes. How can I get this feature to work?