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

ano

$
0
0

creation of  dynamic internal table with two  methods

1. call method cl_alv_table=>create _dynamic_table

 

2. DATA: wr_struct_descr TYPE REF TO cl_abap_structdescr,

              wr_tab_descr TYPE REF TO cl_abap_tabledescr.

which method is correct to follow


Re: XML format of IDOC

Re: why ADODB.connection can not be used in background?

$
0
0

Hello Jin,

 

you can create your own SAP server application, look here for an example.
Inside your SAP server application you can expose the functions to create an object, to call a method or to set and get a property, to use this functionalities with SAP background processes.
For that offers FreeBASIC an external library called disphelper. You can wrap this functions in your SAP server application and voila your Problem should be solved.

 

Cheers

Stefan


FM IDOC_XML_FROM_FILE - Athorization Issue

$
0
0

Hi Experts,

 

We are creating an IDOC using the FM IDOC_XML_FROM_FILE with the option to be triggered immediately.  The IDOC falls in error with the message 'No maintenance authorization for shipping point &'.

 

We have checked all the authorizations of the user and these are OK.  The user is able to update the delivery on VL02N but not via the IDOC.

 

Could you please help?

 

Thanks,

Vitish.

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.

WSDL generation

$
0
0

    
Hi,

 

SAP always generates sequence definitions in WSDL like this:

 

    <xsd:sequence>

     <xsd:element name="item" type=...

    </xsd:sequence>

 

so that sequences in messages look like in this example:

 

         <Errors>

            <item>

               ...

           </item>

            <item>

               ...

           </item>

         </Errors>

 

Is there any way to control wsdl generation to have different item tags in different sequece type definitions.

 

         <Errors>

            <error>

               ...

or

         <Materials>

            <material>

               ...

 

Thanks,

Victor

Re: FM IDOC_XML_FROM_FILE - Athorization Issue

$
0
0

Hello Vitish,

 

Did you see any authorization failed in SU53.

Re: FM IDOC_XML_FROM_FILE - Athorization Issue

$
0
0

Hi Jitendra,

 

Yes.  We have checked SU53 and the user has all authorizations.  Even on ST01 we do not find where the authorization check is done.

 

Regards,

Vitish.


table name to display status for maintenance plan with active /inactive status

$
0
0

i need status table which display only active/inactive status of the maintenance plan.

Re: table name to display status for maintenance plan with active /inactive status

Inbound IDoc ORDERS05 : PO Rejection Indicator Issue

$
0
0

Hello,

 

We are receiving idoc ORDERS05 with message type ORDRSP from vendor(PO Confirmation) with 003 as ACTION in field E1EDP01-Action.

 

but still rejection indicator for PO item is not getting Set.Hence we see PO item is not marked deleted.

 

Could you please suggest what we are missing ?

Outbound IDOC - Send Copy Different Port

$
0
0

Hi experts,

 

It is my first time handling IDOC's, só excuse me if is simple.
I have been looking through the forum and didn't find the exact requirement as I have.

 

We have a IDOC comunication between two SAP Machines by RFC conection. But when the communications are down, we will copy the original IDOC and change the PORT only to be a XML port.

I have done it through the WE19, change the port and Process it and it goes OK.

 

But in ABAP, I'm using FM IDOC_READ_COMPLETELY  to read the Original and change the PORT on the IDOC Control. Then the FM BAPI_IDOC_INPUT1 to insert the IDOC but it keeps not working. I have tryed clear the IDOC number, give him a new IDOC number, etc etc ..
Any tips would be welcome.
Thank you.

PO creation through third system

$
0
0

Hi Friends,

 

We have one process wherein PO is created in thirdparty system & that is being created in SAP through RFC call. Middleware used is Biztalk.

Now we have new third party system ( BOL) which need to do same job of PO creation. I want to know how process flows while integrating third party system to SAP .What are the details I will require from tool BOL etc. Is there any standard process which I can follow to get this done.

 

Thanks,

Kiran

Re: PO creation through third system

$
0
0


Hi,

 

The fields which are in ME21N screen ( EKPO/EKKO ) FIELDS will need to get to flow into SAP .

 

Regards,

Re: PO creation through third system

$
0
0

Kiran,

For a PO to be created you need to have the following data

Document type,Comp code, Purch Org, Purch Grp, Material code, Qty, UOM, Net price, Additional charges if any, delivery date.

Please create a Custom Table with the above fields in your SAP system. you need to obtain the above data from your third party system through your middle ware system Biz Talk, and store the data in respective fields Please include date and time in the Custom table as fields.

Create a separate program in SAP system with Date and Time as selection fields.

 

The program should call PO creation BAPI and create a PO in SAP system.

 

You need to discuss and decide on the timings of the Interface and run the program as a Background Job to create PO in SAP system.

 

Hope this helps you.

 

Raghavan


Re: Disable ZMMH1 and use BMMH1 in LSMW

$
0
0

Did you have to regenerate any of the programs that OSS Note 44410 originally specified to do when implementing structure ZMMH1?

 

I'm considering doing the same thing you are (deactivating ZMMH1), but when I look in program RMDATIND, I see generated code in include RMDATINZ for the structure ZMMH1.  Just curious if you regenerated programs after you disabled the structure, and if the code for ZMMH1 went away.

Re: Disable ZMMH1 and use BMMH1 in LSMW

$
0
0

I'm using program RMDATIND with lsmw. I did not regenerate this program. But in LSMW I hat to set the following value:

BMMH1-STYPE = '2'.

 

The old value in this field was 'Z'. After I have changed the value to '2', the original structure is used.

Re: Disable ZMMH1 and use BMMH1 in LSMW

$
0
0

Thanks,  I saw that in the code in an "If" statement.  Makes sense now that the value in BMMH1-STYPE can control the program flow, too.

Re: table name to display status for maintenance plan with active /inactive status

$
0
0

really it helps me ..........

 

thanks raymond 

 

 

 

 

regards,

priya

table name to display the full name of user

$
0
0

i need a  table for creating report in maintenance plan , which display the users full name instead of userid.

 

 

 

 

 

regards,

priya

Viewing all 3125 articles
Browse latest View live