cancel
Showing results for 
Search instead for 
Did you mean: 

Setting HTML mash-Up parameter after skipping initial screen

Hi Experts,

I'm successfully calling a ERP T-Code VA21 via HTML mash-up and need to assign a parameter which is not taking part in iniatial screen of VA21. When I click enter and go to next screen in order to fullfill the fields and create the quoatiton, relevant parameter can not be passed to the required field (var par2 = "%20VBKD-BSTKD=Test) since I already skipped the initial screen and field->BSTKD is not taking place there.

Is there any way to pass parameter value to the required field after skipping initial screen via HTML mash-up? You can check my coding below.

<!DOCTYPE html>

<html>

<head>

<title>Launch App</title>

</head>

<body>

<button onclick="myFunction()">Create Quotation</button>

<script type="text/javascript">

function myFunction() {

var par = "&~transaction=VA21";

var par1 = "%20VBAK-AUART=ZA01";

var par2 = "%20VBKD-BSTKD=Test";

var url = "https://xxxx.com/sap/bc/gui/sap/its/webgui?sap-Client=100"+par+par1+par2;

window.open(url,"_blank","height=800,width=800,top=400,left=400");

}

</script>

</body>

</html>

0 Kudos

Is there any comment on this?

Accepted Solutions (0)

Answers (0)