Quantcast
Channel: SCN: Message List - ABAP Development
Viewing all 10425 articles
Browse latest View live

Re: Getting Dump while executing XML transformation

$
0
0

Hi Kim,

Thanks for replaying.

As you see above my code i am sending two internal table to transformation. Also there is XML tags in between the two tables.

 

I have one more transformation as below and it is working fine. I donot know why above said  one is not working.

 

 

CALL TRANSFORMATION zbj_1ier1_clearance_b OPTIONS XML_HEADER = 'NO'
      SOURCE clearance_details = itab_clearance
             NOTIFICATIONS = itab_notif
             DUTY_PAYABLE = itab_dutypayable
      RESULT XML  xml_clearancex.

Regards,

shree


Re: Getting Dump while executing XML transformation

$
0
0

Hello Shreenath,

 

Could it be that  you misspelled RECEIVED.. you have RECEIVEDS on one line but RECEIVED on the next.   

Regards,

Kim

Re: LSMW IDoc error : APPLICATION DOCUMENT NOT POSTED with error 51

$
0
0

to check errors check We05 or we02 they are same 

 

in general i think that most of problem is relate to Dates if that your case check that you converted dates to internal format using conversion step i advice use like this function

 

CALL FUNCTION 'CONVERT_DATE_TO_INTERNAL'

EXPORTING

DATE_EXTERNAL = ZHEADER-BEDAT

IMPORTING

DATE_INTERNAL = MBEPOH-BEDAT.

 

 

 

 

Award points if helpful

Re: Date format for Shelf life expiration date

$
0
0

Hello ,

 

I don't know how to close the thread.

 

Though my question is completely answered, I have chosen only Assumed answer.

 

Don't know how to check it as answered.

 

I would say this new sdn really sucks...the old version was far better.

 

If you are a moderator pls provide me any link which guides me how to mark the thread as answered and to close the thread.

 

Thank you.

 

Rgs,

Priya

Re: Date format for Shelf life expiration date

$
0
0

You know that asking for links is not allowed...

 

It looks to me like a moderator (sorry, can't tell who) has decided that your question has been answered and closed it for you. You don't have to do anything.

Re: Export ALV output table to an XXL file

$
0
0

Thank you Kesavada, that information was very helpful. I found though, that this program was actually exlcuding the &XXL status in the SET PF-STATUS, so I removed this exclusion and the the export spreadsheet to Excel option was available.

 

Thanks again!

Julie

Re: Running .EXE file issue

$
0
0

Hi Adam,

 

With your help I have managed to observe that the if I ran execute.bat manually , the return file would be created in the same directory as execute.bat (in my case: D:\). If I ran execute.bat from SAP it would be created in the SAP directory (in my case: C:\Users\User\Documents\SAP ).

 

Thank you though for telling me about the obsolete statement which i have replaced as you indicated, and for telling me that I should write the full path of the file which made the program run correctly.

 

Best regards,

Alex

Re: BAPI / FM to update the variant config details of an material?

$
0
0

Akshat,

The field belongs to MARA - SATNR.

If we'll go to MM03 it can be seen in Basic data 2 tab and also in MRP3 tab there.


Re: BAPI / FM to update the variant config details of an material?

$
0
0

And are you not able to pass the desired value for this field to BAPI_MATERIAL_SAVEDATA?

Re: Getting Dump while executing XML transformation

$
0
0

Hi Kim,

That is the requirement that we had. That is the format that we need to use.

Regards,

shree

Re: "AT LINE-SELECTION" event in a Query (SQ01 or SQ02)

$
0
0

Then I will lose my report assignment for Delivery Display (VL03N). I wish to have both of them and that's why I want to put some ABAP code at line-selection

Re: Internal table declaration

$
0
0

If you declare t_t_tab as

 

TYPES : t_t_tab type standard table of t_table

 

then data : w_tab type t_t_tab, then w_tab becomes a standard internal table with the structure same as t_table.

 

Or else as Santanu has correctly mentioned.

Re: Internal table declaration

$
0
0

Hi Egemen,

         it will refer to an existing data object for the type which you have created before.........and its not type it is like. you got to know the difference between type and like. so hoping it is clear goodbye........

 

 

 

 

 

 

 

 

thanks and regards,

narayan

Re: Read file from SAP directories of application server and open the same file on executing

$
0
0

Hi Niranjan,

     You can use the following function module where you will be passing the directory path and it will return all the files in that particular directory into a internal table.    

           CALL FUNCTION 'RZL_READ_DIR_LOCAL'

           EXPORTING

                name     = <default directory path>

           TABLES

                file_tbl = <internal table holding all the files>

 

and you can refer the following link for reading the files....

http://www.saphub.com/files/upload-file-sap-application-server/

 

 

thanks and regards,

narayan

Uploading photo into infotype 0021(family Members)

$
0
0

Dear Experts:-

 

Am new to abap and i know it is possible uploading  photos to infotype 0002(Employee personal data)But  i want to upload for family members (to info type 0021). so my Question is

 

1) first i would like  to tell me if it is possible

2) second If it is possible how?

 

 

Best Regards,

Hahu


Re: User Exit in Delivery Create that "knows" the Document #

$
0
0

Thank you all for your replies...I appreciate it.  I will report back in a few days as I test thru this.

 

Andy

Re: How to check correctly for information in a transparent table?

$
0
0

I'll keep on it then and unfortunately the key is not that important in this specific case because the point is if there's or there's not data related to a specific user before inserting new information but what you explain sounds pretty good as well I'll try it when I have some time.

 

Thanks a lot!

Re: How to check correctly for information in a transparent table?

$
0
0

Hi Kumar, that's not the case the table would probably have thousands of rows per user what I tried to explain was that if a user already has data on the table this must be deleted from the table before inserting new data and it's not like updating information because the incoming data will most probably be different even on its key. Either way, thanks for the help I'm pretty sure it will be useful in the near future.

 

Thanks!

Re: User Exit in Delivery Create that "knows" the Document #

Re: Comparison operator in select query

$
0
0

Hi Mallesh,

 

I second Uppu's reply.

 

It should work if Select Options is declared with same type as table field.

SELECT-OPTIONS s_usobj FOR aeoi-usobj.

 

Regards,

Nisha Vengal.

Viewing all 10425 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>