Quantcast
Channel: SCN: Message List - ABAP Connectivity
Viewing all 3125 articles
Browse latest View live

how to add customized infotype into standard msg type HRMD_A01

$
0
0

Hi Experts,

 

  Our customer need to distribute SAP HR master data to OA system timely.however, there are several customized infotypes which cannot triggered by standard message type HRMD_A01. Now, segment Z1P9504 of customized infotype HRP9504 has been added to E1PITYP. we have no idea what are the next steps? where to transfer values to idoc structure? look forward to you help, thanks!

QQ图片20140610095114.jpg


BADI : BIC_ADDITIONAL_DATA - PARAMETER - CS_MASTER TO BE MODIFIED

$
0
0

Hi All, I am using a badi : BIC_ADDITIONAL_DATA for extending one field for the report called in T.Code : BMBC

 

Implemented  to ZBIC_ADDITIONAL_DATA and the following method been extended and writen code.

 

Method IF_EX_BIC_ADDITIONAL_DATA~MASTER_COLUMNS_ADD extended one field like this.

 

Code return in the method:

DATA : WA_ET_MASTER_FCAT_ADD TYPE LVC_S_FCAT. 

WA_ET_MASTER_FCAT_ADD-COL_POS  = '3'. 

WA_ET_MASTER_FCAT_ADD-FIELDNAME = 'LICHN'. 

WA_ET_MASTER_FCAT_ADD-REF_FIELD = 'LICHA'. 

WA_ET_MASTER_FCAT_ADD-REF_TABLE = 'MCHA'. 

APPEND WA_ET_MASTER_FCAT_ADD TO ET_MASTER_FCAT_ADD.

 

Now i have to populate data to the new field LICHN.

 

This method is used to add the value for the new field.

IF_EX_BIC_ADDITIONAL_DATA~MASTER_ADD_DATA_FILL_IN

 

Parameter :CS_MASTER available in method MASTER_ADD_DATA_FILL_IN to be modified for getting the value for the field LICHA

 

CS_MASTER is the type ANY. So, we need to modify the parameter, it is not the straight forward approach. I need to used OOPS code to modify the value. Can you guide how to add the value to the parameter CS_MASTER. Regards, Ambrose

Re: Create 2 outbound Idocs for 1 message type

$
0
0

Hello Vitish

 

Each output partner can have it's own output. Also for the same message type. Maybe the 2 DESADV IDOC's are sent to different partners or destinations. But even when not you still can define 2 different output partners for the message type. Then 2 outputs will be triggered for the same message type.

 

Regards Jack 

Re: Logon Property: RFCWithDialog Problem

$
0
0

Hello, the things I can think of

 

  • The RFC user is not flagged in SAP as a dialog user.
  • No SAPgui is installed on the client. That will allow RFC connections but no debugging as a SAPgui is required for debugging.

 

Regards Jack

IDOC's Issue in FI

$
0
0

Dear Friends

 

We have a requirement where I want to send a IDOC file to the bank for Japan & Taiwan legal entities, For Japan we need to send the IDOC file with vendor name in Japanese Language, whilst Taiwan legal entity will have Chinese Vendor name & it must appear in Chinese language.

 

kindly put some light on this & let me know how to solve? Appreciate your valuable suggestions!!!

 

Cheers

Pradyp

Re: IDOC's Issue in FI

$
0
0

Why don't you tell which IDOC you want send? How do you create this IDOC?

Do you have the vendor names already in Japanese and Chinese language in your system?

How to find hardcode in an IDOC coding

$
0
0

Hi Experts,

 

I am working on a project in which i need to find our set of hardcode in all the idocs and then replace it with some other. Is there any way to find all hardcode of an idoc in one place.

 

Any help is extremely appreciated.

Re: BADI : BIC_ADDITIONAL_DATA - PARAMETER - CS_MASTER TO BE MODIFIED

$
0
0

.In Debugging you can get the structure of CS_MASTER  .copy the structure and declare it .Move the value from cs_master to new structure .Populate the value in the new structure and append it to CS_MASTER.

Issue is Solved


Re: NULL bytes in HTTP Response

$
0
0

I did not create the web service. I only consume the info it provides. I can not make any changes in the web service. It is a regular REST service not a SOAP service. So testing it with SOAP UI is pretty much out of the question.

How to enable/customize URL links in R/3 ECC system

$
0
0

Dear Friends

 

we have a requirement in R/3 ECC system where we need to call a web links (URL's) and this URL need to navigate to the external system like  

Eg: Google & can access few details/information from it. All I want to know is, what is the way to achieve this requirement & where I can start with.

 

Await for your valuable suggestions

 

Cheers

Pradyp

Re: How to enable/customize URL links in R/3 ECC system

Re: How to find hardcode in an IDOC coding

$
0
0

Hello Mayank,

 

May be this report RS_ABAP_SOURCE_SCAN can help you.

Re: How to find hardcode in an IDOC coding

$
0
0

This help in finding code in SAP reports and FM will we cannot give Idoc names to it.

Re: How to find hardcode in an IDOC coding

$
0
0

You can control based on Function Group. From partner profiles you can check available Idoc types and get corresponding FM then FG.

 

Put FG and package as Z*/Y* for custom changes.

Re: IDOC's Issue in FI

$
0
0

Hi Jurgen

 

Thanks for your quick reply.

 

Actually we have vendor names maintained in their respective languages. As we have maintained two set of languages  Name1: English, Name2: Japanese.

 

Vendor Master details:

 

Vendor master.jpg

here we have Name 2 in Japanese language & it need to displayed the same in IDOC file too.

 

IDOC details:

 

IDOC Type: PAYEXT

 

IDOC.jpg

as mentioned in the above screen, I'm unable to get the Japanese language in Name2 field, while I'm getting ZULU Language. Kindly let me know how can I get the Orginal language which is available in vendor master.

 

Await for your valaubale suggestions!!!

 

Cheers

Pradyp


Re: IDOC's Issue in FI

$
0
0

The screen shot from LFA1 does not really convince me. As it is already more than a decade that SAP does not use LFA1 for addresses. already with a 4.0B or something release SAP came up with central address management. So you need to look up the address number in LFA1 and then you need to see what you have in ADRC table for this address number.

And SAP does not automatically translate something that was entered in Japanese characters to Zulu language , so this value must have been taken from somewhere else than LFA1.

In general you should not have a mixture of different language in one record.

Using different languages in different fonts is usually covered with International address versions.

With this you get an extra button in your vendor master address screen and you maintain the address once in the Japanese  and once with the international characters. SAP will then choose the address version case based, eg, Japan to Japan business it will use Japanese, and Japan to other countries it will use the alternative address version.

XML format of IDOC

$
0
0

Hi Experts,

 

I would like to download the XML format of an IDOC.  For example, I would like to have something like this with all the fields of the IDOC:

 

<?xml version="1.0" encoding="UTF-8"?>

<ZORDERS01 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../Schemas/zorders01.xsd">

<IDOC BEGIN="1">

  <EDI_DC40 SEGMENT="1">

    <TABNAM>EDI_DC40</TABNAM>

    <DOCNUM>0000000000004711</DOCNUM>

    <DIRECT>1</DIRECT>

    <IDOCTYP>ORDERS01</IDOCTYP>

    <CIMTYP></CIMTYP>

    <SNDPOR>SAPP01</SNDPOR>

    <SNDPRT>LS</SNDPRT>

    <SNDPRN>aaaaaaaaaa</SNDPRN>

    <RCVPOR>aaaaaaaaaa</RCVPOR>

    <RCVPRN>aaaaaaaaaa</RCVPRN>

  </EDI_DC40>

  <E1EDK01 SEGMENT="1">

    <BSART>ZOPE</BSART>

    <LIFSK>03</LIFSK>

  </E1EDK01>

  <E1EDK14 SEGMENT="1">

    <QUALF>006</QUALF>

    <ORGID>20</ORGID>

 

Is there any transaction that enables to download the structure of an IDOC in this format?

 

Thanks,

Vitish.

Re: XML format of IDOC

$
0
0

Hi Vitish,

 

Please use the procedure mentioned below, which may help you what you intend to

 

- Input t-code IDOC

- In selection screen, select 'Analyse IDOC field values

- Press F8

- Input your IDOC number

- Check mark on 'Also evaluate empty fields

- Click on 'Output in internal form' : this is very much important thing

- The execute

- You will see all the data

- Then go to 'List'>Save/send option from where you can achieve your purpose.

 

Please validate the same at your end, let me know in case you need any further inputs from my end.

 

BR/Thanks

Pranav Agrawal

Re: XML format of IDOC

$
0
0

Hi Vitish.

 

For this

T-Code-> IDOC

Click on analyse field values Radio button

F8

Give IDOC no.

Click on push button "Output In Internal Form"

F8

then click on menu button

List->Export->Local File

Choose radio button "XML'

 

then give ur desired location ur file is downloaded

Re: XML format of IDOC

$
0
0

Hi pranav,

 

Thanks for your reply.  But i am not getting the output i wanted.  Below is teh output i get when i follow your suggestions:

 

-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

|Seg.type                   |Qualified segment ID|                              |                                                            |                                                                                                                                    |

-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

|Segm.Name                  |Q                   |Fld Name                      |Description                                                 |Fld Cont.                                                                                                                           |

|EDIDC                      |                    |MANDT                         |Client                                                      |390                                                                                                                                 |

|EDIDC                      |                    |DOCNUM                        |IDoc number                                                 |0000000000213061                                                                                                                    |

|EDIDC                      |                    |DOCREL                        |SAP Release for IDoc                                        |731                                                                                                                                 |

|EDIDC                      |                    |STATUS                        |Status of IDoc                                              |53                                                                                                                                  |

|EDIDC                      |                    |DOCTYP                        |IDoc Type                                                   |                                                                                                                                    |

|EDIDC                      |                    |DIRECT                        |Direction for IDoc                                          |2                                                                                                                                   |

|EDIDC                      |                    |RCVPOR                        |Receiver port (SAP System, EDI subsystem)                   |SAPD51                                                                                                                              |

|EDIDC                      |                    |RCVPRT                        |Partner Type of Receiver                                    |LS                                                                                                                                  |

|EDIDC                      |                    |RCVPRN                        |Partner Number of Receiver                                  |D51TDEX310   

 

but this is not what i want.

 

I would like output like this:

 

<?xml version="1.0" encoding="UTF-8"?>

<ZORDERS01 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../Schemas/zorders01.xsd">

<IDOC BEGIN="1">

  <EDI_DC40 SEGMENT="1">

    <TABNAM>EDI_DC40</TABNAM>

    <DOCNUM>0000000000004711</DOCNUM>

    <DIRECT>1</DIRECT>

    <IDOCTYP>ORDERS01</IDOCTYP>

    <CIMTYP></CIMTYP>

    <SNDPOR>SAPP01</SNDPOR>

    <SNDPRT>LS</SNDPRT>

    <SNDPRN>aaaaaaaaaa</SNDPRN>

    <RCVPOR>aaaaaaaaaa</RCVPOR>

    <RCVPRN>aaaaaaaaaa</RCVPRN>

  </EDI_DC40>

  <E1EDK01 SEGMENT="1">

    <BSART>ZOPE</BSART>

    <LIFSK>03</LIFSK>

  </E1EDK01>

  <E1EDK14 SEGMENT="1">

    <QUALF>006</QUALF>

    <ORGID>20</ORGID>

Viewing all 3125 articles
Browse latest View live


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