Quantcast
Channel: SCN : All Content - All Communities
Viewing all articles
Browse latest Browse all 8800

How to Update the Maintain Activity Log for Documents using RFC

$
0
0

Hello all SAP Masters Here,

 

This is Rajnish Dubey and you are my last hope to solve my problem.

 

I have stuck at one place to update the Maintain Activity Log for the Contract.

Below is the Steps

 

SAP TC = SA38  -- > Z_RELATIONAL_VIEWER -> Enter the Documents Number and Execute --> Select the Doc and Uodate the Activity Log.

 

In Activity Log we have 3 fields to update

 

1) Activity type

2) Description

3) is the TEXT field and here i have Problem. I am not able to call this field in my Code. Below is the Code

 

 

add_bdcdata BdcTable, "SAPMS38M", "0101", "X", "", ""

add_bdcdata BdcTable, "", "", "", "BDC_CURSOR", "RS38M-PROGRAMM"

add_bdcdata BdcTable, "", "", "", "BDC_OKCODE", "=STRT"

add_bdcdata BdcTable, "", "", "", "RS38M-PROGRAMM", "z_relational_viewer"

 

Then ..................

.....................

................

 

 

add_bdcdata BdcTable, "SAPLZMISC", "0100", "X", "", ""

add_bdcdata BdcTable, "", "", "", "ZACTIVITY_SCREEN-TYPE", "INPUT as per User"

add_bdcdata BdcTable, "", "", "", "ZACTIVITY_SCREEN-TEXT", "Input as per user"

???????????????????????????????/

add_bdcdata BdcTable, "", "", "", "BDC_OKCODE", "=SAVE"

 

Before the SAVE ,i need to update the Text value with two lines data.

 

Can you one help me in solving this issues.

 

I have attached the Screen print to understand. Also the Code is attached.

 

Thanks,

Rajnish Dubey


Viewing all articles
Browse latest Browse all 8800

Trending Articles